Starting your first server: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary
No edit summary
Line 38: Line 38:
|-
|-
| style="padding:10px;" |
| style="padding:10px;" |
* 1. Open terminal.
* 1. Open terminal (You can use PuTTy).
* 2. Locate the directory you want to extract the server <pre> cd /home/vcmpserver/</pre>
* 2. Create a new user for the server (You can skip this but it is highly recommended that you do). <pre>sudo useradd -d /home/vcmpserver -m vcmp</pre>
* 3. Download the x64 server by pasting this in the terminal: <pre>wget https://s15.solidfilesusercontent.com/ZmZhODEzZjc0YTlmYTgxYmU1NjczMGYwNGFmZGMyZGQ5MjJiMTJjZToxWGt2SGE6TndoTW1hTF9jSGs3bVVObklsMUltMmlhZkJ3/d85d767723/vcmp04linux64.zip</pre>
* 2. Now disconnect and login with the new user account and make sure you're on this directory <pre> /home/vcmpserver/</pre>
           Download the x86 server by pasting this in the terminal <pre>wget https://s3.solidfilesusercontent.com/NDAwODdhNGRkNjI2MDFhMjAyZmMzM2QyMzllMmNhMGY1ZjNiNjU4ZDoxWGt2TGE6WkxpVC00Mk1WRTkxclVyMlBvemNjekFKdy1J/8d0f9b7fef/vcmp04linux32.zip</pre>
* 3. (FOR 64-bit USERS) Download the server by pasting this in the terminal: <pre>wget http://v04.maxorator.com/server/VCMP04_server_v15_linux64.zip</pre>
* 4. Unzip the server by typing: <pre> unzip vcmp04linux64.zip</pre> For 32 bit: <pre> unzip vcmp04linux32.zip</pre>
           (FOR 32-bit USERS) Download the x86 server by pasting this in the terminal <pre>wget http://v04.maxorator.com/server/VCMP04_server_v15_linux32.zip</pre>
* 5. Open the server.conf file and change the server name using: <pre> nano server.conf</pre>
* 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip): <pre> unzip VCMP04_server_v15_linux64.zip</pre> For 32 bit: <pre> unzip VCMP04_server_v15_linux32.zip</pre>
* 6. Set permissions using <pre> chmod +x ./mpsvrrel64</pre> For 32 bit: <pre>.mpsvrrel64</pre>
* 4. Make a new directory for the plugins using: <pre> mkdir plugins </pre>
* 5. (FOR 64-bit USERS) Download the plugins pack: <pre> wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_linux.zip </pre>
    (FOR 32-bit USERS) Download the plugins pack: <pre> wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_linux.zip </pre>
* 6. Extract the plugins: <pre> unzip mp04rc2_plugins64_linux.zip OR mp04rc2_plugins32_linux.zip </pre>
* 7. Now go back to the server directory using: <pre> cd /home/vcmpserver </pre>
* 5. Open the server.conf file and change the server name and the rest of the stuff using nano (Press CTRL+X than Y to save and close it when done): <pre> nano server.conf</pre>
* 6. Set permissions using <pre> chmod +x ./mpsvrrel64</pre> For 32 bit: <pre>chmod +x ./mpsvrrel64</pre>
* 7. Run the server using <pre>./mpsvrrel64</pre> For 32bit: <pre>./mpsvrrel32</pre>
* 7. Run the server using <pre>./mpsvrrel64</pre> For 32bit: <pre>./mpsvrrel32</pre>
To keep the server running after closing the terminal we'll use screen: <pre>screen ./mpsvrrel64</pre> For 32 bit: <pre>screen ./mpsvrrel32</pre>
To keep the server running after closing the terminal we'll use screen: <pre>screen ./mpsvrrel64</pre> For 32-bit: <pre>screen ./mpsvrrel32</pre>
TO CREATE A NEW DIRECTORY: mkdir vcmpserver
To view the server console after you've closed the terminal once use: <pre>screen -r</pre>
IF YOU CAN'T UNZIP: sudo apt-get install unzip
To close the server press while viewing the console: <pre>CTRL+C</pre>
(IN CASE YOU'RE USING THE ROOT USER MAKE A NEW DIRECTORY FOR THE SERVER USING: mkdir vcmpserver)
</div>
</div>
|}
|}

Revision as of 06:48, 8 August 2015

Windows Server

Learn how to start a Windows server following these simple steps.


Linux Server

Learn how to start a Linux server following these simple steps.

  • 1. Open terminal (You can use PuTTy).
  • 2. Create a new user for the server (You can skip this but it is highly recommended that you do).
    sudo useradd -d /home/vcmpserver -m vcmp
  • 2. Now disconnect and login with the new user account and make sure you're on this directory
     /home/vcmpserver/
  • 3. (FOR 64-bit USERS) Download the server by pasting this in the terminal:
    wget http://v04.maxorator.com/server/VCMP04_server_v15_linux64.zip
(FOR 32-bit USERS) Download the x86 server by pasting this in the terminal
wget http://v04.maxorator.com/server/VCMP04_server_v15_linux32.zip
  • 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip):
     unzip VCMP04_server_v15_linux64.zip
    For 32 bit:
     unzip VCMP04_server_v15_linux32.zip
  • 4. Make a new directory for the plugins using:
     mkdir plugins 
  • 5. (FOR 64-bit USERS) Download the plugins pack:
     wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins64_linux.zip 
(FOR 32-bit USERS) Download the plugins pack:
 wget http://v04.maxorator.com/files/plugins/mp04rc2_plugins32_linux.zip 
  • 6. Extract the plugins:
     unzip mp04rc2_plugins64_linux.zip OR mp04rc2_plugins32_linux.zip 
  • 7. Now go back to the server directory using:
     cd /home/vcmpserver 
  • 5. Open the server.conf file and change the server name and the rest of the stuff using nano (Press CTRL+X than Y to save and close it when done):
     nano server.conf
  • 6. Set permissions using
     chmod +x ./mpsvrrel64
    For 32 bit:
    chmod +x ./mpsvrrel64
  • 7. Run the server using
    ./mpsvrrel64
    For 32bit:
    ./mpsvrrel32
To keep the server running after closing the terminal we'll use screen:
screen ./mpsvrrel64
For 32-bit:
screen ./mpsvrrel32
To view the server console after you've closed the terminal once use:
screen -r
To close the server press while viewing the console:
CTRL+C

(IN CASE YOU'RE USING THE ROOT USER MAKE A NEW DIRECTORY FOR THE SERVER USING: mkdir vcmpserver)