Installing_SafiServer_Linux
Contents |
Installing SafiServer on Linux
Download the compressed SafiServer directory. You can download a copy of SafiServer here:
http://www.safisystems.com/index.cfm?pageMode=downloadfile&product_id=7
Untar (or unzip) the file into a directory of your choice. i.e:
tar zxfv SafiServer32-V1.tar.gz
Navigate to the SafiServer directory:
cd SafiServer
Run the install script file:
./installserver.sh
Use sudo if you are not logged in with full privileges:
sudo ./installserver.sh
When this is ran the first time you should see the following:
You will be prompted to enter the following values:
- FastAGI port: The TCP port on which to run the SafiServer FastAGI server on
- sa password: This is the system administrator password for the SafiServer database server
- Path: The install path of SafiServer (default should work in most cases)
The server will automatically start upon install completion.
Starting, Stopping and Console Mode
When you are finished with the initial configuration you can run the following commands:
Starting SafiServer
You can start the SafiServer by running the following command:
/etc/init.d/safiserverd start
The start-up will take place in the background. You can check the status of the SafiServer by running:
/path/to/SafiServer/deploy/linux32/safiserver status
Stopping SafiServer
You can stop the SafiServer by running the following command:
/etc/init.d/safiserverd stop
Console Mode
To run SafiServer in console; issue the following command:
/etc/init.d/safiserverd console
Software Firewall
In order to connect to the SafiServer; you may have to open ports (or turn off) any software firewall that might be running on your Linux machine (i.e. iptables). By default, SafiServer uses TCP 8822 (open to SafiWorkshop), TCP 7021-7022 (open to itself) and 4573 (open to Asterisk servers).
SideBar
User Login