The following short Guide shows how to install and configure ScopServ on a Red Hat based distribution. Ensure that the prerequisites are met before attempting to install ScopServ.
To date, this procedure have been tested on: Centos 4, Fedora Core 3 and Fedora Core 4.
We highly recommand our clients to use CentOS 4.2 (ServerCD). You can download the ISO from http://www.centos.org mirrors. Also available via Bittorrent here.
You can install all packages using APT / YUM. APT and YUM are both advanced package management utility for RPM based distribution which allows you to easily perform package installation, upgrading and removal of RPM packages.
The ScopServ repository just holds the packages we need to run ScopServ. In order to use this repository, you must first install the APT-RPM or YUM package on your system.
Next, edit /etc/apt/sources.list or /etc/yum/conf and add the following lines:
APT-GET (/etc/apt/sources.list)
rpm http://mirrors.scopserv.com rpm scopserv addons asterisk
YUM (/etc/yum.conf)
[scopserv] name=ScopServ - Packages baseurl=http://mirrors.scopserv.com/scopserv gpgcheck=0 [scopserv-addons] name=ScopServ - Addons baseurl=http://mirrors.scopserv.com/addons gpgcheck=0 [scopserv-asterisk] name=ScopServ - Asterisk and Zaptel baseurl=http://mirrors.scopserv.com/asterisk gpgcheck=0
Run apt-get or yum to update repository data.
To install ScopServ and all dependencies automatically, type: apt-get install scopserv or yum install scopserv
The following packages are available:
ScopServ Packages
Asterisk
Asterisk (Devel) (Optional)
Addons
By default, the ScopServ run on the port 5555, you can change it by editing the /etc/httpd/conf/scopserv.conf and change the line Listen 5555.
Edit the /var/www/scopserv/config/scopserv.php file then change the database settings:
/* Authentication */ $conf['scopserv']['username'] = 'root'; $conf['scopserv']['password'] = ''; $conf['scopserv']['database'] = 'scopserv'; /* Connection */ $conf['scopserv']['phptype'] = 'mysql'; $conf['scopserv']['persistent'] = false; $conf['scopserv']['protocol'] = 'unix'; // unix or tcp $conf['scopserv']['socket'] = '/var/lib/mysql/mysql.sock'; $conf['scopserv']['hostspec'] = 'localhost'; $conf['scopserv']['charset'] = 'iso-8859-1';
You must now create the database required by the ScopServ Telephony Server.
mysqladmin create scopserv
Configure Zaptel Cards |
If your server have one or more Zaptel cards (TE4xxP and TDM) you can detect it and create default settings by executing the command:
scopserv_zapconf --detect --reset --verbose
To start the ScopServ services automatically on Boot-Time execute:
You can control services using:chkconfig --level 3 scopserv on chkconfig --level 3 op_panel on
service scopserv {start|stop|restart|status}
service op_panel {start|stop|restart|status}
If you have requested your free trial license and received your serial number by Email, you can now enable your version. Log into the ScopServ GUI (http://localhost:5555). The default username and password is admin.
When you are logged on the server, click on Configuration to expand the menu then click on Server. Now click on the License menu on the top and Edit.
Enter the Serial Number that you have received from ScopServ. The server will be operational if all informations and the key are valid.