This is a guide to remind myself of how to setup linux server for AC

[Assetto Corsa Content Manager]

Setup guides are as follows

Ubuntu 16.04 required

1
2
sudo apt-get update
sudo apt-get install lib32gcc1

following is needed for stracker

1
2
3
sudo apt-get install zlib1g:i386
sudo mkdir /home/steam
chown user: group /home/steam -R

use root!!

1
2
3
4
5
6
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

Getting into the steam console

1
2
3
4
5
6
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

configure track, cars, ports, name of host

1
vim /home/steam/assetto/cfg/server_cfg.ini

configure car list

1
vim /home/steam/assetto/cfg/entry_list.ini

start server

1
2
cd /home/steam/assetto
./acServer

to allow a port

1
sudo uff allow "portnumber"

to open a port range

1
sudo ufw allow “from”:”to”/tcp or sudo ufw allow “from”:”to”/udp

to attach screen in ubuntu server

1
screen -r ac