sudo python3 -m http.server 80

java -Xmx2G -Xms1024M -jar minecraft_server.jar nogui

wget https://factorio.com/get-download/latest/headless/linux64 -O factorio_headless.tar.xz

tar -xvf factorio_headless.tar.xz

./factorio/bin/x64/factorio --create save4

./bin/x64/factorio --start-server ~/factorio/saves/save1.zip --server-settings ./settings/settings1.json --config ./config/config1.ini --port 34197

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save1.zip --server-settings ./factorio/settings/settings1.json --config ./factorio/config/config1.ini --port 34197 --server-banlist ./factorio/banlist/banlist.json



./factorio/bin/x64/factorio --start-server ~/factorio/saves/save1.zip --server-settings ./factorio/settings/settings1.json --config ./factorio/config/config1.ini --port 34197

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save2.zip --server-settings ./factorio/settings/settings2.json --config ./factorio/config/config2.ini --port 34198

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save3.zip --server-settings ./factorio/settings/settings3.json --config ./factorio/config/config3.ini --port 34199

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save4.zip --server-settings ./factorio/settings/settings4.json --config ./factorio/config/config4.ini --port 34200



sudo swapon --show

sudo fallocate -l 6G /swapfile

sudo chmod 600 /swapfile

sudo mkswap /swapfile



./factorio/bin/x64/factorio --start-server ~/factorio/saves/save1.zip --server-settings ./factorio/settings/settings1.json --config ./factorio/config/config1.ini --port 34197 --server-banlist ./factorio/banlist/banlist.json --server-adminlist ./factorio/adminlist/adminlist.json

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save2.zip --server-settings ./factorio/settings/settings2.json --config ./factorio/config/config2.ini --port 34198 --server-banlist ./factorio/banlist/banlist.json --server-adminlist ./factorio/adminlist/adminlist.json

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save3.zip --server-settings ./factorio/settings/settings3.json --config ./factorio/config/config3.ini --port 34199 --server-banlist ./factorio/banlist/banlist.json --server-adminlist ./factorio/adminlist/adminlist.json

./factorio/bin/x64/factorio --start-server ~/factorio/saves/save4.zip --server-settings ./factorio/settings/settings4.json --config ./factorio/config/config4.ini --port 34200 --server-banlist ./factorio/banlist/banlist.json --server-adminlist ./factorio/adminlist/adminlist.json