Assetto Corsa

Assetto Corsa

View Stats:
MrSlow May 13, 2018 @ 10:54am
Dedicated Server setup on Linux -Ubuntu 16.04 +,
After running in trouble installing ACserver I thought I put a little guide together. My server is Ubuntu, but I think you can use it on any other linux distro. Only to install the needed 32 bit libraries you have to use the installation repositories and commands of your Linux ditribution.

Most Ubuntu installations today are 64bit.
As Steam is a 32 bit installation, first we have to install some 32 bit libraries to make the installation process work properly.
You can install it wherever you like, but I will explain it here as it would be installed in
/home/steam/ assetto/

sudo apt-get update sudo apt-get install lib32gcc1
The following library is needed for stracker, if used
sudo apt-get install zlib1g:i386 sudo mkdir /home/steam chown user: group /home/steam -R
use name and group of the user name and group with root rights. This is important, because sometimes the execution of ./steamcmd.sh aborts with an error, if there is no root permission to read from and write to steam subdirectories.
sudo chmod -R 755 /home/steam/ cd /home/steam wget http://media.steampowered.com/client/steamcmd_linux.tar.gz tar -xvf steamcmd_linux.tar.gz rm steamcmd_linux.tar.gz ./steamcmd.sh +@sSteamCmdForcePlatformType windows


You will get into the steam console

Steam> login <username>; Steam> passwd Steam> enter security code sent to you registration email of your steam account Steam> force_install_dir ./assetto Steam> app_update 302550 Steam> exit
to configure track, cars, ports, name of your AC host
nano /home/steam/assetto/cfg/server_cfg.ini
to configure your car list
nano /home/steam/assetto/cfg/entry_list.ini
start the server after configuration and needed ports are open with
./acServer

Ports you can open with
sudo ufw allow “portnumber”
or if you like to open a port range
sudo ufw allow “from”:”to”/tcp or sudo ufw allow “from”:”to”/udp
Last edited by MrSlow; May 13, 2018 @ 11:08am
< >
Showing 1-15 of 16 comments
Fent Barbarian Jun 7, 2019 @ 9:12am 
when running this on my ubuntu server i get:

$> app_update 302550
ERROR! Failed to install app '302550' (Invalid platform)
Originally posted by Chief Boyardee:
when running this on my ubuntu server i get:

$> app_update 302550
ERROR! Failed to install app '302550' (Invalid platform)

After a good hour or two of painfully figuring it out I thought I would post the answer to install the actual server.

If you have Assetto Corsa installed it should have a server folder in the game directory on your hard drive.

https://prnt.sc/pd0kf4

If you just copy this into your FTP (which you should have setup because it is very useful) it will do what the app_update would.

Then you are able to run the ./acServer after forwarding your ports, if you don't forward the ports the server will just fold itself and shut down.
Mikael Feb 4, 2020 @ 6:11pm 
Wanted to add some things.

Using Debian 10 I was able to get this to install but couldn't find the install directory.

SteamCMD force_install_dir doesn't actually "force" anything from what I can tell.

You'll find your app's installed under:

/home/[insert-username-here]/.steam/steamcmd/[insert-forced-directory-here]

Good luck.

Originally posted by Pizza Rolls:
when running this on my ubuntu server i get:

$> app_update 302550
ERROR! Failed to install app '302550' (Invalid platform)

You need to do this:

steamcmd +@sSteamCmdForcePlatformType windows

^ That is if you installed from repo

If you installed manually it's:

./steamcmd.sh +@sSteamCmdForcePlatformType windows
Last edited by Mikael; Feb 4, 2020 @ 6:23pm
NTU Feb 4, 2020 @ 7:20pm 
Using iptables or nftables instead of ufw would be better.
Enda Farrell Apr 10, 2020 @ 12:23pm 
I got this to work on my amazon aws Ubuntu server so happy days! I would like to get stracker set up on it but struggling to get it to work. Anyone got a step by step guide?
Originally posted by Enda Farrell:
I got this to work on my amazon aws Ubuntu server so happy days! I would like to get stracker set up on it but struggling to get it to work. Anyone got a step by step guide?

I would recommend installing the AC Server Manager from RaceDepartment. That should have STracker with a easy guide of installing it.
internetdief Dec 10, 2020 @ 7:19am 
And how do you create a second server?
Give this man a ♥♥♥♥♥♥♥ hero's award! Good ♥♥♥♥♥♥♥ citizen bro ♥♥♥♥ yeah thank you!
DaaN Dec 26, 2020 @ 10:04am 
Originally posted by NTU:
Using iptables or nftables instead of ufw would be better.

More specifically you should run:
$ sudo iptables -I INPUT -p tcp --dport 9600 -j ACCEPT $ sudo iptables -I INPUT -p udp --dport 9600 -j ACCEPT $ sudo iptables -I INPUT -p tcp --dport 8081 -j ACCEPT

...where the ports 9600 and 8081 are ports used on AC Server Manger by default. So, make sure your "server_cfg.ini" is configure properly.
Configuration example that matches the iptable[prnt.sc]
TadySK Feb 27, 2021 @ 11:39am 
not work
Lewis Hamilton Apr 27, 2021 @ 8:38am 
does anyone know how to stop the server xD
kirby Aug 28, 2021 @ 11:54am 
Originally posted by K4reemCheese:
does anyone know how to stop the server xD
just reboot the system =)
c2c2 Nov 14, 2021 @ 1:22pm 
Great post...three years later :steamthumbsup:
RageOfAquarius Nov 21, 2021 @ 1:35am 
Originally posted by K4reemCheese:
does anyone know how to stop the server xD
A bit late but, you can do a CTRL+z while server logs are appearing on your console window.
then you are able to write commands again, so "ps -aux" shows the process list, than kill the process with the correct PID
Last edited by RageOfAquarius; Nov 21, 2021 @ 1:39am
Graham.Pinkston Sep 11, 2022 @ 5:12am 
Hey I used this info to make an updated guide if you want to check it out:

https://steamcommunity.com/app/244210/discussions/0/3379410661803998266/
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: May 13, 2018 @ 10:54am
Posts: 16