Starting your first server: Difference between revisions
Jump to navigation
Jump to search
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. | * 1. [http://forum.vc-mp.org/?topic=33.0 Download] the blank server. | ||
* 2. Open the server. | * 2. [https://bitbucket.org/stormeus 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 | |||
|- | |||
</div> | </div> | ||
{| 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 | Learn how to start a Linux server following these simple steps. | ||
|- | |- | ||
|} | |} | ||
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. | * 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 | * 2. Now disconnect and login with the new user account and make sure you're on this directory <pre> /home/vcmpserver/</pre> | ||
* 3. | |||
* 4. Unzip the server by typing: <pre> unzip | ** (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. | ** (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> | ||
* | * 4. Unzip the server by typing (If this doesn't work install unzip using: sudo apt-get install unzip): | ||
* | ** 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> | ||
* 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
|