On Wed, Apr 11, 2007 at 07:32:52PM +0300, Dovid B wrote:
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

actually: kernel-devel (or kernel-smp-devel)


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

What is the point in rebuilding stuff that is already availble from your
distribution?

And is actively mintained by it?

I hope whoever installed by such a tutorial is not still using those
obsolete versions.




# 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

Have some mercy on the CPU and HD, and spare this one...



Tzafrir,
I wrote this a long time ago (as you can see from the asterisk version that I was using). It was specific for a VPS server that I was using. I posed that the URL's were not up to date. It was more of a guide for him.

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

Reply via email to