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
mNo edit summary |
mNo edit summary |
||
Line 55: | Line 55: | ||
* 7. Now go back to the server directory using: <pre> cd /home/vcmpserver </pre> | * 7. Now go back to the server directory using: <pre> cd /home/vcmpserver </pre> | ||
* 5. 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> | * 5. 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> | ||
* 6. Set permissions using <pre> chmod +x ./mpsvrrel64</pre> For 32 bit: <pre>chmod +x ./mpsvrrel32</pre> | * 6. Set permissions using | ||
* 7. Run the server using <pre>./mpsvrrel64</pre> For 32bit: <pre>./mpsvrrel32</pre> | ** For 64 bit:<pre> chmod +x ./mpsvrrel64</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>chmod +x ./mpsvrrel32</pre> | ||
* 7. 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 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> | To close the server press while viewing the console: <pre>CTRL+C</pre> |
Revision as of 23:49, 20 February 2017
|