Installation Selintra
Compilation des sources
yum update -y
yum install gcc gcc-c++ ncurses-devel kernel-devel mysql-devel
signal-event post-upgrade; signal-event reboot
uname -r => 2.6.9-89.0.25.EL => 2.6.9-89.0.25.EL-i686
yum install kernel-headers-2.6.9-89.0.25.EL-i686
yum install kernel-devel-2.6.9-89.0.25.EL-i686
ls -l /usr/src/kernels
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.30.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.10.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-sounds-1.2.1.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar xzvf asterisk-1.4.30.tar.gz
tar xzvf libpri-1.4.10.2.tar.gz
tar xzvf dahdi-linux-complete-current.tar.gz
tar xzvf asterisk-addons-1.4.10.tar.gz
tar zxvf asterisk-sounds-1.2.1.tar.gz
cd /usr/src/dahdi-linux-complete-current
make all
make install
make config
cd /usr/src/libpri-1.4.10.2
make
make install
cd /usr/src/asterisk-1.4.30
./configure
make menuselect
## In the menu we can add a few more audio files for other codecs
make; make install
make samples
make config
cd /usr/src/asterisk-addons-1.4.10
./configure
make menuselect
Click right Arrow and deselect app_saycountpl and chan_ooh323
Click right Arrow and deselect app_saycountpl and chan_ooh323
make
make install
cd /usr/src/asterisk-sounds-1.2.1
make
make install
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-23.noarch.rpm
rpm -Uvh perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
yum localinstall sail-2.4.1-23.noarch.rpm --enablerepo=base
signal-event console-save
L'installation est problématique en ce qui a trait à "asterisk" puisque les mises à jour du kernel doivent être synchrones avec asterisk.
Script
Dépôt ATRPMS
/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL4' \
BaseURL 'http://dl.atrpms.net/el4-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible no \
Exclude clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,\
perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,\
libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,\
librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,\
libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,\
gd,perl-TimeDate,librpm4.4 \
status disabled
signal-event yum-modify
Téléchargements
mkdir /root/selintra
cd /root/selintra
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-23.noarch.rpm
Installation
yum -y install --enablerepo=atrpms \
libpri asterisk14 \
asterisk-addons14 \
dahdi-linux \
dahdi-tools \
dahdi-linux-kmdl-`uname -r`
yum -y install sail-2*.rpm perl-File-ReadBackwards*.rpm
signal-event console-save
signal-event post-upgrade; signal-event reboot; exit