Malik Mulki (Plant, Feed, Makassar)
2007-Apr-10 18:15 UTC
[asterisk-users] how to install asterisk on redhat ?
Hi....asterisk users... how to install asterisk on redhat ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070410/0e647e89/attachment-0001.htm
On Wed, 11 Apr 2007, Malik Mulki (Plant, Feed, Makassar) said something to...:> Hi....asterisk users... > how to install asterisk on redhat ?There are numerous installation guides on this subject. But in general, you can either install a contributed RPM, or download the source code and compile it (along with libpri and zapata telephony interface if you need them). Check out ftp://ftp.digium.com/ -- Alex Balashov <sasha@presidium.org>
You should consult with the initial chapters of this book: Asterisk, the future of Telephony (Download from the following link) http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 On 4/11/07, Alex Balashov <abalashov@evaristesys.com> wrote:> > On Wed, 11 Apr 2007, Malik Mulki (Plant, Feed, Makassar) said something > to...: > > > Hi....asterisk users... > > how to install asterisk on redhat ? > > There are numerous installation guides on this subject. But in > general, > you can either install a contributed RPM, or download the source code and > compile it (along with libpri and zapata telephony interface if you need > them). Check out ftp://ftp.digium.com/ > > -- > Alex Balashov <sasha@presidium.org> > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Regards Rizwan Hisham Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070411/be03d3b6/attachment.htm
Malik Mulki (Plant, Feed, Makassar) wrote:> Hi....asterisk users... > how to install asterisk on redhat ? >I use the following for CentOS 4.x. Works like a treat: http://www.voip-info.org/wiki/index.php?page=Asterisk+Linux+Centos -- Warm Regards, Lee
I wrote this ages ago. You may want to get more current software than the
URL's that are listed.
#YUM INSTALLS
yum -y install gcc
yum -y install kernel-source
yum -y install bison
yum -y install doxygen
yum -y install openssl-devel
yum -y install flex
yum -y install gcc
# WGET DOWNLOADS FROM H6315 / TARBALLS
wget http://www.h6315.com/pub/asterisk/asterisk-1.0.6.tar.gz
wget http://www.h6315.com/pub/zaptel/zaptel-1.0.6.tar.gz
wget http://www.h6315.com/pub/libpri/libpri-1.0.6.tar.gz
wget http://www.h6315.com/pub/openssl/openssl-0.9.7f.tar.gz
wget http://www.h6315.com/pub/apache/httpd-2.0.53.tar.gz
wget
http://www.h6315.com/pub/mysql/mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz
wget http://www.h6315.com/pub/php/php-4.3.10.tar.gz
wget http://www.h6315.com/pub/mpg123/mpg123-0.59r.tar.gz
# UNTAR EVERYTHING
tar -xvzf asterisk*.tar.gz
tar -xvzf zaptel*.tar.gz
tar -xvzf libpri*.tar.gz
tar -xvzf openssl*.tar.gz
tar -xvzf httpd*.tar.gz
tar -xvzf mysql-*.tar.gz
tar -xvzf php*.tar.gz
tar -xvzf mpg123*.tar.gz
rm -f *.tar.gz
rm -f *.rpm
# INSTALL OPEN SSL
cd /usr/src/openssl*
./config
make
make test
make install
# INSTALL APACHE
cd /usr/src/httpd-2*
./configure --prefix=/wwwroot --enable-so --enable-rewrite --enable-headers
--enable-expires -enable-deflate --with-z --enable-speling --enable-ssl
make
make install
# INSTALL MYSQL
cd /usr/src
mv mysql* /usr/local
cd /usr/local
groupadd mysql
useradd -g mysql mysql
ln -s mysql-standard-4.1.10a-pc-linux-gnu-i686 mysql
cd mysql
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
chgrp -R mysql .
cp support-files/mysql.server /etc/init.d
chmod +x /etc/init.d/mysql.server
ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql
# INSTALL PHP
cd /usr/src/php*
./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs
--with-config-file-path=/wwwroot/php --with-mysql --enable-gd
--with-mysqli=/usr/local/mysql/bin/mysql_config
make
make install
# INSTALL MPG123
cd /usr/src/mpg123*
make linux
make install
# INSTALL ZAPTEL
cd /usr/src/zap*
perl -pi~ -e 's/# ztdummy/ztdummy/' Makefile
make clean
make
make install
# INSTALL LIBPRI
cd /usr/src/libp*
make
make install
#INSTALL ASTERISK
cd /usr/src/aster*
make clean
make
make install
make samples
make progdocs
----- Original Message -----
From: Malik Mulki (Plant, Feed, Makassar)
To: asterisk-users@lists.digium.com
Sent: Wednesday, April 11, 2007 4:16 AM
Subject: [asterisk-users] how to install asterisk on redhat ?
Hi....asterisk users...
how to install asterisk on redhat ?
------------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070411/427f37b1/attachment.htm