|
|
2.2 Install Apache2, MySQL5, PHP4, PHPMyAdmin
From here we will install couple of packages that we will need for Perl:
apt-get install unzip make lynx ncftp ftp gnupg
Apache suite:
apt-get install apache2 apache2-doc
MySQL suite:
apt-get install mysql-server mysql-client libmysqlclient12-dev
PHP suite:
apt-get install libapache2-mod-php4 php4-cli php4-pear php4-common php4-cgi php4-curl php4-domxml php4-gd php4-gmp php4-imap php4-ldap php4-mcal php4-mcrypt php4-mhash php4-ming php4-mysql php4-odbc php4-xslt php4-xdebug curl libwww-perl imagemagick phpmyadmin
Choose Apache2 once you reach phpmyadmin setup.
a) Check if Apache2 is working properly in your browser :
http://ip_address_of_your_server/
b) Check if your PHPMyadmin is working properly and can access your MySQL DB server :
http://ip_address_of_your_server/phpmyadmin
Note: get the IP address of your server (eth0), by typing:
ifconfig
c) secure your mysql, create a password for your root user :
mysql -u root mysql
SET PASSWORD FOR root@localhost=PASSWORD('my_new_password');
update PHPMyadmin settings :
cd /var/www/phpmyadmin
pico config.inc.php
update line 87 by having :
$cfg['Servers'][$i]['password'] = 'my_new_password';
save the file and exit.
2.3 Install PEAR DB and PEAR DB_Pager
pear install DB
pear install DB_Pager
2.4 Install Perl Modules
perl -MCPAN -e "install Net::Telnet"
perl -MCPAN -e "install IPC::Signal"
perl -MCPAN -e "install Proc::WaitStat"
perl -MCPAN -e "install DateTime"
If you have to go through CPAN configuration, just choose the default settings by pressing ENTER on most of the questions and selecting the mirror closer to you.
Install Asterisk-Perl support :
cd /usr/src
wget http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz
uncompress:
tar zxvf asterisk-perl-0.08.tar.gz
compile:
cd asterisk-perl-0.08
perl Makefile.PL
make all
make install
How to setup VoIP calls in your Cybercafé with Xorcom Rapid, Asterisk PBX and *starShop-OSS - Page 1
How to setup VoIP calls in your Cybercafé with Xorcom Rapid, Asterisk PBX and *starShop-OSS - Page 3
How to setup VoIP calls in your Cybercafé with Xorcom Rapid, Asterisk PBX and *starShop-OSS - Page 4
|
|
|
|
|
|
|
|
|