Hosting an Opt-Server
Follow this guide to get your Opt-Server up and running.
PREREQUISITES. In order to host a PIFOP Optimization Server, you will need:
-
A PIFOP account with optimization server hosting enabled.
Use your Advanced free trial to set up your Optimization Server. - A Linux 64bit based system. Currently, we use Ubuntu 16.04 for testing, which is based on Linux 4.4. Any Linux distribution based on Linux version 4.4 or greater should be fine.
STEP 1. Download the PIFOP Optimization Server by clicking here, or use the command line:
> wget https://pifop.com/download/opt-server.zip
STEP 2. Extract it wherever you want, enter the extracted directory and start the Opt-Server.
> unzip opt-server.zip
> cd opt-server
> ./opt-server --start
STEP 3. The first time that you run the Opt-server you will be asked to give it a name.
> ./opt-server --start
Creating configuration file "config.json". (press ctrl+c to exit)
Give your server a name: My Server
STEP 4. After your server connects to our central server, sign-in with your PIFOP account username and password.
Sign in with your PIFOP account: Username or email: username Password : Do you want to be remembered? (Y/n): y
STEP 5. After successful login, you should see a message saying that your server is now online, but that you still need to configure the commands supported by the Opt-Server.
Server "My Server" is now online.
You still have to configure the commands that this server can execute.
NEXT STEPS: At this point, a configuration file