secretssetr.blogg.se

Factorio download headless mirror
Factorio download headless mirror











factorio download headless mirror
  1. #Factorio download headless mirror install
  2. #Factorio download headless mirror update
  3. #Factorio download headless mirror software

home/gamemaster/factorio/bin/圆4/factorio -create /home/gamemaster/factorio/saves/initial.zip You can now either upload a savefile to the saves folder we created earlier (remember to pass ownership to gamemaster), or create a new randomly generated map: su gamemaster Give the gamemaster account ownership of all the files and folders we've created so far: chown gamemaster:gamemaster /home/gamemaster -R Now create a save file directory: mkdir /home/gamemaster/factorio/saves

#Factorio download headless mirror update

Now you can update like so: cd /home/gamemaster/factorio/bin/圆4 Then download the updater script (and make it executable) cd /home/gamemaster/factorio/bin/圆4

factorio download headless mirror

#Factorio download headless mirror install

First install the python packages needed: apt install python-pip For this, purpose the easiest way is to use the python updater script by GitHub user narc0tiq. If you intend to keep the server running for a while, you'll need to update it from time to time as new versions are released. It's a good idea to also put your own name in the section that lists permanent admins. You are still able to connect directly if you do not, which is fine if you're just wanting to play with a group of friends.

factorio download headless mirror

You need to provide your username and password (or token) here if you want to list the game in the public directory. Create a server settings file cd factorio/data/Ĭp server-settings.json Then just tab autocomplete tar xf factorio_ Now for the game installation: cd /home/gamemaster Then paste your ~/.ssh/id_rsa.pub in here. Nano /home/gamemaster/.ssh/authorized_keys Optionally, you can add your SSH public keys to this user's authorized SSH keys, if you want to log in and have a look at the factorio console log: mkdir /home/gamemaster/.ssh Now add a user (without root/sudo privileges) which will be running the game: adduser gamemaster The next bit is optional, but I always set the server time zone to my own time zone, as that makes it easier for me to read the log files: dpkg-reconfigure tzdata Update the server's installed packages: apt-get updateĪllow SSH and Factorio connections: ufw allow opensshĪutomatically ban login attempt which repeatedly tries to log in using common passwords (botnets): apt-get install -y fail2ban First order of business is to secure the server with a firewall, and discourage bot networks from spamming your server with login attempt. All you need is a root SSH shell to your server after provisioning it.Īfter you've created a virtual private server, log in using SSH and the root account. Since I already have an account with Digital Ocean, I typically use them, but you are completely free to use whatever service provider you like the best. There are many cloud providers nowadays, Vulture, Digital Ocean, Amazon, Azure, etc.

factorio download headless mirror

Start by setting up an Ubuntu VPS somewhere.

#Factorio download headless mirror software

But I like the feeling of this approach, as I don't have to put any more software on my server than strictly necessary, and I don't really think 5 minutes is that much of a deal. This typically makes 5 to 10 minutes to do, so if you're goring for pure speed, the Docker images for Factorio are much faster. I've created a few headless Factorio servers on Ubuntu VPS's recently and I thought I'd share my workflow, both as inspiration to others wanting to try setting up a headless server, and to get feedback from the community if I've made some glaring mistake I need to fix.













Factorio download headless mirror