[asterisk-users] how to install asterisk on redhat ?

Dovid B asteriskusers at dovid.net
Wed Apr 11 09:32:52 MST 2007


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 at 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


More information about the asterisk-users mailing list