Search Windows and Linux Networking

Saturday, August 6, 2011

How to Install Mostly Required Packages on CentOS/RedHat


How to Install Mostly Required Packages on CentOS/RedHat
such as  make, gcc, mysql, php, perl, gd, posftfix etc.

To install make (used to compile)
# yum -y install make

To download and install the chroot BIND9 package
# yum -y install bind-chroot

To download and install MySQL
# yum -y install mysql mysql-devel mysql-server to download and install MySQL

To install Postfix, Dovecot, and related packages
# yum -y install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix dovecot

To install PHP and commonly-used optional packages   
# yum -y install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel php-bcmath php-mbstring

To install Perl libraries
# yum -y install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1 perl-libwww-perl
    
To download and install snmp
yum -y install net-snmp net-snmp-per

Other Pakages that may be required
yum -y install libjpeg libjpeg-devel
yum -y install gcc glibc glibc-common gd gd-devel


No comments:

Post a Comment