serveroffer.lt forum


Rust žaidimo serveris Linux VPS

Žaidimų serverių pamokos

Rust žaidimo serveris Linux VPS

Postby serveroffer » 2017 Apr 03, 18:38

Minmalūs reikalavimai:
3.5 GB RAM, 10 GB disko vietos
Pamoka skirta naujai įrašytai Linux Debian 8 (jessie) 64-bit
Serverio įrašymas.
1. Prisijungiame prie VPS (root) ir sukuriame steam vartotoją.
Code: Select all
useradd -m steam

2. Prisijungiame prie naujai sukurto vartotojo
Code: Select all
su - steam

3. Sukuriame steam aplanką
Code: Select all
mkdir ~/Steam && cd ~/Steam

4. Atsisiunčiame steamCMD
Code: Select all
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz --no-check-certificate

5. Išskleidžiame steamCMD
Code: Select all
tar zxvf steamcmd_linux.tar.gz

6. Įrašome biblioteką reikalingą steamCMD veikti
Code: Select all
apt-get install lib32gcc1 -y

6. Atsiunčiame Rust Server failus
Code: Select all
./steamcmd.sh +login anonymous +force_install_dir rust_server +app_update 258550 validate +quit

7. Nurodome serverio bibliotekos vietą
Code: Select all
export LD_LIBRARY_PATH=/home/steam/Steam/rust_server:/home/steam/Steam/rust_server/RustDedicated:{$LD_LIBRARY_PATH} ;

8. Paleidžiame rust serverį
Code: Select all
cd /home/steam/Steam/rust_server && ./RustDedicated  -batchmode +server.ip 0.0.0.0 +server.port 28015 +server.tickrate 10 +server.hostname "Your Server Name" +server.identity "your_server_identity" +server.seed 793197 +server.maxplayers 50 +server.worldsize 3000 +server.saveinterval 600 +rcon.ip 0.0.0.0 +rcon.port 28016 +rcon.password "Your_Rcon_Password" -logfile logfilename.log &
User avatar
serveroffer
Site Admin
 
Posts: 28
Joined: 2012 Jun 16, 18:31

Return to Pamokos

Who is online

Users browsing this forum: No registered users and 1 guest

cron