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
 
(19 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Main Page giant banner}}
{{Main Page giant banner}}
 
<br />
{{VCMPLangs
| title=Starting your first server
| ro=Starting_your_first_server/ro
| hu=Starting_your_first_server/hu
}}
<br />
{| style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0"
{| style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0"
|-
|-
Line 10: Line 16:
| style="padding:10px;" |
| style="padding:10px;" |
Learn how to start a Windows server following these simple steps.
Learn how to start a Windows server following these simple steps.
</div>
</div>
|-
|}
|}
{| style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0"
{| style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0"
| style="width:auto; background:#FEFBF6; border:1px solid #79542B;" valign="top" |
| style="width:auto; background:#FEFBF6; border:1px solid #79542B;" valign="top" |
Line 20: Line 23:
|-
|-
| style="padding:10px;" |
| style="padding:10px;" |
* 1. Download the blank server: http://forum.vc-mp.org/?topic=33.0
* 1. [http://forum.vc-mp.org/?topic=33.0 Download] the blank server.
* 2. Open the server.conf file and change your server name.
* 2. [https://bitbucket.org/stormeus Download] and update the plugins
* 3. Run server.exe
* 3. Open the ''server.cfg'' file and change your server name.
* 4. Run ''server.exe''
* 5. The server can't be accesed from the Internet, you will need to open the server's port
|-
</div>
</div>


<div id="mf-index1">
 
{| style="padding:0; width:100%;" |  
{| style="padding:0; width:100%;" |  
! class="mp-content-header mp-title-gradient" | Linux Server
! class="mp-content-header mp-title-gradient" | Linux Server
|-
|-
| style="padding:10px;" |
| style="padding:10px;" |
Learn how to start a Windows server following these simple steps.
Learn how to start a Linux server following these simple steps.
 
</div>
|-
|-
|}
|}
Line 41: Line 45:
|-
|-
| style="padding:10px;" |
| style="padding:10px;" |
* 1. Open terminal.
* 1. Open terminal (You can use [https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe 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.
* 4. Unzip the server by typing: <pre> unzip vcmp04linux64.zip</pre> For 32 bit: <pre> unzip vcmp04linux32.zip</pre>
** (FOR 64-bit USERS) Download the server by pasting this in the terminal: <pre>wget http://v04.maxorator.com/server/VCMP04_server_v22_linux64.zip</pre>
* 5. Open the server.conf file and change the server name using: <pre> nano server.conf</pre>
** (FOR 32-bit USERS) Download the x86 server by pasting this in the terminal <pre>wget http://v04.maxorator.com/server/VCMP04_server_v22_linux32.zip</pre>
* 6. Set permissions using <pre> chmod +x ./mpsvrrel64</pre> For 32 bit: <pre>.mpsvrrel64</pre>
* 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip):
* 7. Run the server using <pre>./mpsvrrel64</pre> For 32bit: <pre>./mpsvrrel32</pre>
** For 64 bit: <pre> unzip VCMP04_server_v22_linux64.zip</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>
** For 32 bit: <pre> unzip VCMP04_server_v22_linux32.zip</pre>
IF YOU'RE THE ROOT USER USE <pre>screen ./mpsvrrel64 -allow-server-runas-root</pre>  
* 5. Make a new directory for the plugins using: <pre> mkdir plugins </pre>
* 6.
** (FOR 64-bit USERS) Download the plugins pack: <pre style="white-space:pre-wrap">wget http://files.thijn.ovh/download/e28b0ee6d2fe39afd019245258507290/vcmp_04rel004_lin64-plug_170220.zip</pre>
** (FOR 32-bit USERS) Download the plugins pack: <pre style="white-space:pre-wrap">wget  http://files.thijn.ovh/download/504c5023ed34f9d655039d2003ca4fa2/vcmp_04rel004_lin32-plug_170220.zip</pre>
* 7. Extract the plugins: <pre style="white-space:pre-wrap">unzip vcmp_04rel004_lin64-plug_170220.zip OR unzip vcmp_04rel004_lin32-plug_170220.zip</pre>
* 8. Now go back to the server directory using: <pre> cd /home/vcmpserver </pre>
* 9. Open the ''server.cfg'' 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.cfg</pre>
* 10. Set permissions using
** For 64 bit:<pre> chmod +x ./mpsvrrel64</pre>
** For 32 bit: <pre>chmod +x ./mpsvrrel32</pre>
* 12. Run the server using
** For 64 bit: <pre>./mpsvrrel64</pre>
** For 32bit: <pre>./mpsvrrel32</pre>
To keep the server running after closing the terminal we'll use '''screen'''
* For 64 bit: <pre>screen ./mpsvrrel64</pre>
* For 32-bit: <pre>screen ./mpsvrrel32</pre>
To view the server console after you've closed the terminal once use: <pre>screen -r</pre>
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>
|}
|}

Latest revision as of 16:33, 11 March 2019


Languages: "Magyar" "Românesc"


Windows Server

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


  • 1. Download the blank server.
  • 2. Download and update the plugins
  • 3. Open the server.cfg file and change your server name.
  • 4. Run server.exe
  • 5. The server can't be accesed from the Internet, you will need to open the server's port
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_v22_linux64.zip
    • (FOR 32-bit USERS) Download the x86 server by pasting this in the terminal
      wget http://v04.maxorator.com/server/VCMP04_server_v22_linux32.zip
  • 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip):
    • For 64 bit:
       unzip VCMP04_server_v22_linux64.zip
    • For 32 bit:
       unzip VCMP04_server_v22_linux32.zip
  • 5. Make a new directory for the plugins using:
     mkdir plugins 
  • 6.
    • (FOR 64-bit USERS) Download the plugins pack:
      wget http://files.thijn.ovh/download/e28b0ee6d2fe39afd019245258507290/vcmp_04rel004_lin64-plug_170220.zip
    • (FOR 32-bit USERS) Download the plugins pack:
      wget  http://files.thijn.ovh/download/504c5023ed34f9d655039d2003ca4fa2/vcmp_04rel004_lin32-plug_170220.zip
  • 7. Extract the plugins:
    unzip vcmp_04rel004_lin64-plug_170220.zip OR unzip vcmp_04rel004_lin32-plug_170220.zip
  • 8. Now go back to the server directory using:
     cd /home/vcmpserver 
  • 9. Open the server.cfg 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.cfg
  • 10. Set permissions using
    • For 64 bit:
       chmod +x ./mpsvrrel64
    • For 32 bit:
      chmod +x ./mpsvrrel32
  • 12. Run the server using
    • For 64 bit:
      ./mpsvrrel64
    • For 32bit:
      ./mpsvrrel32

To keep the server running after closing the terminal we'll use screen

  • For 64 bit:
    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)