Install Centos 5 And Asterisk 1.4 From Repository It is always daunting for a new user of Centos 5 and Asterisk to get the two installed from scratch. For starters, Centos 5 comes with more than six CDs and if you wanted to install just a base system to run Asterisk, you still would have to swap lots of disks. That is where this blog comes in handy. I will write about how you can install Centos 5 and Asterisk with just one disk. At the end, i will provide a perl script that you could just copy and paste into a text editor, save it to your linux system, then run it and Asterisk will be installed. For Centos 5 Minimal install Do the Following: 1. Boot to CD 1 of the Centos 5 CDs 2. Type in "linux text" to get the text installation setup 3. Proceed normally with the installation until it asks which packages to install 4. Then deselect all of the packages and then click on the "customize package selection" check box 5. Then hold down the "-" key, which scrolls through all of the package options, to deselect all 6. The Install is continues and completes and you are done 7. Then log in and do 'yum -y update && reboot' prior to executing this script!echo "All of this can be done with only the CentOS 5 CD 1"echo "Disable the SELINUX and Firewall after Centos 5 install -- using the setup utility- just type setup Now create a repo file for yum to use in installing Asterisk: Create a file called /etc/yum.repos.d/atrpms.repo Then add the following into it and save "[atrpms] name=CentOS \$releasever - \$basearch - ATrpms baseurl=http://dl.atrpms.net./el5-i386/atrpms/stable gpgkey=http://dl.atrpms.net/RPM-GPG-KEY.atrpms gpgcheck=0" > Then save the file and type the following at the shell prompt yum -y install asterisk yum -y install asterisk-addons {optional} yum -y install asterisk-core-sounds {optional} yum -y install asterisk-moh-freeplay {optional}