close

Appunti installazione sistema SME SERVER per configurazione ASTERISK e utility aggiuntive

1) Setup sistema

config setprop passwordstrength Users normal

yum update

2) Installazione freepbx tramite lo script

cd /usr/src/redhat/SOURCES

wget http://sme.firewall-services.com/downloads/smeserver-trixbox/smeserver-trixbox.fws_beta4.tar.gz

oppure

wget http://stlb.it/install/smeserver-trixbox.fws_beta4.tar.gz

tar xzvf smeser

#rm -f smeserver-trixbox.fws_beta4.tar.gz

cd sme

nano -w trixbox (applica le modifiche che già sai)

./trixbox

cd ..

4) Aggiornamento software (compilazione asterisk & zaptel)

trova il kernel devel adatto su http://mirror.centos.org/centos/4/updates/i386/RPMS/?C=M;O oppure su http://www.mirrorservice.org/sites/mirror.centos.org/4/apt/i386/RPMS.updates/

mkdir /usr/src/kernels

cd /usr/src/kernels

wget kerneltrovato

yum localinstall kerneltrovato

yum install gcc gcc-c++ libxml2-devel libtiff-devel mysql-server php-gd php-mysql bison ncurses-devel audiofile-devel libogg-devel openssl-devel mysql-devel sox

cd /usr/src/redhat/SOURCES

wget http://mirror.freepbx.org/freepbx-2.4.0.tar.gz

wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz

wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz

wget http://downloads.digium.com/pub/asterisk/asterisk-addons-1.4-current.tar.gz

oppure

wget http://stlb.it/install/zaptel-1.4-current.tar.gz

wget http://stlb.it/install/asterisk-1.4-current.tar.gz

wget http://stlb.it/install/asterisk-addons-1.4-current.tar.gz

wget http://stlb.it/install/freepbx-2.4.0.tar.gz

signal-event post-upgrade; signal-event reboot

5) pulizia, estrazione e compilazione

cd /usr/src/redhat/SOURCES

--

amportal stop

rm -f /usr/lib/asterisk/modules/*

rm -f /etc/zaptel.conf

rm -f /etc/rc7.d/S98zaptel

--

for i in *.gz; do tar zxvf $i; done

#rm -f *.gz

cd asterisk-1.4

./configure

make menuselect

make install

#make samples

cd ..

cd asterisk-addons-1.4.

./configure

make menuselect

make install

cd ..

cd zaptel-1.4

./configure

make menuselect

make install

#make config

cd ..

** verificare

autopartenza zaptel

/etc/asterisk/manager.conf

6) Installazione software da contribs

cd /usr/src/redhat/RPMS

# SERVICE CONTROL - http://wiki.contribs.org/Service_Control

# FETCHMAIL - http://wiki.contribs.org/Fetchmail

# PHPSYSINFO - http://wiki.contribs.org/Phpsysinfo -- http://myserver/phpsysinfo

# PHPMYADMIN - http://wiki.contribs.org/Phpmyadminmulti - http://myserver/myadmin - login&pass: admin

# SITEMAKER - http://wiki.contribs.org/SME_Site_Maker - activate with: smesm - NON SERVE

wget http://stlb.it/install/smeserver-service_control-1.1-2.noarch.rpm

wget http://stlb.it/install/smeserver-phpsysinfo-2.5.4-0dmay.noarch.rpm

wget http://stlb.it/install/smeserver-fetchmail-1.3.5-01.noarch.rpm

wget http://stlb.it/install/smeserver-phpmyadmin-multiuser-2.11.3-1.el4.sme.noarch.rpm

oppure

wget http://stlb.it/install/smeserver-service_control-1.1-2.noarch.rpm

wget http://sme-mirror.voxteneo.com/contribs/dmay/smeserver/7.x/smeserver-phpsysinfo-2.5.4-0dmay.noarch.rpm

wget http://www.schirrms.net/files/smeserver-fetchmail-1.3.5-01.noarch.rpm

yum localinstall smeserver-phpsysinfo-2.5.4-0dmay.noarch.rpm smeserver-service_control-1.1-2.noarch.rpm smeserver-fetchmail-1.3.5-01.noarch.rpm

yum --enablerepo=smecontribs install smeserver-phpmyadmin-multiuser

signal-event post-upgrade; signal-event reboot

#wget http://stlb.it/install/VMware-server-1.0.4-56528.tar.gz

7) installazione QOS

8) modifica dei panels

edita /etc/e-smith/web/panels/manager/cgi-bin

9) installazione di pacchetti aggiuntivi PERL

perl -MCPAN -e 'install "AppConfig"'

perl -MCPAN -e "install XML::Simple"

Altri appunti

- Installare la versione 7.0 (raid 5 su 3 dischi)

- Aggiornare alla 7.2 e leggere queste info http://wiki.contribs.org/Updating_to_SME_7.2

- Aggiungere TRAFFIC SHAPER (http://forums.contribs.org/index.php?topic=29546.15)

Connect to SME Server with PuTTy

modprobe sch_htb

lsmod

mkdir /root/scripts

cd /root/scripts

wget http://web.inter.nl.net/users/hanscees/sme7/HTBWondershaper

chmod +x HTBWondershaper

Edit the file. First You should adjust the liner-speed to your speed,Then adjust "CEIL" "DOWNLINK" and "EXTDEV" and "LANDEV" if needed

/root/scripts/HTBWondershaper

/root/scripts/HTBWondershaper status

aggiungere lo script il /etc/rc.local

http://servername/server-resources/regedit/winxplogon.reg

nano -w /home/e-smith/files/samba/netlogon/netlogon.bat

REM To set the time when clients logon to the domain:

net time \\smeserver /set /yes

REM

REM To map a home directory to drive h:

net use w: \\smeserver\wincar

patch freepbx

configurazione asterisk

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 安德森 的頭像
    安德森

    安德森技術備忘板

    安德森 發表在 痞客邦 留言(0) 人氣()