Newcomer install guide
Detailed guide for newcomers installing FairCom Products
This install guide is designed for clients new to FairCom products.
This install guide is designed for clients new to FairCom products. It provides more detailed instructions and procedures for installing FairCom's products.
Minimal requirements
Computer running Windows, Linux, Raspbian, or MacOS
1 GHz CPU
1 GB RAM
500 MB Disk space
You can install FairCom from a Windows Installer file (.msi
) or from a compressed file (.zip
). The procedures in this section are for Windows Installer. If you want to install from a .zip
file, see Use zip file.
Note
The installation process takes approximately five minutes depending on the download speed of your Internet connection.
This section explains how to run the FairCom server as a Windows service so it automatically starts when Windows starts.
Microsoft Windows supports background processes known as services that are handled differently by the operating system. Services may be configured to start automatically at system startup or to start manually by a user. Services have no user interface and can continue to run even when no users are logged on to the system. The operating system automatically terminates services at system shutdown or a user can manually terminate them.
To learn more about installing as a Windows service, see the topics in the section titled Install the Windows Service with FairComConfig.exe.
Installation
Download the FairCom server as a
.msi
file.Run the downloaded
.msi
file.When the Setup window appears, click .
After reading the license agreement select I accept the terms in the License Agreement.
Click
.In the Select Installation Folder window, select the installation location.
Note
The software can be installed in any folder that has, at least, 600 MB of disk space. The default and recommended location is the
C
drive in theFairCom
folder.Click
.Click
to install the FairCom server.Click
when Windows asks permission to install the server.Observe the progress of the installation in the Setup Wizard.
Note
Installation typically takes about one minute.
In the Setup window, check the View readme file checkbox.
Click
when the installation is complete.Note
The View readme file checkbox will cause the readme file to open in a web browser when the box is checked after clicking .
Observe the opened readme file.
Open FairCom's browser-based service in a Chrome-based web browser.
Observe the warning due to FairCom's server not configuring with a security certificate.
Note
For more information, see Enable HTTP on port 8080 and Manage certificate warnings.
Important
You must use
https
in the URL because FairCom products require the secure HTTPS protocol.Click somewhere on the browser page.
Type
thisisunsafe
to allow you to go to FairCom's browser apps where you can manage the server.
You can run the Windows Services application to stop, start, and restart the server. You can also make the server start automatically when Windows starts and disable the service to prevent the server from running.
Important
The evaluation version of the product times out after three hours and shuts down the server. Therefore, the server needs to be restarted every three hours.
Open the Windows Start menu.
Search by typing services.
Press Enter.
Locate and double-click the FairCom service in the list of services.
In the Service Properties window, click
.Click
or .
Note
For more information on starting, see Start.
Locate and double-click the FairCom service in the list of services.
In the Service Properties window, click Start.
Click
or .
Locate and double-click the FairCom service in the list of services.
In the Service Properties window, make a selection from the Startup type dropdown menu:
Automatic (Delayed Start)
Windows run the FairCom service automatically at startup with a delay.
Automatic
Windows runs the FairCom service automatically at startup.
Manual
Windows does not run the FairCom service automatically. You will need to manually run the FairCom service by performing Start the service.
Disabled
Windows prevents the FairCom service from running.
Click
or .
In Windows Explorer, navigate to the FairCom installation folder.
Run the
setup.bat
.file to open the FairCom Server Setup window.Click
.Observe the successful Configuration Completed message.
Note
If removal was unsuccessful, contact FairCom support.
Click
.Note
FairCom is still installed. To uninstall see Uninstall the server.
Find the
<faircom>
subfolder named something likeFairCom.64bit.v4.5.1.145
.Inside the
<faircom>
folder, open theserver
folder.Run
faircom.exe
.Important
The evaluation version of the product times out after three hours and shuts down the server. Therefore, the server needs to be restarted every three hours.
Note
Each time you restart your computer, you need to run faircom.exe to load the server.
This is ideal for an evaluation environment where you want full control over the server.
For a production environment, consider using the Windows installer to install FairCom as a Windows service that automatically loads the FairCom server each time the computer restarts.
In Windows Explorer, navigate to the FairCom installation folder.
Run the
setup.bat
.file to open the FairCom Server Setup window.Optionally, change the FairCom Installation Directory.
Select Features to install or configure.
Note
For information on features to install or uninstall see Configure installed features using
FairComConfig.exe
.Click
.Observe the successful Configuration Completed message.
Note
If the configuration was unsuccessful, contact FairCom support.
Follow any installation prompts.
Click
.
When you have installed the FairCom server using the Microsoft Installer, you can uninstall it using Windows built-in Uninstaller.
Open the Windows
menu.Search
Add or remove programs
.Under Apps & features, in the textbox, search for
faircom
.Click
for the FairCom app.Note
The uninstaller removes the server but leaves the data files you have created. You can go into the FairCom folder and manually delete the contents if you no longer need the data.
Important
The evaluation version of the product times out after three hours and shuts down the server. Therefore, the server needs to be restarted every three hours.
Move the downloaded
.tar
file to a directory where your current user account has full permissions.Note
It is common to move the
.tar
file to theuser
folder — for example, if the .tar file is namedFairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz
the mv FairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz ~/user command will move it to the user directory.Use the tar command to expand the
.tar
file to create a new subdirectory that contains the FairCom server — for example, if the.tar
file is namedFairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz
the tar -xvzf FairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz command will expand it.Note
The subdirectory is a long name that includes the product name, target operating system, and the server’s version — for example,
FairCom-Edge.linux.64bit.v4.5.1.145
.Run the cd command followed by the name of the subdirectory to change the active directory to the newly installed subdirectory — for example, if the subdirectory is named
FairCom-Edge.linux.64bit.v4.5.1.145
the cd FairCom-Edge.linux.64bit.v4.5.1.145 command will change the active directory to the subdirectory.Some Linux variants including Ubuntu and CentOS require the installation of a compression library for the FairCom server to launch correctly. Use the following commands to install needed libraries:
Ubuntu
sudo apt install zlib1g-dev
CentOS
sudo yum install zlib-devel
Type
./faircom
and Enter to temporarily start the server and run it in the current terminal session.Note
You can stop the server by closing the terminal session.
Type
./startserver
and Enter to start the server in the background and to keep it running even when you close the terminal session.To stop the server:
Open a new terminal session.
Use the cd command to change the active directory to the server subdirectory.
Type
./stopserver
and Enter.
Run the server in production
FairCom recommends using systemd, see systemd(1) — Linux manual page.
Also see, Script to start and stop the server.
Run multiple instances
You can run multiple instances of FairCom on the same computer by configuring them to use different ports.
Note
Attempting to run a second instance of FairCom with the same ports as a running instance will cause the second instance to exit with errors.
Run the command: ps -ef | grep faircom.
Observe the response.
Two lines of code indicate there is a FairCom server running.
One line of code indicates there is no FairCom server running.
Move the downloaded
.tar
file (FairCom-Edge.osx.v<version>.<processor>.tar
) to theDocuments
folder using the Finder app.Open the Terminal app in the
Documents
folder.In the Finder window path bar, Control-click the
Documents
folder.Select Open in Terminal from the shortcut menu.
Use the tar command or double-click the
.tar
file to expand it to create a new subdirectory that contains the FairCom server — for example, if the .tar file is namedFairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz
the tar -xvzf FairCom-Edge.linux.x64.64bit.v4.5.1.170.230227.tar.gz command will expand it.Note
The subdirectory is a long name that includes the product name, target operating system, and the server’s version — for example,
FairCom-Edge.linux.64bit.v4.5.1.145
.Run the cd command to change the active directory to the
Home
folder within theContents
folder — for example, FairCom-Edge.OSX.<processor>.<version>/Contents/Home.Type
./faircom
and Enter to start the server and run it in the current terminal session.Note
You can stop the server by closing the terminal session.
Type
./startserver
and Enter to start the server in the background and to keep it running even when you close the terminal session.To stop the server:
Open a new terminal session.
Use the cd command to change the active directory to the server subdirectory.
Type
./stopserver
and Enter.
Run the server in production
FairCom recommends using systemd command.
Also see, Script to start and stop the server.
Run multiple instances
You can run multiple instances of FairCom on the same computer by configuring them to use different ports.
Note
Attempting to run a second instance of FairCom with the same ports as a running instance will cause the second instance to exit with errors.
Run the command: -ef | grep faircom.
Observe the response.
Two lines of code indicate there is a FairCom server running.
One line of code indicates there is no FairCom server running.
Alternatively, run the Activity Monitor application and search for
faircom
.