MacOS
Install FairCom on MacOS
Download the
.tarfile (FairCom-Edge.osx.v<version>.<processor>.tar) and move it to theDocumentsfolder using the Finder app.Open the Terminal app in the
Documentsfolder.In the Finder window path bar, Control-click the
Documentsfolder.Select Open in Terminal from the shortcut menu.
Use the tar command or double-click the
.tarfile 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.gzthe 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
Homefolder within theContentsfolder — for example, FairCom-Edge.OSX.<processor>.<version>/Contents/Home.Type
./faircomand 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
./startserverand 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
./stopserverand 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.