Hi,
how can i start a mulitplayer server in Debian ?.
Is there somewhere a step by step Howto ?.
greetings
Lakuf
Starting a Mulitplayer Server over Debian
Re: Starting a Mulitplayer Server over Debian
There is a step-by-step guide on the wiki: https://forums.factorio.com/wiki/inde ... ess_server
I'm running a factorio server on debian 8.1 without problems.
Short guide how I did it:
I'm running a factorio server on debian 8.1 without problems.
Short guide how I did it:
- Download and extract the factorio x64 linux zip to the server
- Start factorio in server mode from the command line --> it will have missing libraries
- Install those libraries with apt-get
- Repeat until all libraries are installed and the server starts
Re: Starting a Mulitplayer Server over Debian
Thanks for the Info, i own a Debian 7 wheezy Root.
in Step 2 there was some errors, cant install .
I Will first try to update to Debian 8.1
in Step 2 there was some errors, cant install .
I Will first try to update to Debian 8.1
Re: Starting a Mulitplayer Server over Debian
It should work the same on debian 7 and 8.
I forgot to mention, you need to set the permissions for the factorio binary to executable, otherwise you get an error.
Just go into the x64 folder and run
Should you still have problems, post your error message here, that would help a lot.
I might write a short step-by-step sometime, because installation on a debian server with root should be just a few commands.
I forgot to mention, you need to set the permissions for the factorio binary to executable, otherwise you get an error.
Just go into the x64 folder and run
Code: Select all
chmod +x factorio
I might write a short step-by-step sometime, because installation on a debian server with root should be just a few commands.
-
- Inserter
- Posts: 45
- Joined: Thu Aug 27, 2015 4:37 pm
- Contact:
Re: Starting a Mulitplayer Server over Debian
If you get some errors about Xorg, try out the headless part. In essence you have to create dummy libraries for the graphic, audio and mouse pointer:
cd to your factorio/bin/x64/ directory and build those:
to run factorio with those dummy libraries instead of the system libraries run it using this, factorio/bin/x64/ should be the current directory:
that creates a new map, if you want to use an old one, for example "bestmap.zip" run
instead.
Hope that did help you
Fahrrad
code is from https://forums.factorio.com/forum/vie ... 53&t=14273
cd to your factorio/bin/x64/ directory and build those:
Code: Select all
echo 'void*XOpenDisplay(){return 0;}int XInitThreads(){return 1;}' > x.c && cc -shared -o libX11.so.6 x.c && touch empty.c && for i in libXext.so.6 libXfixes.so.3 libXcursor.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libGL.so.1 libXi.so.6 libXcursor.so.1; do cc -shared -o $i empty.c; done
Code: Select all
LD_LIBRARY_PATH=. ./factorio --start-server --create mymap
Code: Select all
LD_LIBRARY_PATH=. ./factorio --start-server bestmap
Hope that did help you
Fahrrad
code is from https://forums.factorio.com/forum/vie ... 53&t=14273