Creating an SCP: Secret Laboratory server on Linux
- This guide will help you create your own SCP: Secret Laboratory server on Linux (Ubuntu)
- Before installation, you must select and order a virtual server plan
- After ordering and activating the server, you can begin creating the SCP: SL Dedicated Server
- If you need assistance with installation, you can submit a request to technical support, and we will install the SCP: SL game server for free on your VDS.

Preparing to install the SCP: Secret Laboratory game server
Before installing a game server, you will need to install the necessary software and update the OS.
-
Install OS updates
- sudo apt update Install Mono
- sudo apt install ca-certificates gnupg
- sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
- echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
- sudo apt install mono-devel
You can install Mono add-ons, for example, to obtain debug symbols for the framework libraries, support PCL compilation, obtain SSL certificates, and run ASP.NET applications
- sudo apt install mono-complete
- sudo apt install mono-dbg
- sudo apt install referenceassemblies-pcl
- sudo apt install ca-certificates-mono
- sudo apt install mono-xsp4
Install Tmux.
- sudo apt-get install tmux
Install the repositories and dependencies (Multiverse repository and x86 packages).
- sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt install lib32gcc-s1; sudo apt update
Installing a game server under the root user is not recommended for security reasons, so you need to create a new user and switch to their level.
-
Create a user named "scpserver" (you will need to specify a user password when creating it)
- sudo adduser scpserver Go to user level
- su - scpserver
Installing SteamCMD
SteamCMD is required to install the SCP:SL server.
-
Create a directory for SteamCMD and navigate to it
- mkdir steamcmd
- cd steamcmd Download the SteamCMD installer and unzip it into the created directory
- curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
Installing the SCP: Secret Laboratory game server
Now you can proceed to installing the SCP:SL game server.
-
Launch SteamCMD (this will open the steamcmd console)
- ./steamcmd.sh Specify the directory where the game server will be installed
- force_install_dir /home/scpserver Log in to Steam
- login anonymous To install the server, use build ID SCP:SL 996560
- app_update 996560 Check that all files have downloaded correctly and are not damaged
- app_update 996560 validate Close the steamcmd console using the keyboard shortcut "Ctrl+C"
SCP: Secret Laboratory game server launch
Create a new session in Tmux (so that the game server remains running even if the SSH connection is closed).
-
Create a new session in Tmux
- tmux new -s scp Go to the directory with the installed game server
- cd /home/scpserver Run the game server using LocalAdmin, port 7777
- ./LocalAdmin 7777
Game server configuration
After installation, you can change the game server settings in the config_gameplay.txt file. The main parameters include "server_name" (the game server name that will be displayed in the list of public servers), "server_ip" (enter the IP address of your server), and "contact_email" (You can leave the email address blank, but if you want your game server to be listed in the public servers, you must enter your real email address, which you can use to verify your account).
-
File path /home/scpserver/.config/SCP Secret Laboratory/config/7777/config_gameplay.txt
In the config_remoteadmin.txt file, you can enter your Steam ID in the "owner" field to gain owner rights and manage the server through the Remote Admin panel, and also add the Steam ID in the "admin" field to grant the player administrator rights to the game server.
-
File path /home/scpserver/.config/SCP Secret Laboratory/config/7777/config_remoteadmin.txt
After completing the configuration file settings, restart the game server for the changes to take effect. This completes the server installation and basic setup. You can now play on your own SCP:SL online server.