How to Prepeare Debian Edge (4) for Asterisk, Mysql and Astbill

From AstBillWiki

Jump to: navigation, search
This Debian Instruction will give you Debian 4 Edge,MySQL 5, PHP 5, Apache 2 and Perl DBI<BR>
You will also get what is needed to compile Asterisk.

Download Debian [http://www.debian.org/CD/netinst/ Netinstall] 

Run default install don't select any packages.

Run the following apt-get to install the needed packages.

apt-get update
apt-get install -y apache2

# MySql 5 and PHP 5
apt-get install -y mysql-server mysql-client libmysqlclient15-dev
apt-get install -y php5 libapache2-mod-php5 php5-mysql php5-gd php5-cli

# Usefull Utilities
apt-get install -y apg curl biabam bzip2 screen ntpdate vsftpd subversion

# Asterisk
apt-get install -y libncurses5-dev libssl-dev bison make gcc

apt-get install -y libdbd-mysql-perl
apt-get update
apt-get -f install
apt-get install -y libdbd-mysql-perl

If you need support for RAR files

wget http://ftp.uk.debian.org/debian/pool/non-free/r/rar/rar_3.30-2_i386.deb
dpkg -i rar_3.30-2_i386.deb
Personal tools