MacOS
Install FairCom on MacOS
Download the
.tar
file (FairCom-Edge.osx.v<version>.<processor>.tar
) and move it 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 has a long name that includes the product name, target operating system, and the server 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 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.
FairCom recommends using the systemd command.
See also, Script to start and stop the server.
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
.