[asterisk-users] zaptel on CENTOS servercd
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Jun 4 00:35:23 MST 2007
One comment if I may:
http://www.voip-info.org/wiki/view/Asterisk+Linux+Centos does need some
cleanup. Let alone merging of the two separate procedures and an update.
Also:
On Sun, Jun 03, 2007 at 06:22:57PM -0400, Lee Jenkins wrote:
> Khaled Chehab wrote:
> >I suffered a lot from installing zaptel 1.4.2 on centos servercd ,Sure
> >there
> >is someone did that, Please in need to have the installation procedure step
> >by step. Its too urgent for me .
> >
> >Thanks alot
> >
> >
>
> These scripts are working pretty well for me. They are based on a
> script I found on the wiki.
>
> # Script to download pre reqs for installation
> # ==============================================
>
> #!/bin/bash
>
> rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
Isn't this done by the installer?
>
> yum -y install kernel-source bison openssl-devel
Why do you need kernel-source? I know it is fun do download some extra
40Gigs, but apart from that, the kernel-devel / kernel-smp-devel is all
you need to build zaptel. (likewise linux-headers-`uname -r` on
Debian/Ubuntu )
>
> yum -y update
>
> # Use "kernel-devel" instead of "kernel-smp-devel"
> # if not a SMP machine
> # ========================|==============|
> | |
> yum -y install gcc kernel kernel-smp-devel bison openssl-devel
Hmmm.... you install kernel, but kernel-*smp*-devel . Strange
ocmbination.
Why not simply 'yum update' to get the latest kernel, if needed? This
will upgrade either 'kernel' or 'kernel-smp', depending on the installed
package.
If you don't need a kernel upgrade you don't need the following:
>
> shutdown -r now
>
> # end script
>
>
>
>
> # Script to download asterisk, etc and build/install
> # ==================================================
> #!/bin/bash
>
> rm -f /usr/lib/asterisk/modules/*
>
> cd /usr/src
> rm -rf asterisk
> wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.18.tar.gz
> tar -zxvf asterisk-1.2.18.tar.gz
> mv asterisk-1.2.18 asterisk
>
> cd /usr/src
> rm -rf zaptel
> wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.17.1.tar.gz
> tar -zxvf zaptel-1.2.17.1.tar.gz
> mv zaptel-1.2.17.1 zaptel
>
> cd /usr/src
> rm -rf asterisk-addons
> wget
> http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.2.6.tar.gz
> tar -zxvf asterisk-addons-1.2.6.tar.gz
> mv asterisk-addons-1.2.6 asterisk-addons
>
> cd /usr/src
> rm -rf asterisk-sounds
> wget
> http://ftp.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.tar.gz
> tar -zxvf asterisk-sounds-1.2.1.tar.gz
> mv asterisk-sounds-1.2.1 asterisk-sounds
>
>
> cd /usr/src/zaptel
> make clean
> make install
> make config
>
> cd /usr/src/asterisk
> make clean
> make install
> make samples
> make config
>
> cd /usr/src/asterisk-addons
> make clean
> make install
>
> cd /usr/src/asterisk-sounds
> make install
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list