Télécharger last headless : https://www.factorio.com/download
cd /opt<br/>
sudo tar -xzf ~/factorio_headless.tar.gz<br/>
cd factorio<br/>
sudo mkdir /opt/factorio/saves<br/>
sudo mkdir /opt/factorio/mods <br/>
sudo adduser --disabled-login --no-create-home --gecos factorio factorio<br/>
sudo chown -R factorio:factorio /opt/factorio<br/>
cd /opt/factorio/data<br/>
sudo cp server-settings.example.json server-settings.json<br/>
sudo vi server-settings.json<br/>
sudo su factorio<br/>
/opt/factorio/bin/x64/factorio --start-server-load-latest --server-settings /opt/factorio/data/server-settings.json
TODO
- The UDP port used for Factorio, default 34197, forwarded through your router. I won't go into how to do this here as it's a seperate tutorial in of itself, but you can easily Google "{routers model/manufacturer} port forward" and find the desired results.
- sudo chown -R factorio:factorio /opt/factorio
- sudo vi server-settings.json
public : false
require_user_verification : false