Forge Developers | Slack Search | Trello Board Changelog
|
Forge Networking Remastered has been released!!! This is now listed in your Profile!
Go Back

Headless Linux Server

The very first thing that needs to be done is to create a headless linux build of your server.

  1. Select Linux
  2. Select Build Version
  3. Turn on Headless Mode

Upload the Build

Take all of the contents that were output by the build and upload them to your server via FTP or SFTP.


Make File Executable

First you will need to make the file executable before you are able to run it. You can do this with the following:
sudo chmod +x FILE_NAME
Remember to replace "FILE_NAME" with your exported file name. If you exported with the name "Pickles" then the file will probably be named "Pickles.x86" in which case your command would look like: sudo chmod +x Pickles.x86


Run the Server

You can run the server by typing the following:
./FILE_NAME
Remember to replace "FILE_NAME" with the name of your build (the file in the previous example).


Possible Errors

If this is a new Ubuntu Server setup then you are probably missing a few of the required libraries in order to run the program. The following are possible errors and their solutions.

No such file or directory

This means you are not able to run the i386 (intel 32-bit) applications yet. TO get the required libraries to run these programs you will need to run the following command.
apt-get install libc6-i386

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

This means you are missing some of the required libs for running 32-bit applications. To be able to run these libraries you will need to run the following command.
apt-get install lib32stdc++6


It Runs but I can't Connect

This is probably because you firewall is blocking the specified port
sudo iptables -I INPUT 1 -p udp --dport PORT_NUMBER -j ACCEPT
sudo iptables -I INPUT 1 -p tcp --dport PORT_NUMBER -j ACCEPT

You will need to replace "PORT_NUMBER" with the port number you have specified in your server build. Also note that you only need to run one of these commands (probably the "udp" one). If you did not change the port number that is default for Forge Networking, then the "PORT_NUMBER" can probably be replaced with the number 15937

Title

Body

Title

Body


Input:

Title

Body


Input: