· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Asterisk Inst/Asterisk Centos5

AsteriskInst/AsteriskCentos5.1

* centos 5.1 À» ±â¹ÝÀ¸·Î ÇÏ´Â Asterisk CD ¸¸µé±â

* install Fedora core 9
  • pungi ¿Í revisor À» »ç¿ëÇϱâ À§ÇÔ.
* local repository ¸¦ ¸¸µç´Ù.
  • DVD iso ÀÌ¿ë
    • CentOS-5.1-i386-bin-DVD.iso ¸¦ ÀÌ¿ë
    • mount -o loop CentOS-5.1-i386-bin-DVD.iso tmp
    • cd tmp
    • ls
CentOS                 RELEASE-NOTES-es          RELEASE-NOTES-ro
EULA                   RELEASE-NOTES-es.html     RELEASE-NOTES-ro.html
GPL                    RELEASE-NOTES-fr          RPM-GPG-KEY-CentOS-5
NOTES                  RELEASE-NOTES-fr.html     RPM-GPG-KEY-beta
RELEASE-NOTES-cs       RELEASE-NOTES-ja          TRANS.TBL
RELEASE-NOTES-cs.html  RELEASE-NOTES-ja.html     images
RELEASE-NOTES-de       RELEASE-NOTES-nl          isolinux
RELEASE-NOTES-de.html  RELEASE-NOTES-nl.html     repodata
RELEASE-NOTES-en       RELEASE-NOTES-pt_BR
RELEASE-NOTES-en.html  RELEASE-NOTES-pt_BR.html
    • CentOS ¿Í repodata µð·ºÅ丮¸¦ repository µð·ºÅ丮¹Ø¿¡ º¹»çÇÑ´Ù. (/mnt/sda8/)
  • cd iso ÀÌ¿ë (6Àå)
    • CentOS-5.1-i386-bin-1of6.iso À» ÀÌ¿ë
    • cd 6 ÀåÀÏ °æ¿ì TRANS.TBL À» ¾î¶»°Ô?
    • repodata ´Â?
* pungi ¸¦ »ç¿ëÇÏ¿© ÇÊ¿äÇÑ ÆÐÅ°Áöµé¸¸À» ¸ðÀº´Ù. * pungi ¿¡ ÇÊ¿äÇÑ kickstart file À» ¸¸µç´Ù.
Kickstart option
 repo (optional)

    Configures additional yum repositories that may be used as sources for package installation. Multiple repo lines may be specified.

    repo --name=<repoid> [--baseurl=<url>| --mirrorlist=<url>]

        * --name= ; The repo id. This option is required.
        * --baseurl= ; The URL for the repository. The variables that may be used in yum repo config files are not supported here. You may use one of either this option or --mirrorlist, not both.
        * --mirrorlist= ; The URL pointing at a list of mirrors for the repository. The variables that may be used in yum repo config files are not supported here. You may use one of either this option or --baseurl, not both.
  • asterisk ÀÇ ks.cfg ¿¡ %packages ¿¡ ÀÖ´Â package list ¸¦ ³Ö´Â´Ù.
repo --name=centos-local --baseurl=file:///mnt/sda8/
repo --name=centos --baseurl=http://ftp.daum.net/centos/5.1/os/i386/
repo --name=centos-source --baseurl=http://ftp.daum.net/centos/5.1/os/SRPMS
# repo --name=centos-updates --baseurl=http://ftp.daum.net/centos/5.1/updates/i386/
# repo --name=centos-updates-source --baseurl=http://ftp.daum.net/centos/5.1/updates/SRPMS
%packages
asterisk iso file ¿¡ ÀÖ´Â ks.cfg ÀÇ package list
%end
* iso file À» ¸¸µé±â À§ÇÑ µð·ºÅ丮¸¦ ¸¸µç´Ù.
  • mount -o loop CentOS-5.1-i386-bin-1of6.iso /root/tmp
  • cp -Rp /root/tmp /root/Cent1
  • cp -Rp /root/tmp/.discinfo /root/Cent1/
  • cd /root/Cent1/CentOS
  • ÀÌ°÷ÀÇ packages ¸¦ Áö¿î ÈÄ, pungi ¸¦ ÀÌ¿ëÇÏ¿© ¸ðÀº packages ¸¦ À̵¿½ÃŲ´Ù.
* repodata ¸¦ ¸¸µç´Ù.
  • cd /root/Cent1
  • discinfo=head -1 .discinfo
  • createrepo -u ¡°media://$discinfo¡± -g repodata/comps.xml .
* asterisk ¸¦ À§ÇÑ ÆÄÀϵéÀ» º¹»çÇÑ´Ù.

* iso ÆÄÀÏÀ» ¸¸µç´Ù.

Á¡°ËÇÒ »çÇ×

* ks.cfg ¿¡ ÁöÁ¤µÈ ÆÐÅ°ÁöÁö¸¸ CentOS 5.1 ¿¡ ¾ø´Â °Í
>      I made the mistake of updating a kernel once instead of
>  installing it. If one upgrades a kernel and there is a problem, one
> can't easily go back to the old one.  If one installs a new one, then
> one can quickly and easily go back to the old one as you have BOTH
> kernels available.  A quick reboot and one can select the working
> kernel.  I always install kernels now instead of updating them.

I understand the need to install rather than update kernels.  Yum does
this automatically for kernel, kernel-smp, kernel-bigmem,
kernel-enterprise, kernel-debug, and kernel-unsupported.
    • kernel-smp °¡ smp ÀÎ °æ¿ì default ·Î ¼³Ä¡µÇ´Â °æ¿ì
  • openssl096b
    • OpenSSL 0.9.6b libraries are provided for Red Hat Enterprise Linux 3 and 4 to allow compatibility with legacy applications
    • centos 5 ¿¡¼­ ÇÊ¿äÇÑÁö ¾Æ´ÑÁö ¸ð¸£°ÚÀ½.
I'd say that the problem here is that the "standard" openssl went from
0.9.5a to 0.9.6.

To keep older apps working, redhat renamed openssl-0.9.5a to openssl095a
and moved the openssl package to openssl-0.9.6.

If /usr/lib/libcrypto.so.0.9.5a exists then you should probably get the latest
openssl-0.9.6 and install it, then try to install the openssl095a
* post install ¿¡¼­ ¼³Ä¡ÇÏ´Â packages
[root@localhost src]# cd mime-construct-1.9/
[root@localhost mime-construct-1.9]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite MIME::Types 0 not found.
Warning: prerequisite Proc::WaitStat 0 not found.
Writing Makefile for mime-construct
  • asterisk_src.tar.gz
    • zaptel: MODULE_PARM problem
    • ¸ðµç drive ÆÄÀÏÀ» °íÄ¡´Â °ÍÀº Á¶±Ý....
    • zaptel 1.2.3 ¿¡¼­ 1.2.26 À¸·Î
    • patch ã¾Æº¼ °Í
#ifdef LINUX26
module_param(debug, int, 0600);
#else
MODULE_PARM(debug, "i");
#endif
  • asterisk
chan_phone.c:41:29: error: linux/compiler.h: ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
make[1]: *** [chan_phone.o] ¿À·ù 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] ¿À·ù 1

perl

* perl
  • perl-5.8.8-10.i386.rpm
  • perl-BSD-Resource-1.28-1.fc6.1.i386.rpm
  • perl-Compress-Zlib-1.42-1.fc6.i386.rpm
  • perl-DBD-MySQL-3.0007-1.fc6.i386.rpm
  • perl-DBI-1.52-1.fc6.i386.rpm
  • perl-HTML-Parser-3.55-1.fc6.i386.rpm
  • perl-HTML-Tagset-3.10-2.1.1.noarch.rpm
  • perl-String-CRC32-1.4-2.fc6.i386.rpm
  • perl-URI-1.35-3.noarch.rpm
  • perl-XML-Parser-2.34-6.1.2.2.1.i386.rpm
  • perl-libwww-perl-5.805-1.1.1.noarch.rpm

  • perl-suidperl-5.8.8-10.i386.rpm
  • perl-CGI-Session-4.20-1.el5.rf.noarch.rpm
  • perl-Data-UUID-1.148-1.el5.rf.i386.rpm
    • festival-script.pl:require Data::UUID;
  • perl-IPC-Signal-1.00-1.2.el5.rf.noarch.rpm
  • perl-Net-Telnet-3.03-1.2.el5.rf.noarch.rpm
  • perl-Proc-WaitStat-1.00-1.2.el5.rf.noarch.rpm
  • perl-Time-HiRes-1.9715-1.el5.rf.i386.rpm

  • asterisk-perl-0.08.tar.gz

* Asterisk Management Portal (AMP) has been renamed as FreePBX on its 2.0 milestone release.

* Vicidial is a full functional outbound and inbound call center solution
  • Vicidial has two main components:
  • astGUIclient
  • Vicidial

* In order to use FreePBX and Vicidial, you need install following Perl Module
  • a revolutionary new user interface to Asterisk, freePBX 2.01

packages

* asterisk
  • alsa-utils, curl-devel, dhcp, flex
  • gd, grub, kernel
  • libcap, libpcap, libtermcap-devel, lm_sensors
  • mkisofs, newt-devel, ntp,
  • perl, perl-libwww-perl, perl-DBD-MySQL
  • perl-DBI, perl-XML-Parser, perl-suidperl
  • php-gd, php-mbstring
  • readline, readline-devel
  • subversion
  • system-config-date, system-config-keyboard
  • rpm-build, slang-devel
  • tftp-server, vsftpd
* asterisk
  • bison
  • doxygen
  • gcc, cpp, glibc-devel, libgomp
  • kernel-devel
  • openssl-devel, krb5-devel, zlib-devel
  • e2fsprogs-devel, glibc-headers, kernel-headers
  • keyutils-libs-devel, libselinux-devel,
  • libsepol-devel
* AMP
  • libtiff, libtiff-devel, libxml2, httpd
  • mysql, mysql-devel, mysql-server
  • php, php-mysql, cvs
  • ncurses-devel, audiofile-devel, curl, sox

  • Net::Telnet, IPC::Signal, Proc::WaitStat

  • mime-construct

  • asterisk-perl

* zaptel
  • kernel-devel, zlib, zlib-devel, openssl,
  • openssl-devel, bison, patch, subversion

ID
Password
Join
Even a hawk is an eagle among crows.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-07-26 15:39:34
Processing time 0.0131 sec