Jump to content

HowTo - Linux Server Install


Geartwo

Recommended Posts

Important-Importante-Wichtig-重要-重要-важно
If you have no clue how to use, monitor and maintain Linux,
then you should use a professional gameserver hoster or
if you have to much time and leisure,
you should get first basic hosting skills.

CentOS 7 (RHEL, Fedora)

1. EPEL/screen/wget/curl Install

 yum -y install epel-release screen wget curl

2. Mono Install

yum -y install yum-utils
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
yum -y install mono mono-utils

3. Add the port to the firewall

  • firewalld
firewall-cmd --permanent --zone=public --add-port=42420/tcp
firewall-cmd --reload
  • iptables
iptables -A INPUT -p tcp -m tcp --dport 42420 -j ACCEPT

4. Download the game

  1. Goto http://account.vintagestory.at/downloads
  2. Copy the link of the newest "vs_server_*.*.*.tar.gz" package
  3. Enter in the console "wget" and parse the link

Hint: Make for VS a own directory the tar have no subfolder

5. Open TarGZ package

 tar -xzf vs_server_*.*.*.tar.gz

6. Make the server.sh executeable

chmod 755 server.sh

7. Edit server.sh file

USERNAME='<your-vs-server-username>'
VSPATH='<your-vs-directory>'

8. Server start and first steps

./server.sh start
# Wait for startup then you can give you OP
./server.sh command "/op <youusername>"

9. Connect to you IP/Domain and have fun

 

Link to comment
Share on other sites

  • 2 weeks later...

Just two remarks:

  • If the server has direct internet access (means reachable from the internet), it should be professionally managed (there are several hosting packages available) or it should be hardened and monitored. Both is of course not not the scope of Geatwo's howto.
  • There might be the case, that all files are marked as executable after extracting from the tar.gz. Please check and fix if needed: chmod -R a-x+X *
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.