Assetto Corsa is one of the most popular racing simulators, offering a realistic driving experience with a wide variety of cars, tracks, and multiplayer modes. If you're interested in hosting your own Assetto Corsa dedicated server, this guide will walk you through the installation and configuration process on AnonVM hosting. Hosting your own server allows you to control the racing environment, customize track lists, and create private or public racing events.
Prerequisites
Before starting the installation, ensure you have:
- A VPS from AnonVM with at least 4 GB of RAM, 2 CPU cores, and 20 GB of storage.
- SSH access to your VPS.
- Basic knowledge of Linux commands.
- SteamCMD installed (or follow our previous guides to install it).
Step 1: Access Your AnonVM VPS
- Log in to your AnonVM account and access your VPS.
- Use an SSH client like PuTTY (on Windows) or your terminal (Linux/Mac) to connect to your VPS:
your-vps-ip
with the actual IP address of your VPS, and enter your password when prompted.
Replace
Step 2: Install Required Dependencies
Assetto Corsa requires certain libraries and utilities to run.
-
Update your system:
-
Install necessary libraries:
These libraries ensure that your server runs smoothly.
Step 3: Install SteamCMD
SteamCMD is the tool you'll use to install the Assetto Corsa server files.
-
Create a directory for SteamCMD:
-
Download and extract SteamCMD:
-
Verify the installation:
You should see the SteamCMD console. Type
quit
to exit the console.
Step 4: Download Assetto Corsa Server Files
-
Log in to SteamCMD:
-
Set the installation directory for the Assetto Corsa server:
-
Download the Assetto Corsa server files:
The server files will now be downloaded to the specified directory. This may take some time depending on your internet speed.
Step 5: Configure the Assetto Corsa Server
Once the files are installed, you need to configure your server settings.
-
Navigate to the server directory:
-
Edit the
server.cfg
file: Open theserver.cfg
file with a text editor likenano
:Key settings you may want to modify:
- NAME: Set the name of your server.
- PASSWORD: (Optional) Set a password to secure your server.
- PORT: Set the port number for the server to run on (default is 9600).
- TRACK: Choose the default track for your server.
- MAX_CLIENTS: Set the maximum number of players that can join your server.
- ADMIN_PASSWORD: (Optional) Set a password for admin access.
Save the file by pressing
CTRL + X
, thenY
to confirm.
Step 6: Open Required Ports
For players to connect to your Assetto Corsa server, you need to open the necessary ports.
-
Open the required ports: The default port for Assetto Corsa servers is
9600
. Open this port using the following commands:This allows incoming traffic on the port required by your server.
Step 7: Start the Assetto Corsa Server
Once your server is configured, it's time to start it.
-
Start the server in a screen session: Using a screen session allows the server to run in the background, even if you disconnect from the SSH session.
-
Run the server: Start the Assetto Corsa server with the following command:
-
Detach from the screen session: To detach from the screen session, press
CTRL + A
, thenD
. This will keep the server running in the background. -
Reattach to the screen session: If you need to see the server console, run:
Step 8: Connect to Your Server
To join your Assetto Corsa server from the game client:
- Launch Assetto Corsa and go to the Multiplayer section.
- Use the Direct Connect option and enter your server’s IP address and port (
your-vps-ip:9600
). - If you set a password, you will be prompted to enter it.
Step 9: Update Your Server
To keep your server up to date, use the following steps:
-
Log in to SteamCMD:
-
Check for updates:
This will update your server to the latest version.
Conclusion
Congratulations! You've successfully set up an Assetto Corsa dedicated server on AnonVM. Hosting your own server allows you to customize the racing experience, control player settings, and have fun with friends or the community. Be sure to keep your server updated and check for any new mods or tracks to enhance your racing experience.