Update Rust Server Bazzite.txt
This commit is contained in:
1 parent
d0d161ff81
commit
fe18ff91a8
1 file changed
+3
-3
@@ -15,7 +15,7 @@ create -n rust-server --image ubuntu:22.04
|
|||||||
2. install steamcmd and rust in distrobox:
|
2. install steamcmd and rust in distrobox:
|
||||||
enter rust-server
|
enter rust-server
|
||||||
sudo apt update && sudo apt install -y software-properties-common lib32gcc-s1 lib32stdc++6 curl nano
|
sudo apt update && sudo apt install -y software-properties-common lib32gcc-s1 lib32stdc++6 curl nano
|
||||||
mkdir ~/steamcmd && cd ~/steamcmd
|
mkdir -p ~/rust_ds/steamcmd && cd ~/rust_ds/steamcmd
|
||||||
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
|
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
|
||||||
./steamcmd.sh +force_install_dir ~/rust_ds +login anonymous +app_update 258550 validate +quit
|
./steamcmd.sh +force_install_dir ~/rust_ds +login anonymous +app_update 258550 validate +quit
|
||||||
|
|
||||||
@@ -26,13 +26,13 @@ cat ~/rust_ds/start_server.sh
|
|||||||
|
|
||||||
# 1. Update server:
|
# 1. Update server:
|
||||||
echo "--- CHECKING FOR RUST UPDATES ---"
|
echo "--- CHECKING FOR RUST UPDATES ---"
|
||||||
~/steamcmd/steamcmd.sh +force_install_dir ~/rust_ds +login anonymous +app_update 258550 validate +quit
|
~/rust_ds/steamcmd/steamcmd.sh +force_install_dir ~/rust_ds +login anonymous +app_update 258550 validate +quit
|
||||||
echo "--- UPDATE CHECK COMPLETE ---"
|
echo "--- UPDATE CHECK COMPLETE ---"
|
||||||
|
|
||||||
# 2. Run the server:
|
# 2. Run the server:
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
||||||
cd ~/rust_ds
|
cd ~/rust_ds
|
||||||
./RustDedicated -batchmode -nographics -logfile /dev/stdout\
|
./RustDedicated -batchmode -nographics ~/rust_ds/rust_server_output.log \
|
||||||
+server.port 28015 \
|
+server.port 28015 \
|
||||||
+server.hostname "YOUR Rust Server" \
|
+server.hostname "YOUR Rust Server" \
|
||||||
+server.identity "YOUR_rust_server" \
|
+server.identity "YOUR_rust_server" \
|
||||||
|
|||||||
Reference in new issue
Block a user