How to Create Your Own Game Server Print

  • Game server, setup game server, setup gameserver, rust, games, game hosting, gamehosting, ryzen, ryzenhosting, Rust, CSGO, csgo, csgo server, rust server, steam, gaming
  • 1

If you want to set up your own game server, like for Rust, here’s the easiest way to do it.

 

Linux Game Server Managers (https://linuxgsm.com/)

---    1) Check Compatibility:    ---

Go to the LGSM (https://linuxgsm.com/servers/) website.

Select Rust and ensure your server meets the requirements (at least 12 GB of RAM).

 

---     2) Create a New User:    ---

Log in to your VPS as root.

Create a new user, for example, rustserver:

 

    adduser rustserver    

 

Set a strong password. If it asks for additional information like a phone number or email, just press Enter.

 

---    3) Grant Root Permissions:    ---

Add the new user to the sudo group:

 

    usermod -aG sudo rustserver

 

Alternatively, you can manually edit the /etc/sudoers file to give root permissions:

 

    sudo nano /etc/sudoers

 

Add this line below root ALL=(ALL:ALL) ALL:

 

    rustserver ALL=(ALL:ALL) ALL

 

---    4) Switch to the New User:    ---

 

Log in as the new user:

 

    su rustserver    

 

---    5) Download and Install LGSM:    ---

Download the LGSM script:

 

    curl -Lo linuxgsm.sh https://linuxgsm.sh/ && chmod +x linuxgsm.sh && bash linuxgsm.sh rustserver

 

Run the installer:

 

    ./rustserver install  

 

LGSM will automatically download the necessary dependencies. When prompted, type Y to confirm.

 

---    6) Manage Your Server    ---

After installation, you can manage your server by typing:

 

    ./rustserver    

 

This will show you the available commands and options.

 

---    7) Start Your Rust Server:    ---

To start your server, use the command:

 

    ./rustserver st 

 

Or:

 

    ./rustserver start

 

WARNING: If you will type /rustserver console and you press ctrl+c your server will turn off, if you want to exit from console press CTRL+B and then press D.

 

If you encounter any issues, you can refer to the LGSM Rust documentation (https://docs.linuxgsm.com/game-servers/rust) or the (https://wiki.facepunch.com/rust) 


Was this answer helpful?

« Back