SARK V4.0.0 Debian install

From sailpbx
Revision as of 20:47, 6 October 2013 by Adminwiki (talk | contribs) (Set up the sail repo)
Jump to: navigation, search

back to SARK v4.0.0 contents

Debian i386 Install

Debian install onto Wheezy is quick and easy. First install a vanilla wheezy server. When Tasksel runs during the install, turn off all of the options except ssh server. Complete the installation normally.

Set up the sail repo

Now, login to your new Debian and from the CLI download and install the public key from the Sail servers and identify the sail repo to Debian.

wget  http://sailpbx.com/sail/sail-4.0/debs/sail.gpg.key
apt-key add sail.gpg.key
echo deb http://sailpbx.com/sail/sail-4.0/debs/repo/ wheezy main >> /etc/apt/sources.list
apt-get update

Now you can install sail

apt-get install sail

The install will take a good few minutes depending upon the speed of the donor box. During the install you will be asked to enter a root password for MySQL (make a not of it you'll need it later). You will also be asked to enter your country dial code (IDD). For example for the UK this would be 44.

Seed the CDR database

Now you can seed the Asterisk MySQL CDR database with the following command

mysql -u root --password={your mysql root password} < /opt/sark/stat/asterisk-stat-v2/cdr-mysql-setup.sql

You're done - reboot it

reboot

your sail app will be at http://your.server.ip.address

  • UID - admin
  • PWD - sarkadmin