mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 23:24:52 +09:00
Ubuntu install instructions added
This commit is contained in:
1 parent
aac101bad7
commit
af92716c77
1 file changed
+23
-1
@@ -48,7 +48,7 @@ There are no requirements for other mods, they can be ran in any configuration a
|
||||
|
||||
You can change the name and path expected in config.json if wanted.
|
||||
|
||||
3. node client.js [instancename]
|
||||
3. node client.js start [instancename]
|
||||
|
||||
Repeat step 3 for more servers on one machine. You should be able to find its port by looking at the console output or at the slave section on master:8080
|
||||
|
||||
@@ -59,3 +59,25 @@ Repeat step 3 for more servers on one machine. You should be able to find its po
|
||||
2. Drop it into ./factorio/mods
|
||||
|
||||
3. Run factorio and connect to slave as a normal MP game.
|
||||
|
||||
#Ubuntu setup
|
||||
|
||||
Master and all slaves:
|
||||
|
||||
sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - && sudo apt install -y git nodejs && git clone https://github.com/Danielv123/factorioClusterio.git && cd factorioClusterio && npm install
|
||||
|
||||
downloads and installs nodejs, git and clusterio.
|
||||
|
||||
**Master**
|
||||
|
||||
node master.js
|
||||
|
||||
**Slave**
|
||||
|
||||
Download factorio with curl. Make sure to insert the correct version number.
|
||||
|
||||
Start the slave with node client.js
|
||||
|
||||
curl -o factorio.tar.gz -L https://www.factorio.com/get-download/0.14.21/headless/linux64 && tar -xvzf factorio.tar.gz
|
||||
|
||||
node client.js start [instancename]
|
||||
Reference in new issue
Block a user