Vicidial Install Ti On Script
Vicidial Install Ti On Script
Vicidial Install Ti On Script
$ sudo su
$ passwd #(set the root user's password)
2nd step
3rd step
4th step
$ cd /usr/src
$ tar -xjf linux-source-*.tar.bz2 #(where * is the kernel version)
$ cpan
5th step
(press enter to go through the prompts. If you have a multi cored system you
should enter the -j option when specified with n+1 as the value, where n is
the number of CPUs you have in your system. Also enter UNINST=1 when asked.
until you get to the mirror selection portion) (select 3 mirror sites in your
area)
6th step
$ cd /usr/src
$ wget http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz
$ tar xzf asterisk-perl-0.08.tar.gz
$ cd asterisk-perl-0.08
$ perl Makefile.PL
$ make all
$ make install
7th step
$ cd /usr/src
$ wget http://www.daveltd.com/src/util/ttyload/ttyload-0.5.tar.gz
$ tar xzf ttyload-0.5.tar.gz
$ cd ttyload-0.5
$ make
$ make install
8th step
$ cd /usr/src
$ wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.zip
$ unzip eaccelerator-0.9.5.3.zip
$ cd eaccelerator-0.9.5.3
$ phpize
$ ./configure
$ make
$ make install
$ cd /etc/php5/conf.d/
$ pico eaccelerator.ini
> add the following to the eaccelerator.:
extension="eaccelerator.so"
eaccelerator.shm_size="48"
eaccelerator.cache_dir="/var/lib/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
$ mkdir /var/lib/eaccelerator
$ chmod 0777 /var/lib/eaccelerator
$ php -v
9th step
NOTE: You should see a line mentioning eaccelerator. If you do not or you get
an error you have done something wrong
$ mkdir /usr/src/asterisk
$ cd /usr/src/asterisk
10th step
$ wget http://download.vicidial.com/required-apps/asterisk-1.4.27-vici.tar.gz
$ wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.12.1.tar.gz
$ wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-
1.4.10.1.tar.gz
$ tar xzf asterisk-1.4.27-vici.tar.gz
$ tar xzf zaptel-1.4.12.1.tar.gz
$ tar xzf libpri-1.4.10.1.tar.gz
$ cd libpri-1.4.10.1
$ make clean; make; make install
$ cd ../zaptel-1.4.12.1
$ ./configure; make clean; make; make install
$ cd ../
$ mv asterisk-1.4.27-vici asterisk-1.4.27
$ cd asterisk-1.4.27
$ ./configure; make clean; make; make install
$ make samples
$ modprobe zaptel
$ modprobe ztdummy
11th step
12th step
$ mkdir /usr/src/astguiclient
$ cd /usr/src/astguiclient
$ wget
http://downloads.sourceforge.net/project/astguiclinent/astguiclient_2.2.0rc7.z
ip?use_mirror=nchc
$ unzip astguiclient 2.2.0rc7.zip
$ perl install.pl
13th step