== 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 ¸¦ »ç¿ëÇÏ¿© ÇÊ¿äÇÑ ÆÐÅ°Áöµé¸¸À» ¸ðÀº´Ù. * https://hosted.fedoraproject.org/pungi/wiki/PungiDocs/RunningPungi * pungi -c /usr/share/pungi/centos.cfg -G --destdir=/root/Asterisk1 --nosource * /root/Asterisk1/20080719/i386/os/Packages ¹Ø¿¡ ÇÊ¿äÇÑ packages °¡ ¸ð¾ÆÁø´Ù. * pungi ¿¡ ÇÊ¿äÇÑ kickstart file À» ¸¸µç´Ù. * http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-file.html * centos.cfg * local repository °¡ ÀÖÀ¸¸é repo ¿É¼ÇÀ» ÀÌ¿ëÇÏ¿© ¼³Á¤ÇÑ´Ù. * repo ¿¡ update ¿¡ ÇØ´çÇÏ´Â site ¸¦ ÁöÁ¤Çϸé, update µÈ ÆÐÅ°ÁöµéÀÌ ¸ð¾ÆÁø´Ù. {{{ 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= [--baseurl=| --mirrorlist=] * --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 ¿¡ ¾ø´Â °Í * glibc-kernheaders * Header files for the Linux kernel for use by glibc * kernel-headers ·Î ´ëäµÊ. * kernel-smp-devel * http://bugs.centos.org/view.php?id=1549 {{{ > 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 }}} * perl-Time-HiRes * perl-Time-HiRes is a Perl module that implements high resolution alarm, sleep, gettimeofday, interval timers. * http://www.andreas-mueller.com/mrepo/centos5-i386/RPMS.dag/repoview/perl-Time-HiRes.html * 1.9715 * centos 4 ¿¡´Â ÀÖÁö¸¸, centos 5 ¿¡´Â ¾øÀ½. * kernel-headers ´Â %package ¿¡ ³ÖÀ» °Í * perl-Time-HiRes ´Â post install ¿¡ ³ÖÀ» °Í * post install ¿¡¼­ ¼³Ä¡ÇÏ´Â packages * perl-suidperl-5.8.0-88.4.i386.rpm * CentOS 4 ¿¡ ÀÖÀ½ 5.8.5-36 * CentOS 5 ¿¡µµ ÀÖÀ½ 5.8.8-10 * ks.cfg ¿¡ ³ÖÀ» °Í * lame-3.96.1-2.2.el4.rf.i386.rpm * mp3 encoder * http://lame.sourceforge.net/index.php * http://dag.wieers.com/rpm/packages/lame/ * lame-3.97-1.el5.rf.i386.rpm * ngrep-1.43-1.2.el4.rf.i386.rpm * network grep * http://ngrep.sourceforge.net/ * http://dag.wieers.com/rpm/packages/ngrep/ * ngrep-1.45-1.el5.rf.i386.rpm * festival-1.96.tar.gz * http://www.cstr.ed.ac.uk/projects/festival/ * http://www.xenocafe.com/tutorials/php/festival_text_to_speech/index.php * Festival is a text-to-speech synthesizer developed by the Center for Speech Technology Research at the University of Edinburgh. * tftpboot.tar * ºÎÆà À̹ÌÁö¸¦ ÀúÀåÇÏ´Â À§Ä¡·Î TFTP ¼­¹ö´Â /tftpboot µð·ºÅ丮¸¦ »ç¿ëÇÕ´Ï´Ù. * webapps.tar.gz * asterisk-perl-0.08.tar.gz * nwebmail-0.1.80.tar.gz * Nwebmail is a webmail client written in ANSI C. * It allows users to check their mail through a webpage. * ÀÌÈÄ¿¡ ÁøôµÈ °ÍÀÌ ¾øÀ½. * mpg123-0.59r.tar.gz * http://www.mpg123.de/ * mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 * mpg123-1.4.3.tar.bz2 * http://www.mpg123.de/asterisk.shtml * http://dag.wieers.com/rpm/packages/mpg123/ * libltdl.so.3 is needed by mpg123-1.3.1-1.el5.rf.i386 * libtool-ltdl-1.5.22-6.1.i386.rpm in CentOS 5.1 * scripts.tar.gz * sipsak-0.8.11.tar.gz * http://sipsak.org/ * sipsak is a small command line tool for developers and administrators of Session Initiation Protocol (SIP) applications. * sipsak-0.9.6-1.tar.gz * sipsak-0.9.6-1.el5.i386.rpm * libcares.so.1 is needed by sipsak-0.9.6-1.el5.i386 * http://rpmfind.net/linux/rpm2html/search.php?query=libcares.so.1 * Data-UUID-0.11.tar.gz * http://search.cpan.org/~rjbs/Data-UUID-1.148/UUID.pm * Perl extension for generating Globally/Universally Unique Identifiers (GUIDs/UUIDs). * http://dag.wieers.com/rpm/packages/perl-Data-UUID/ * Data-UUID-1.148 * mime-construct-1.8.tar.gz * http://search.cpan.org/~rosch/mime-construct-1.9/mime-construct * construct and optionally mail MIME messages * mime-construct-1.9 * http://rpm.pbone.net/index.php3/stat/4/idpl/2611390/com/perl-mime-construct-1.9-1.i586.rpm.html {{{ [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 }}} * ez-ipupdate-3.0.11b8-1.i386.rpm * http://rpm.pbone.net/index.php3?stat=3&search=ez-ipupdate&srodzaj=3 * mc-4.6.0-2.i386.rpm * a file manager * http://rpm.pbone.net/index.php3?stat=3&limit=2&srodzaj=3&dl=40&search=mc * /mc-4.6.1a-35.el5.i386.rpm * xplhub.tar * http://wiki.xplproject.org.uk/index.php/XPL_hubs_specification * xplast.tar.gz * IPC-Signal-1.00.tar.gz * http://search.cpan.org/dist/IPC-Signal/ * IPC-Signal-1.00 * Utility functions dealing with signals * http://dag.wieers.com/rpm/packages/perl-IPC-Signal/ * Net-Telnet-3.03.tar.gz * Net-Telnet-3.03 * interact with TELNET port or other TCP ports * http://dag.wieers.com/rpm/packages/perl-Net-Telnet/ * Proc-WaitStat-1.00.tar.gz * Proc-WaitStat-1.00 * Interpret and act on wait() status values * http://dag.wieers.com/rpm/packages/perl-Proc-WaitStat/ * Proc-WaitStat-1.00.tar.gz * AMP.tar.gz * Open_A2Billing_version_Raccoon.tar.gz == 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