On Windows, an easy way to start the default AllegroGraph server is by selecting the AllegroGraph server item on the AllegroGraph Start Menu entry (or double-click on AllegroGraphServer in the AllegroGraph installation directory -- consider pinning this to the start menu).
You can also start The AllegroGraph server application at the command line. The following examples start the server listening on (a non-default) port 4126 and using the specified config file for eval-in-server permissions. Some of the Learning Center examples do require a server running with these non-default options.
On Windows:
% cd [AllegroGraphInstallation]
% .\AllegroGraphServer.exe --port 4126 --eval-in-server-file evalinserver.cfg
On Mac OS X and other Unix Platforms:
$ cd [AllegroGraphInstallation]
$ ./AllegroGraphServer --port 4126 --eval-in-server-file evalinserver.cfg
The full set of command line options are described here.
On UNIX platforms the default behavior (without the -debug
command line argument) is to run in the background, as a daemon.
In this case, it is recommended that you use the --log
command
line argument to specify a log file for the various messages printed by the server.
On Windows, the server runs as a service.