From IV:MP Wiki
- A Linux server with SSH access.
- Access to the internet.
- Forward port 9999 + 9998 (or the port you specify in the server config)
Installing the server
Create a new user to run the IVMP server
1. Login to root via SSH and create a new user to run the IVMP server. We recommend that you do not run the server under root access.
2. Type useradd ivmp into the SSH client. This will then create a new user on the server called ivmp. (This command may differ on different Linux distributions)
3. Change the password on the ivmp account by typing passwd ivmp You will then be prompted to enter a new password twice (Make sure this password is secure).
4. Login to the ivmp account on your server via SSH. You are now logged in using the new user account.
Downloading the IVMP linux server
- WARNING - The following steps may change as different versions of IVMP get released, as the name of the server tar will be different.
1. Check on the IV-Multiplayer homepage for the latest version of the IVMP server.
2. Type wget http://files.iv-multiplayer.co.uk/01/files/server/linux/IVMP-0.1-T3-R2-Server-Linux.tar.gz This will then download the Linux IVMP server package.
3. Type tar -zxvf IVMP-0.1-T3-R2-Server-Linux.tar.gz This will untar the IVMP linux server to IVMP-0.1-T3-R2-Server-Linux-glibc2.5
4. Type in cd IVMP-0.1-T3-R2-Server-Linux-glibc2.5 to change to the IVMP server folder.
5. type ls -l to view the contents of the server and make sure you can see ivmp-svr. If you can, you have successfully untarred the Linux server!
Configuring the IVMP server
1. Type in nano settings.xml. You will now be inside nano and will be able to edit the server settings.
2. Customise the settings file and then press CTRL + O to Write out (Save). It will then ask you to choose location, just press enter. It will then say Wrote ** Lines! To exit nano press CTRL + x
Running the IVMP server
Now that you have the IVMP server downloaded and configured, it's time to run the server and check that it all works!
There are a number of ways to start the server in linux, I will show you some of the methods you can use.
1. Type ./ivmp-srv - You will now see the server load and it will display all of the server logs on screen. This method will not keep your server online constantly. If you close SSH the server will also terminate. To exit from this method just type exit or press CTRL + c.
2. Using nohup ./ivmp-svr & - This will run the IVMP server as a background process and will log all of the servers output to 'nohup.out. If you close SSH or logout, the server will remain running.
If you are having issues following this guide or the IVMP server fails to run, please post on the IVMP forum under the Server Support section and a member of the community will be happy to help you!