Trying to setup a ARK server
Posted: 2019/09/12 10:22:04
Hello, I dont have too much experience with linux, let alone fully command based stuff.
Ive done a small amount with Ubuntu and Mint but i always end back up on windows due to not knowing how to get my games working.
So im wanting to setup a CentOS for game hosting since i keep hearing that windows hosted servers are really bad.
This guide i am using https://www.servermania.com/kb/articles ... -centos-7/
currently the problems i am running into are as follows
Bad argument `–sport'
or
Bad argument `27015'
and next
First line works
sysctl: cannot stat /proc/sys/"fs/file-max: No such file or directory
fs.file-max = 100000
fs.file-max = 100000
fs.file-max = 100000
Any help would be very appreciated
Ive done a small amount with Ubuntu and Mint but i always end back up on windows due to not knowing how to get my games working.
So im wanting to setup a CentOS for game hosting since i keep hearing that windows hosted servers are really bad.
This guide i am using https://www.servermania.com/kb/articles ... -centos-7/
currently the problems i am running into are as follows
Code: Select all
iptables -A INPUT -p udp -m udp -sport 27015 –dport 1025:65355 -j ACCEPT
or
Bad argument `27015'
and next
Code: Select all
echo "fs.file-max=100000" >> /etc/sysctl.conf
sysctl -p /etc/sysctl.conf
echo -e "* soft nofile 1000000\n* hard nofile 1000000" >> /etc/security/limits.conf
sysctl: cannot stat /proc/sys/"fs/file-max: No such file or directory
fs.file-max = 100000
fs.file-max = 100000
fs.file-max = 100000
Any help would be very appreciated