How to Install and Configure Bind Chroot DNS Server on CentOS 6.4 VPS

This article will explain the steps to install and configure the DNS Server chroot binding on CentOS 6.4 virtual private server (VPS) or dedicated server. Usually if you plan to install email server or your own web server, it is good to have your own domain name service (DNS), so that you will have full control of the domain and subdomain. BIND (the Berkeley Internet Name Domain) also known as NAMED is the most widely used DNS server in the internet. Bind DNS helps to resolve domain name to ip address and ip address to domain name. Beside having full control of our registered domain name, it will also help to improve the speed of domain lookups. All these steps has been tested on CentOS 6.4 64 bit. When you run BIND in a chroot jail, the process is simply unable to see any part of the filesystem outside the jail. As an example, i will setting up BIND to run chrooted to the directory /var/named/chroot/. Well, to BIND, the contents of this directory will appear to be /, the root directory. A “jail” is a software mechanism for limiting the ability of a process to access resources outside a very limited area, and it’s purposely to enhance the security. Bind Chroot DNS server was by default configured to /var/named/chroot.

1. Install Bind Chroot DNS server :

[root@centos64 ~]# yum install bind-chroot bind -y

2. Copy all bind related files to prepare bind chrooted environments :

[root@centos64 ~]# cp -R /usr/share/doc/bind-*/sample/var/named/* /var/named/chroot/var/named/

3. Create bind related files into chrooted directory :

[root@centos64 ~]# touch /var/named/chroot/var/named/data/cache_dump.db
[root@centos64 ~]# touch /var/named/chroot/var/named/data/named_stats.txt
[root@centos64 ~]# touch /var/named/chroot/var/named/data/named_mem_stats.txt
[root@centos64 ~]# touch /var/named/chroot/var/named/data/named.run
[root@centos64 ~]# mkdir /var/named/chroot/var/named/dynamic
[root@centos64 ~]# touch /var/named/chroot/var/named/dynamic/managed-keys.bind

4. Bind lock file should be writeable, therefore set the permission to make it writable as below :

[root@centos64 ~]# chmod -R 777 /var/named/chroot/var/named/data
[root@centos64 ~]# chmod -R 777 /var/named/chroot/var/named/dynamic

5. Set if you do not use IPv6 :

[root@centos64 ~]# echo 'OPTIONS="-4"' >> /etc/sysconfig/named

6. Copy /etc/named.conf chrooted bind config folder :

[root@centos64 ~]# cp -p /etc/named.conf /var/named/chroot/etc/named.conf

7.Configure main bind configuration in /etc/named.conf. Append the ehowstuff.local information to the file :

[root@centos64 ~]# vi /var/named/chroot/etc/named.conf

a. Add bind DNS IP addresses :

..
listen-on port 53 { 127.0.0.1;192.168.2.62;192.168.2.63; };
..

b. Create forward and reverse zone :

..
..
zone "ehowstuff.local" {
    type master;
    file "ehowstuff.local.zone";
};

zone "2.168.192.in-addr.arpa" IN {
        type master;
        file "192.168.2.zone";
};
..
..

Full configuration for named.conf :

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
        listen-on port 53 { 127.0.0.1;192.168.2.62;192.168.2.63; };
        listen-on-v6 port 53 { ::1; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost; };
        recursion yes;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
        type hint;
        file "named.ca";
};

zone "ehowstuff.local" {
    type master;
    file "ehowstuff.local.zone";
};

zone "2.168.192.in-addr.arpa" IN {
        type master;
        file "192.168.2.zone";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

8. Create Forward and Reverse zone files for domain ehowstuff.local.

a) Create Forward Zone :

[root@centos64 ~]# vi /var/named/chroot/var/named/ehowstuff.local.zone
;
;       Addresses and other host information.
;
$TTL 86400
@       IN      SOA     ehowstuff.local. hostmaster.ehowstuff.local. (
                               2013042201      ; Serial
                               43200      ; Refresh
                               3600       ; Retry
                               3600000    ; Expire
                               2592000 )  ; Minimum

;       Define the nameservers and the mail servers

               IN      NS      ns1.ehowstuff.local.
               IN      NS      ns2.ehowstuff.local.
               IN      A       192.168.2.62
               IN      MX      10 mail.ehowstuff.local.

centos64           IN      A       192.168.2.62
mail            IN      A       192.168.2.62
ns1              IN      A       192.168.2.62
ns2              IN      A       192.168.2.63

b) Create Reverse Zone :

[root@centos64 ~]# vi /var/named/chroot/var/named/192.168.2.zone
;
;       Addresses and other host information.
;
$TTL 86400
@       IN      SOA     ehowstuff.local. hostmaster.ehowstuff.local. (
                               2013042201      ; Serial
                               43200      ; Refresh
                               3600       ; Retry
                               3600000    ; Expire
                               2592000 )  ; Minimum

2.168.192.in-addr.arpa. IN      NS      centos64.ehowstuff.local.

62.2.168.192.in-addr.arpa. IN PTR mail.ehowstuff.local.
62.2.168.192.in-addr.arpa. IN PTR ns1.ehowstuff.local.
63.2.168.192.in-addr.arpa. IN PTR ns2.ehowstuff.local.

9. Start Bind service :

[root@centos64 ~]# /etc/init.d/named start
Generating /etc/rndc.key:                                  [  OK  ]
Starting named:                                            [  OK  ]

10. Configure Bind auto start at boot :

[root@centos64 ~]# chkconfig --levels 235 named on

11. Test and verify Bind DNS setup :
a. Test and verify using host command :

[root@centos64 ~]# host -t ns ehowstuff.local
ehowstuff.local name server ns1.ehowstuff.local.
ehowstuff.local name server ns2.ehowstuff.local.
[root@centos64 ~]# host -t mx ehowstuff.local
ehowstuff.local mail is handled by 10 mail.ehowstuff.local.

b. Test and verify using nslookup command :

[root@centos64 ~]# nslookup
> set type=any
> ehowstuff.local
Server:         192.168.2.62
Address:        192.168.2.62#53

ehowstuff.local
        origin = ehowstuff.local
        mail addr = hostmaster.ehowstuff.local
        serial = 2013042201
        refresh = 43200
        retry = 3600
        expire = 3600000
        minimum = 2592000
ehowstuff.local nameserver = ns1.ehowstuff.local.
ehowstuff.local nameserver = ns2.ehowstuff.local.
Name:   ehowstuff.local
Address: 192.168.2.62
ehowstuff.local mail exchanger = 10 mail.ehowstuff.local.
> exit

c. Test and verify using dig command :

[root@centos64 ~]# dig ehowstuff.local

; < <>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.4 < <>> ehowstuff.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER< <- opcode: QUERY, status: NOERROR, id: 6958
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;ehowstuff.local.               IN      A

;; ANSWER SECTION:
ehowstuff.local.        2592000 IN      A       192.168.2.62

;; AUTHORITY SECTION:
ehowstuff.local.        2592000 IN      NS      ns1.ehowstuff.local.
ehowstuff.local.        2592000 IN      NS      ns2.ehowstuff.local.

;; ADDITIONAL SECTION:
ns1.ehowstuff.local.    2592000 IN      A       192.168.2.62
ns2.ehowstuff.local.    2592000 IN      A       192.168.2.63

;; Query time: 1 msec
;; SERVER: 192.168.2.62#53(192.168.2.62)
;; WHEN: Wed Apr  3 00:03:40 2013
;; MSG SIZE  rcvd: 117

How to Setup Apache httpd on CentOS Dedicated Server

apachehttpdThe Apache HTTP Server is a free or open source Web server developed by the Apache Software Foundation (http://www.apache.org/). This post describes the basic steps to setup Apache httpd on CentOS 6.4 64 bit dedicated server to host the website and blog. Having dedicated web server, you will get more control and flexibility on the configuration and you does not share its resources with anyone else. With at least 2GB RAM, you will get fairly consistent load times and better speed if compared to shared hosting and virtual private server (VPS). Bloggers or webmasters can get reasonable dedicated server price starting at $139 at very reputable companies such as hostgator.

1. How to Install httpd :

[root@centos64 ~]# yum install httpd -y

2. How to Check Apache server version :

[root@centos64 ~]# httpd -V
Server version: Apache/2.2.15 (Unix)
Server built:   Feb 22 2013 11:19:58
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.3.9, APR-Util 1.3.9
Compiled using: APR 1.3.9, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

3. Change /etc/hosts file :

[root@centos64 ~]# vi /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.2.62 centos64.ehowstuff.local

4. Always backup the original configuration file before doing any changes :

[root@centos64 ~]# cp -p /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.backup.01042013

Note : -p mean preserve the specified attributes (default: mode,ownership,timestamps)

5. How to Configure httpd Apache service :

[root@centos64 ~]# vi /etc/httpd/conf/httpd.conf
ServerTokens Prod
KeepAlive On
ServerAdmin root@ehowstuff.local
ServerName www.ehowstuff.local:80
Options Indexes FollowSymLinks ExecCGI
AllowOverride All
DirectoryIndex index.html index.cgi index.php
ServerSignature Off
#AddDefaultCharset UTF-8
AddHandler cgi-script .cgi .pl

6. Restart Apache httpd :

[root@centos64 ~]# /sbin/service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

7. How to configure Apache httpd auto start at boot :

[root@centos64 ~]# chkconfig httpd on

8. How to check the apache access log :

[root@centos64 ~]# tail -f /var/log/httpd/access_log
192.168.2.52 - - [01/Apr/2013:23:14:35 +0800] "GET /index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2524 "http://192.168.2.62/" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
192.168.2.52 - - [01/Apr/2013:23:14:35 +0800] "GET /index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://192.168.2.62/" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
192.168.2.52 - - [01/Apr/2013:23:14:35 +0800] "GET / HTTP/1.1" 200 71412 "-" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
192.168.2.52 - - [01/Apr/2013:23:14:36 +0800] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
192.168.2.52 - - [01/Apr/2013:23:14:36 +0800] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"

How to Configure Static IP Address on CentOS 6.4

When you run one or more of any type of Web, DNS, Email, FTP or any other application server’s directly on your site, then you are require Static IP address. If you run a website hosting in Virtual Private Server (VPS), end user will types the domain name (e.g www.example.com) into their web browser it is translated via a DNS service to a specific IP address of your web server. Rules of thumb, any type of server is mandatory to have static IP Address because it is constant, otherwise the end user or the websites visitors will experience inaccessible website. This post will share how to setup Static IP Address on CentOS 6.4.

1. Configure static IP address on eth0 :

[root@centos64 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Original :

DEVICE=eth0
HWADDR=00:0C:29:F1:24:F0
TYPE=Ethernet
UUID=324bfeb3-2a7c-409c-98d0-5cf1607596c4
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp

Set to the following :

DEVICE=eth0
HWADDR=00:0C:29:F1:24:F0
TYPE=Ethernet
UUID=324bfeb3-2a7c-409c-98d0-5cf1607596c4
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=192.168.2.62
NETMASK=255.255.0.0

2. Configure gateway :

[root@centos64 ~]# vi /etc/sysconfig/network

Add gateway line :

NETWORKING=yes
HOSTNAME=centos64.ehowstuff.local
GATEWAY=192.168.2.1

3. Configure DNS :

; generated by /sbin/dhclient-script
search Belkin ehowstuff.local
nameserver 192.168.2.1

Update to the following :

search ehowstuff.local
nameserver 8.8.8.8

4. Restart network service to apply the changes :

[root@centos64 ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]

How to Install and Configure PHP 5.3.3 on CentOS 6.4

phpPHP is a widely-used and open-source server-side scripting language that was especially designed for web development to produce dynamic web pages and can be embedded into HTML. PHP applications are commonly found with the filename extensions .php, .php4, or .php5. You can read more information about PHP from their website at www.php.net. The following step will install full PHP package.

1. Install PHP using yum command :

[root@centos64 ~]# yum install php* -y

Example :

[root@centos64 ~]# yum install php* -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.ipserverone.com
 * extras: centos.ipserverone.com
 * updates: centos.ipserverone.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: php-5.3.3-22.el6.x86_64
--> Processing Dependency: httpd for package: php-5.3.3-22.el6.x86_64
---> Package php-bcmath.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-cli.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-dba.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-devel.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: automake for package: php-devel-5.3.3-22.el6.x86_64
--> Processing Dependency: autoconf for package: php-devel-5.3.3-22.el6.x86_64
---> Package php-embedded.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-enchant.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libenchant.so.1()(64bit) for package: php-enchant-5.3.3-22.el6.x86_64
---> Package php-fpm.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-gd.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libpng12.so.0(PNG12_0)(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libpng12.so.0()(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libfreetype.so.6()(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.3.3-22.el6.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php-gd-5.3.3-22.el6.x86_64
---> Package php-imap.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.3-22.el6.x86_64
---> Package php-intl.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libicuuc.so.42()(64bit) for package: php-intl-5.3.3-22.el6.x86_64
--> Processing Dependency: libicuio.so.42()(64bit) for package: php-intl-5.3.3-22.el6.x86_64
--> Processing Dependency: libicui18n.so.42()(64bit) for package: php-intl-5.3.3-22.el6.x86_64
--> Processing Dependency: libicudata.so.42()(64bit) for package: php-intl-5.3.3-22.el6.x86_64
---> Package php-ldap.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-mbstring.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-odbc.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libodbc.so.2()(64bit) for package: php-odbc-5.3.3-22.el6.x86_64
---> Package php-pdo.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-pear.noarch 1:1.9.4-4.el6 will be installed
---> Package php-pecl-apc.x86_64 0:3.1.9-2.el6 will be installed
---> Package php-pecl-apc-devel.x86_64 0:3.1.9-2.el6 will be installed
---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be installed
---> Package php-pgsql.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libpq.so.5()(64bit) for package: php-pgsql-5.3.3-22.el6.x86_64
---> Package php-process.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-pspell.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libpspell.so.15()(64bit) for package: php-pspell-5.3.3-22.el6.x86_64
--> Processing Dependency: libaspell.so.15()(64bit) for package: php-pspell-5.3.3-22.el6.x86_64
---> Package php-recode.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php-recode-5.3.3-22.el6.x86_64
---> Package php-snmp.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: net-snmp for package: php-snmp-5.3.3-22.el6.x86_64
--> Processing Dependency: libnetsnmp.so.20()(64bit) for package: php-snmp-5.3.3-22.el6.x86_64
---> Package php-soap.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-tidy.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.3-22.el6.x86_64
---> Package php-xml.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.3.3-22.el6.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.3.3-22.el6.x86_64
---> Package php-xmlrpc.x86_64 0:5.3.3-22.el6 will be installed
---> Package php-zts.x86_64 0:5.3.3-22.el6 will be installed
--> Running transaction check
---> Package aspell.x86_64 12:0.60.6-12.el6 will be installed
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
---> Package automake.noarch 0:1.11.1-4.el6 will be installed
---> Package enchant.x86_64 1:1.5.0-4.el6 will be installed
--> Processing Dependency: libhunspell-1.2.so.0()(64bit) for package: 1:enchant-1.5.0-4.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-14.el6_3.1 will be installed
---> Package httpd.x86_64 0:2.2.15-26.el6.centos will be installed
--> Processing Dependency: httpd-tools = 2.2.15-26.el6.centos for package: httpd-2.2.15-26.el6.centos.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-26.el6.centos.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-26.el6.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-26.el6.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-26.el6.centos.x86_64
---> Package libX11.x86_64 0:1.5.0-4.el6 will be installed
--> Processing Dependency: libX11-common = 1.5.0-4.el6 for package: libX11-1.5.0-4.el6.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.5.0-4.el6.x86_64
---> Package libXpm.x86_64 0:3.5.10-2.el6 will be installed
---> Package libc-client.x86_64 0:2007e-11.el6 will be installed
---> Package libicu.x86_64 0:4.2.1-9.1.el6_2 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.1-1.el6 will be installed
---> Package libpng.x86_64 2:1.2.49-1.el6_2 will be installed
---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
---> Package net-snmp.x86_64 1:5.5-44.el6 will be installed
--> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-5.5-44.el6.x86_64
---> Package net-snmp-libs.x86_64 1:5.5-44.el6 will be installed
---> Package postgresql-libs.x86_64 0:8.4.13-1.el6_3 will be installed
---> Package recode.x86_64 0:3.6-28.1.el6 will be installed
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.2.14-12.el6_3.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package httpd-tools.x86_64 0:2.2.15-26.el6.centos will be installed
---> Package hunspell.x86_64 0:1.2.8-16.el6 will be installed
---> Package libX11-common.noarch 0:1.5.0-4.el6 will be installed
---> Package libtool-ltdl.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package libxcb.x86_64 0:1.8.1-1.el6 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.8.1-1.el6.x86_64
---> Package lm_sensors-libs.x86_64 0:3.1.1-17.el6 will be installed
---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed
--> Running transaction check
---> Package libXau.x86_64 0:1.0.6-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                       Arch              Version                             Repository          Size
==============================================================================================================
Installing:
 php                           x86_64            5.3.3-22.el6                        base               1.1 M
 php-bcmath                    x86_64            5.3.3-22.el6                        base                34 k
 php-cli                       x86_64            5.3.3-22.el6                        base               2.2 M
 php-common                    x86_64            5.3.3-22.el6                        base               524 k
 php-dba                       x86_64            5.3.3-22.el6                        base                40 k
 php-devel                     x86_64            5.3.3-22.el6                        base               507 k
 php-embedded                  x86_64            5.3.3-22.el6                        base               1.1 M
 php-enchant                   x86_64            5.3.3-22.el6                        base                28 k
 php-fpm                       x86_64            5.3.3-22.el6                        base               1.1 M
 php-gd                        x86_64            5.3.3-22.el6                        base               106 k
 php-imap                      x86_64            5.3.3-22.el6                        base                50 k
 php-intl                      x86_64            5.3.3-22.el6                        base                70 k
 php-ldap                      x86_64            5.3.3-22.el6                        base                38 k
 php-mbstring                  x86_64            5.3.3-22.el6                        base               455 k
 php-mysql                     x86_64            5.3.3-22.el6                        base                81 k
 php-odbc                      x86_64            5.3.3-22.el6                        base                50 k
 php-pdo                       x86_64            5.3.3-22.el6                        base                75 k
 php-pear                      noarch            1:1.9.4-4.el6                       base               393 k
 php-pecl-apc                  x86_64            3.1.9-2.el6                         base                96 k
 php-pecl-apc-devel            x86_64            3.1.9-2.el6                         base               6.7 k
 php-pecl-memcache             x86_64            3.0.5-4.el6                         base                60 k
 php-pgsql                     x86_64            5.3.3-22.el6                        base                70 k
 php-process                   x86_64            5.3.3-22.el6                        base                39 k
 php-pspell                    x86_64            5.3.3-22.el6                        base                28 k
 php-recode                    x86_64            5.3.3-22.el6                        base                25 k
 php-snmp                      x86_64            5.3.3-22.el6                        base                30 k
 php-soap                      x86_64            5.3.3-22.el6                        base               139 k
 php-tidy                      x86_64            5.3.3-22.el6                        base                35 k
 php-xml                       x86_64            5.3.3-22.el6                        base               103 k
 php-xmlrpc                    x86_64            5.3.3-22.el6                        base                52 k
 php-zts                       x86_64            5.3.3-22.el6                        base               1.2 M
Installing for dependencies:
 apr                           x86_64            1.3.9-5.el6_2                       base               123 k
 apr-util                      x86_64            1.3.9-3.el6_0.1                     base                87 k
 apr-util-ldap                 x86_64            1.3.9-3.el6_0.1                     base                15 k
 aspell                        x86_64            12:0.60.6-12.el6                    base               648 k
 autoconf                      noarch            2.63-5.1.el6                        base               781 k
 automake                      noarch            1.11.1-4.el6                        base               550 k
 enchant                       x86_64            1:1.5.0-4.el6                       base                49 k
 freetype                      x86_64            2.3.11-14.el6_3.1                   updates            359 k
 httpd                         x86_64            2.2.15-26.el6.centos                base               821 k
 httpd-tools                   x86_64            2.2.15-26.el6.centos                base                72 k
 hunspell                      x86_64            1.2.8-16.el6                        base               177 k
 libX11                        x86_64            1.5.0-4.el6                         base               584 k
 libX11-common                 noarch            1.5.0-4.el6                         base               192 k
 libXau                        x86_64            1.0.6-4.el6                         base                24 k
 libXpm                        x86_64            3.5.10-2.el6                        base                51 k
 libc-client                   x86_64            2007e-11.el6                        base               515 k
 libicu                        x86_64            4.2.1-9.1.el6_2                     base               4.9 M
 libjpeg-turbo                 x86_64            1.2.1-1.el6                         base               174 k
 libpng                        x86_64            2:1.2.49-1.el6_2                    base               182 k
 libtidy                       x86_64            0.99.0-19.20070615.1.el6            base               127 k
 libtool-ltdl                  x86_64            2.2.6-15.5.el6                      base                44 k
 libxcb                        x86_64            1.8.1-1.el6                         base               110 k
 libxslt                       x86_64            1.1.26-2.el6_3.1                    base               452 k
 lm_sensors-libs               x86_64            3.1.1-17.el6                        base                38 k
 mailcap                       noarch            2.1.31-2.el6                        base                27 k
 net-snmp                      x86_64            1:5.5-44.el6                        base               303 k
 net-snmp-libs                 x86_64            1:5.5-44.el6                        base               1.5 M
 postgresql-libs               x86_64            8.4.13-1.el6_3                      base               200 k
 recode                        x86_64            3.6-28.1.el6                        base               712 k
 unixODBC                      x86_64            2.2.14-12.el6_3                     base               378 k

Transaction Summary
==============================================================================================================
Install      61 Package(s)

Total download size: 24 M
Installed size: 82 M
Downloading Packages:
(1/61): apr-1.3.9-5.el6_2.x86_64.rpm                                                   | 123 kB     00:02
(2/61): apr-util-1.3.9-3.el6_0.1.x86_64.rpm                                            |  87 kB     00:00
(3/61): apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm                                       |  15 kB     00:00
(4/61): aspell-0.60.6-12.el6.x86_64.rpm                                                | 648 kB     00:08
(5/61): autoconf-2.63-5.1.el6.noarch.rpm                                               | 781 kB     00:06
(6/61): automake-1.11.1-4.el6.noarch.rpm                                               | 550 kB     00:06
(7/61): enchant-1.5.0-4.el6.x86_64.rpm                                                 |  49 kB     00:00
(8/61): freetype-2.3.11-14.el6_3.1.x86_64.rpm                                          | 359 kB     00:04
(9/61): httpd-2.2.15-26.el6.centos.x86_64.rpm                                          | 821 kB     00:18
(10/61): httpd-tools-2.2.15-26.el6.centos.x86_64.rpm                                   |  72 kB     00:00
(11/61): hunspell-1.2.8-16.el6.x86_64.rpm                                              | 177 kB     00:01
(12/61): libX11-1.5.0-4.el6.x86_64.rpm                                                 | 584 kB     00:10
(13/61): libX11-common-1.5.0-4.el6.noarch.rpm                                          | 192 kB     00:01
(14/61): libXau-1.0.6-4.el6.x86_64.rpm                                                 |  24 kB     00:00
(15/61): libXpm-3.5.10-2.el6.x86_64.rpm                                                |  51 kB     00:00
(16/61): libc-client-2007e-11.el6.x86_64.rpm                                           | 515 kB     00:05
(17/61): libicu-4.2.1-9.1.el6_2.x86_64.rpm                                             | 4.9 MB     00:54
(18/61): libjpeg-turbo-1.2.1-1.el6.x86_64.rpm                                          | 174 kB     00:02
(19/61): libpng-1.2.49-1.el6_2.x86_64.rpm                                              | 182 kB     00:01
(20/61): libtidy-0.99.0-19.20070615.1.el6.x86_64.rpm                                   | 127 kB     00:01
(21/61): libtool-ltdl-2.2.6-15.5.el6.x86_64.rpm                                        |  44 kB     00:00
(22/61): libxcb-1.8.1-1.el6.x86_64.rpm                                                 | 110 kB     00:00
(23/61): libxslt-1.1.26-2.el6_3.1.x86_64.rpm                                           | 452 kB     00:03
(24/61): lm_sensors-libs-3.1.1-17.el6.x86_64.rpm                                       |  38 kB     00:01
(25/61): mailcap-2.1.31-2.el6.noarch.rpm                                               |  27 kB     00:00
(26/61): net-snmp-5.5-44.el6.x86_64.rpm                                                | 303 kB     00:03
(27/61): net-snmp-libs-5.5-44.el6.x86_64.rpm                                           | 1.5 MB     00:17
(28/61): php-5.3.3-22.el6.x86_64.rpm                                                   | 1.1 MB     00:11
(29/61): php-bcmath-5.3.3-22.el6.x86_64.rpm                                            |  34 kB     00:00
(30/61): php-cli-5.3.3-22.el6.x86_64.rpm                                               | 2.2 MB     00:24
(31/61): php-common-5.3.3-22.el6.x86_64.rpm                                            | 524 kB     00:07
(32/61): php-dba-5.3.3-22.el6.x86_64.rpm                                               |  40 kB     00:00
(33/61): php-devel-5.3.3-22.el6.x86_64.rpm                                             | 507 kB     00:04
(34/61): php-embedded-5.3.3-22.el6.x86_64.rpm                                          | 1.1 MB     00:10
(35/61): php-enchant-5.3.3-22.el6.x86_64.rpm                                           |  28 kB     00:00
(36/61): php-fpm-5.3.3-22.el6.x86_64.rpm                                               | 1.1 MB     00:11
(37/61): php-gd-5.3.3-22.el6.x86_64.rpm                                                | 106 kB     00:00
(38/61): php-imap-5.3.3-22.el6.x86_64.rpm                                              |  50 kB     00:01
(39/61): php-intl-5.3.3-22.el6.x86_64.rpm                                              |  70 kB     00:00
(40/61): php-ldap-5.3.3-22.el6.x86_64.rpm                                              |  38 kB     00:00
(41/61): php-mbstring-5.3.3-22.el6.x86_64.rpm                                          | 455 kB     00:05
(42/61): php-mysql-5.3.3-22.el6.x86_64.rpm                                             |  81 kB     00:00
(43/61): php-odbc-5.3.3-22.el6.x86_64.rpm                                              |  50 kB     00:00
(44/61): php-pdo-5.3.3-22.el6.x86_64.rpm                                               |  75 kB     00:00
(45/61): php-pear-1.9.4-4.el6.noarch.rpm                                               | 393 kB     00:12
(46/61): php-pecl-apc-3.1.9-2.el6.x86_64.rpm                                           |  96 kB     00:00
(47/61): php-pecl-apc-devel-3.1.9-2.el6.x86_64.rpm                                     | 6.7 kB     00:00
(48/61): php-pecl-memcache-3.0.5-4.el6.x86_64.rpm                                      |  60 kB     00:00
(49/61): php-pgsql-5.3.3-22.el6.x86_64.rpm                                             |  70 kB     00:00
(50/61): php-process-5.3.3-22.el6.x86_64.rpm                                           |  39 kB     00:00
(51/61): php-pspell-5.3.3-22.el6.x86_64.rpm                                            |  28 kB     00:00
(52/61): php-recode-5.3.3-22.el6.x86_64.rpm                                            |  25 kB     00:00
(53/61): php-snmp-5.3.3-22.el6.x86_64.rpm                                              |  30 kB     00:00
(54/61): php-soap-5.3.3-22.el6.x86_64.rpm                                              | 139 kB     00:01
(55/61): php-tidy-5.3.3-22.el6.x86_64.rpm                                              |  35 kB     00:00
(56/61): php-xml-5.3.3-22.el6.x86_64.rpm                                               | 103 kB     00:00
(57/61): php-xmlrpc-5.3.3-22.el6.x86_64.rpm                                            |  52 kB     00:00
(58/61): php-zts-5.3.3-22.el6.x86_64.rpm                                               | 1.2 MB     00:17
(59/61): postgresql-libs-8.4.13-1.el6_3.x86_64.rpm                                     | 200 kB     00:01
(60/61): recode-3.6-28.1.el6.x86_64.rpm                                                | 712 kB     00:06
(61/61): unixODBC-2.2.14-12.el6_3.x86_64.rpm                                           | 378 kB     00:02
--------------------------------------------------------------------------------------------------------------
Total                                                                          82 kB/s |  24 MB     04:56
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : php-common-5.3.3-22.el6.x86_64                                                            1/61
  Installing : php-pdo-5.3.3-22.el6.x86_64                                                               2/61
  Installing : apr-1.3.9-5.el6_2.x86_64                                                                  3/61
  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                                                           4/61
  Installing : php-cli-5.3.3-22.el6.x86_64                                                               5/61
  Installing : 1:php-pear-1.9.4-4.el6.noarch                                                             6/61
  Installing : lm_sensors-libs-3.1.1-17.el6.x86_64                                                       7/61
  Installing : 1:net-snmp-libs-5.5-44.el6.x86_64                                                         8/61
  Installing : autoconf-2.63-5.1.el6.noarch                                                              9/61
  Installing : automake-1.11.1-4.el6.noarch                                                             10/61
  Installing : 1:net-snmp-5.5-44.el6.x86_64                                                             11/61
  Installing : php-pecl-apc-3.1.9-2.el6.x86_64                                                          12/61
  Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                                                     13/61
  Installing : httpd-tools-2.2.15-26.el6.centos.x86_64                                                  14/61
  Installing : libXau-1.0.6-4.el6.x86_64                                                                15/61
  Installing : libxcb-1.8.1-1.el6.x86_64                                                                16/61
  Installing : libX11-common-1.5.0-4.el6.noarch                                                         17/61
  Installing : libX11-1.5.0-4.el6.x86_64                                                                18/61
  Installing : libXpm-3.5.10-2.el6.x86_64                                                               19/61
  Installing : postgresql-libs-8.4.13-1.el6_3.x86_64                                                    20/61
  Installing : mailcap-2.1.31-2.el6.noarch                                                              21/61
  Installing : httpd-2.2.15-26.el6.centos.x86_64                                                        22/61
  Installing : php-5.3.3-22.el6.x86_64                                                                  23/61
  Installing : php-devel-5.3.3-22.el6.x86_64                                                            24/61
  Installing : 2:libpng-1.2.49-1.el6_2.x86_64                                                           25/61
  Installing : libxslt-1.1.26-2.el6_3.1.x86_64                                                          26/61
  Installing : libtool-ltdl-2.2.6-15.5.el6.x86_64                                                       27/61
  Installing : unixODBC-2.2.14-12.el6_3.x86_64                                                          28/61
  Installing : libicu-4.2.1-9.1.el6_2.x86_64                                                            29/61
  Installing : recode-3.6-28.1.el6.x86_64                                                               30/61
  Installing : libc-client-2007e-11.el6.x86_64                                                          31/61
  Installing : freetype-2.3.11-14.el6_3.1.x86_64                                                        32/61
  Installing : 12:aspell-0.60.6-12.el6.x86_64                                                           33/61
  Installing : libtidy-0.99.0-19.20070615.1.el6.x86_64                                                  34/61
  Installing : libjpeg-turbo-1.2.1-1.el6.x86_64                                                         35/61
  Installing : hunspell-1.2.8-16.el6.x86_64                                                             36/61
  Installing : 1:enchant-1.5.0-4.el6.x86_64                                                             37/61
  Installing : php-enchant-5.3.3-22.el6.x86_64                                                          38/61
  Installing : php-gd-5.3.3-22.el6.x86_64                                                               39/61
  Installing : php-tidy-5.3.3-22.el6.x86_64                                                             40/61
  Installing : php-pspell-5.3.3-22.el6.x86_64                                                           41/61
  Installing : php-imap-5.3.3-22.el6.x86_64                                                             42/61
  Installing : php-recode-5.3.3-22.el6.x86_64                                                           43/61
  Installing : php-intl-5.3.3-22.el6.x86_64                                                             44/61
  Installing : php-odbc-5.3.3-22.el6.x86_64                                                             45/61
  Installing : php-xml-5.3.3-22.el6.x86_64                                                              46/61
  Installing : php-pecl-apc-devel-3.1.9-2.el6.x86_64                                                    47/61
  Installing : php-zts-5.3.3-22.el6.x86_64                                                              48/61
  Installing : php-pgsql-5.3.3-22.el6.x86_64                                                            49/61
  Installing : php-snmp-5.3.3-22.el6.x86_64                                                             50/61
  Installing : php-pecl-memcache-3.0.5-4.el6.x86_64                                                     51/61
  Installing : php-mysql-5.3.3-22.el6.x86_64                                                            52/61
  Installing : php-bcmath-5.3.3-22.el6.x86_64                                                           53/61
  Installing : php-fpm-5.3.3-22.el6.x86_64                                                              54/61
  Installing : php-xmlrpc-5.3.3-22.el6.x86_64                                                           55/61
  Installing : php-dba-5.3.3-22.el6.x86_64                                                              56/61
  Installing : php-mbstring-5.3.3-22.el6.x86_64                                                         57/61
  Installing : php-ldap-5.3.3-22.el6.x86_64                                                             58/61
  Installing : php-process-5.3.3-22.el6.x86_64                                                          59/61
  Installing : php-soap-5.3.3-22.el6.x86_64                                                             60/61
  Installing : php-embedded-5.3.3-22.el6.x86_64                                                         61/61
  Verifying  : hunspell-1.2.8-16.el6.x86_64                                                              1/61
  Verifying  : httpd-2.2.15-26.el6.centos.x86_64                                                         2/61
  Verifying  : php-recode-5.3.3-22.el6.x86_64                                                            3/61
  Verifying  : libjpeg-turbo-1.2.1-1.el6.x86_64                                                          4/61
  Verifying  : libtidy-0.99.0-19.20070615.1.el6.x86_64                                                   5/61
  Verifying  : libxcb-1.8.1-1.el6.x86_64                                                                 6/61
  Verifying  : libXpm-3.5.10-2.el6.x86_64                                                                7/61
  Verifying  : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                                                      8/61
  Verifying  : php-pecl-memcache-3.0.5-4.el6.x86_64                                                      9/61
  Verifying  : 12:aspell-0.60.6-12.el6.x86_64                                                           10/61
  Verifying  : php-bcmath-5.3.3-22.el6.x86_64                                                           11/61
  Verifying  : php-fpm-5.3.3-22.el6.x86_64                                                              12/61
  Verifying  : php-devel-5.3.3-22.el6.x86_64                                                            13/61
  Verifying  : 1:php-pear-1.9.4-4.el6.noarch                                                            14/61
  Verifying  : php-pspell-5.3.3-22.el6.x86_64                                                           15/61
  Verifying  : php-xml-5.3.3-22.el6.x86_64                                                              16/61
  Verifying  : httpd-tools-2.2.15-26.el6.centos.x86_64                                                  17/61
  Verifying  : freetype-2.3.11-14.el6_3.1.x86_64                                                        18/61
  Verifying  : php-mysql-5.3.3-22.el6.x86_64                                                            19/61
  Verifying  : php-enchant-5.3.3-22.el6.x86_64                                                          20/61
  Verifying  : libX11-1.5.0-4.el6.x86_64                                                                21/61
  Verifying  : unixODBC-2.2.14-12.el6_3.x86_64                                                          22/61
  Verifying  : automake-1.11.1-4.el6.noarch                                                             23/61
  Verifying  : php-gd-5.3.3-22.el6.x86_64                                                               24/61
  Verifying  : apr-util-1.3.9-3.el6_0.1.x86_64                                                          25/61
  Verifying  : php-tidy-5.3.3-22.el6.x86_64                                                             26/61
  Verifying  : php-cli-5.3.3-22.el6.x86_64                                                              27/61
  Verifying  : libc-client-2007e-11.el6.x86_64                                                          28/61
  Verifying  : php-common-5.3.3-22.el6.x86_64                                                           29/61
  Verifying  : 1:enchant-1.5.0-4.el6.x86_64                                                             30/61
  Verifying  : recode-3.6-28.1.el6.x86_64                                                               31/61
  Verifying  : php-pecl-apc-3.1.9-2.el6.x86_64                                                          32/61
  Verifying  : libicu-4.2.1-9.1.el6_2.x86_64                                                            33/61
  Verifying  : autoconf-2.63-5.1.el6.noarch                                                             34/61
  Verifying  : libtool-ltdl-2.2.6-15.5.el6.x86_64                                                       35/61
  Verifying  : libxslt-1.1.26-2.el6_3.1.x86_64                                                          36/61
  Verifying  : 2:libpng-1.2.49-1.el6_2.x86_64                                                           37/61
  Verifying  : mailcap-2.1.31-2.el6.noarch                                                              38/61
  Verifying  : apr-1.3.9-5.el6_2.x86_64                                                                 39/61
  Verifying  : 1:net-snmp-5.5-44.el6.x86_64                                                             40/61
  Verifying  : php-xmlrpc-5.3.3-22.el6.x86_64                                                           41/61
  Verifying  : postgresql-libs-8.4.13-1.el6_3.x86_64                                                    42/61
  Verifying  : php-odbc-5.3.3-22.el6.x86_64                                                             43/61
  Verifying  : libX11-common-1.5.0-4.el6.noarch                                                         44/61
  Verifying  : php-imap-5.3.3-22.el6.x86_64                                                             45/61
  Verifying  : php-dba-5.3.3-22.el6.x86_64                                                              46/61
  Verifying  : php-mbstring-5.3.3-22.el6.x86_64                                                         47/61
  Verifying  : php-ldap-5.3.3-22.el6.x86_64                                                             48/61
  Verifying  : php-5.3.3-22.el6.x86_64                                                                  49/61
  Verifying  : php-pecl-apc-devel-3.1.9-2.el6.x86_64                                                    50/61
  Verifying  : 1:net-snmp-libs-5.5-44.el6.x86_64                                                        51/61
  Verifying  : php-pgsql-5.3.3-22.el6.x86_64                                                            52/61
  Verifying  : php-snmp-5.3.3-22.el6.x86_64                                                             53/61
  Verifying  : libXau-1.0.6-4.el6.x86_64                                                                54/61
  Verifying  : php-pdo-5.3.3-22.el6.x86_64                                                              55/61
  Verifying  : lm_sensors-libs-3.1.1-17.el6.x86_64                                                      56/61
  Verifying  : php-process-5.3.3-22.el6.x86_64                                                          57/61
  Verifying  : php-soap-5.3.3-22.el6.x86_64                                                             58/61
  Verifying  : php-embedded-5.3.3-22.el6.x86_64                                                         59/61
  Verifying  : php-intl-5.3.3-22.el6.x86_64                                                             60/61
  Verifying  : php-zts-5.3.3-22.el6.x86_64                                                              61/61

Installed:
  php.x86_64 0:5.3.3-22.el6                             php-bcmath.x86_64 0:5.3.3-22.el6
  php-cli.x86_64 0:5.3.3-22.el6                         php-common.x86_64 0:5.3.3-22.el6
  php-dba.x86_64 0:5.3.3-22.el6                         php-devel.x86_64 0:5.3.3-22.el6
  php-embedded.x86_64 0:5.3.3-22.el6                    php-enchant.x86_64 0:5.3.3-22.el6
  php-fpm.x86_64 0:5.3.3-22.el6                         php-gd.x86_64 0:5.3.3-22.el6
  php-imap.x86_64 0:5.3.3-22.el6                        php-intl.x86_64 0:5.3.3-22.el6
  php-ldap.x86_64 0:5.3.3-22.el6                        php-mbstring.x86_64 0:5.3.3-22.el6
  php-mysql.x86_64 0:5.3.3-22.el6                       php-odbc.x86_64 0:5.3.3-22.el6
  php-pdo.x86_64 0:5.3.3-22.el6                         php-pear.noarch 1:1.9.4-4.el6
  php-pecl-apc.x86_64 0:3.1.9-2.el6                     php-pecl-apc-devel.x86_64 0:3.1.9-2.el6
  php-pecl-memcache.x86_64 0:3.0.5-4.el6                php-pgsql.x86_64 0:5.3.3-22.el6
  php-process.x86_64 0:5.3.3-22.el6                     php-pspell.x86_64 0:5.3.3-22.el6
  php-recode.x86_64 0:5.3.3-22.el6                      php-snmp.x86_64 0:5.3.3-22.el6
  php-soap.x86_64 0:5.3.3-22.el6                        php-tidy.x86_64 0:5.3.3-22.el6
  php-xml.x86_64 0:5.3.3-22.el6                         php-xmlrpc.x86_64 0:5.3.3-22.el6
  php-zts.x86_64 0:5.3.3-22.el6

Dependency Installed:
  apr.x86_64 0:1.3.9-5.el6_2                           apr-util.x86_64 0:1.3.9-3.el6_0.1
  apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1               aspell.x86_64 12:0.60.6-12.el6
  autoconf.noarch 0:2.63-5.1.el6                       automake.noarch 0:1.11.1-4.el6
  enchant.x86_64 1:1.5.0-4.el6                         freetype.x86_64 0:2.3.11-14.el6_3.1
  httpd.x86_64 0:2.2.15-26.el6.centos                  httpd-tools.x86_64 0:2.2.15-26.el6.centos
  hunspell.x86_64 0:1.2.8-16.el6                       libX11.x86_64 0:1.5.0-4.el6
  libX11-common.noarch 0:1.5.0-4.el6                   libXau.x86_64 0:1.0.6-4.el6
  libXpm.x86_64 0:3.5.10-2.el6                         libc-client.x86_64 0:2007e-11.el6
  libicu.x86_64 0:4.2.1-9.1.el6_2                      libjpeg-turbo.x86_64 0:1.2.1-1.el6
  libpng.x86_64 2:1.2.49-1.el6_2                       libtidy.x86_64 0:0.99.0-19.20070615.1.el6
  libtool-ltdl.x86_64 0:2.2.6-15.5.el6                 libxcb.x86_64 0:1.8.1-1.el6
  libxslt.x86_64 0:1.1.26-2.el6_3.1                    lm_sensors-libs.x86_64 0:3.1.1-17.el6
  mailcap.noarch 0:2.1.31-2.el6                        net-snmp.x86_64 1:5.5-44.el6
  net-snmp-libs.x86_64 1:5.5-44.el6                    postgresql-libs.x86_64 0:8.4.13-1.el6_3
  recode.x86_64 0:3.6-28.1.el6                         unixODBC.x86_64 0:2.2.14-12.el6_3

Complete!

2. Check and verify the installed PHP packages :

[root@centos64 ~]# rpm -qa | grep php
php-gd-5.3.3-22.el6.x86_64
php-pspell-5.3.3-22.el6.x86_64
php-recode-5.3.3-22.el6.x86_64
php-odbc-5.3.3-22.el6.x86_64
php-pecl-apc-devel-3.1.9-2.el6.x86_64
php-pgsql-5.3.3-22.el6.x86_64
php-pecl-memcache-3.0.5-4.el6.x86_64
php-bcmath-5.3.3-22.el6.x86_64
php-xmlrpc-5.3.3-22.el6.x86_64
php-mbstring-5.3.3-22.el6.x86_64
php-process-5.3.3-22.el6.x86_64
php-embedded-5.3.3-22.el6.x86_64
php-pdo-5.3.3-22.el6.x86_64
php-pear-1.9.4-4.el6.noarch
php-pecl-apc-3.1.9-2.el6.x86_64
php-devel-5.3.3-22.el6.x86_64
php-enchant-5.3.3-22.el6.x86_64
php-tidy-5.3.3-22.el6.x86_64
php-imap-5.3.3-22.el6.x86_64
php-intl-5.3.3-22.el6.x86_64
php-xml-5.3.3-22.el6.x86_64
php-zts-5.3.3-22.el6.x86_64
php-snmp-5.3.3-22.el6.x86_64
php-mysql-5.3.3-22.el6.x86_64
php-fpm-5.3.3-22.el6.x86_64
php-dba-5.3.3-22.el6.x86_64
php-ldap-5.3.3-22.el6.x86_64
php-soap-5.3.3-22.el6.x86_64
php-common-5.3.3-22.el6.x86_64
php-cli-5.3.3-22.el6.x86_64
php-5.3.3-22.el6.x86_64

3. Verify PHP Version :

[root@centos64 ~]# php -v
PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

4. Do backup original php.ini :

[root@centos64 ~]# cp -a /etc/php.ini /etc/php.ini.15032013

5. Configure PHP :

[root@centos64 ~]# vi /etc/php.ini

a. Increase PHP script memory limit :

memory_limit = 128M

b. ncrease PHP script max execution time :

max_execution_time = 120

c. Increase PHP script max upload size :

upload_max_filesize = 50M

6. Restart Apache Server :

[root@centos64 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

4 Steps to Disable SELinux on CentOS 6.4

There are four easy steps to disable Security-Enhanced Linux (SELinux) on CentOS 6.4. The steps was very simple, but if we did not disable this feature, you may hit a problem when try to do software installation. SELinux checking for allowed operations after standard Linux discretionary access controls are checked. Follow below steps to disable SELinux on CentOS 6.4.

1. Check selinux status :

[root@centos64 ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted

2. Disable SELinux immediately without reboot :

[root@centos64 ~]# setenforce 0

3. Disable SELinux on CentOS 6.4 permanently :

[root@centos64 ~]# vi /etc/sysconfig/selinux

Change “SELINUX=enforcing” to “SELINUX=disabled” :

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

4. Reboot Operating system :

[root@centos64 ~]# reboot

How to Install VMware Tools on CentOS 6.4

vmware-toolsThis post provides steps to install VMware Tools in CentOS 6.4. It is very important to install VMware Tools in the guest operating system. Without the VMware Tools, guest OS performance will lacks some of the important functionality. VMware Tools is a group of utilities that enhances the overall performance of the virtual machine’s guest operating system (OS) and improves management of the virtual machine (VM). This is one of important components in order to provide perfect VM OS.

1. Choose your VM –> Click “Install VMware Tools” from the VMware Workstation menu, VMware Workstation temporarily connects the virtual machine’s first virtual CD-ROM drive to the ISO image file that contains the VMware Tools installer for your guest operating system and you are ready to begin the installation process.

2. Install prerequisites :

[root@centos64 ~]# yum install perl gcc make -y

Example :

[root@centos64 ~]# yum install perl gcc make -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.ipserverone.com
 * extras: centos.ipserverone.com
 * updates: centos.ipserverone.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.4.7-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-3.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-3.el6.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-3.el6.x86_64
---> Package make.x86_64 1:3.81-20.el6 will be installed
---> Package perl.x86_64 4:5.10.1-129.el6 will be installed
--> Processing Dependency: perl-libs = 4:5.10.1-129.el6 for package: 4:perl-5.10.1-129.el6.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.10.1-129.el6.x86_64
--> Processing Dependency: perl(version) for package: 4:perl-5.10.1-129.el6.x86_64
--> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-129.el6.x86_64
--> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-129.el6.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-129.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-3.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-3.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.107.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.107.el6.x86_64
---> Package libgomp.x86_64 0:4.4.7-3.el6 will be installed
---> Package perl-Module-Pluggable.x86_64 1:3.90-129.el6 will be installed
---> Package perl-Pod-Simple.x86_64 1:3.13-129.el6 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-129.el6.x86_64
---> Package perl-libs.x86_64 4:5.10.1-129.el6 will be installed
---> Package perl-version.x86_64 3:0.77-129.el6 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.12-1.107.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.107.el6.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.107.el6.x86_64
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package perl-Pod-Escapes.x86_64 1:1.04-129.el6 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.32-358.2.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package                          Arch              Version                          Repository          Size
==============================================================================================================
Installing:
 gcc                              x86_64            4.4.7-3.el6                      base                10 M
 make                             x86_64            1:3.81-20.el6                    base               389 k
 perl                             x86_64            4:5.10.1-129.el6                 base                10 M
Installing for dependencies:
 cloog-ppl                        x86_64            0.15.7-1.2.el6                   base                93 k
 cpp                              x86_64            4.4.7-3.el6                      base               3.7 M
 glibc-devel                      x86_64            2.12-1.107.el6                   base               974 k
 glibc-headers                    x86_64            2.12-1.107.el6                   base               604 k
 kernel-headers                   x86_64            2.6.32-358.2.1.el6               updates            2.3 M
 libgomp                          x86_64            4.4.7-3.el6                      base               118 k
 mpfr                             x86_64            2.4.1-6.el6                      base               157 k
 perl-Module-Pluggable            x86_64            1:3.90-129.el6                   base                38 k
 perl-Pod-Escapes                 x86_64            1:1.04-129.el6                   base                31 k
 perl-Pod-Simple                  x86_64            1:3.13-129.el6                   base               210 k
 perl-libs                        x86_64            4:5.10.1-129.el6                 base               576 k
 perl-version                     x86_64            3:0.77-129.el6                   base                50 k
 ppl                              x86_64            0.10.2-11.el6                    base               1.3 M

Transaction Summary
==============================================================================================================
Install      16 Package(s)

Total download size: 31 M
Installed size: 75 M
Downloading Packages:
(1/16): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm                                            |  93 kB     00:01
(2/16): cpp-4.4.7-3.el6.x86_64.rpm                                                     | 3.7 MB     00:36
(3/16): gcc-4.4.7-3.el6.x86_64.rpm                                                     |  10 MB     01:36
(4/16): glibc-devel-2.12-1.107.el6.x86_64.rpm                                          | 974 kB     00:08
(5/16): glibc-headers-2.12-1.107.el6.x86_64.rpm                                        | 604 kB     00:10
(6/16): kernel-headers-2.6.32-358.2.1.el6.x86_64.rpm                                   | 2.3 MB     00:23
(7/16): libgomp-4.4.7-3.el6.x86_64.rpm                                                 | 118 kB     00:00
(8/16): make-3.81-20.el6.x86_64.rpm                                                    | 389 kB     00:03
(9/16): mpfr-2.4.1-6.el6.x86_64.rpm                                                    | 157 kB     00:01
(10/16): perl-5.10.1-129.el6.x86_64.rpm                                                |  10 MB     01:40
(11/16): perl-Module-Pluggable-3.90-129.el6.x86_64.rpm                                 |  38 kB     00:00
(12/16): perl-Pod-Escapes-1.04-129.el6.x86_64.rpm                                      |  31 kB     00:00
(13/16): perl-Pod-Simple-3.13-129.el6.x86_64.rpm                                       | 210 kB     00:02
(14/16): perl-libs-5.10.1-129.el6.x86_64.rpm                                           | 576 kB     00:05
(15/16): perl-version-0.77-129.el6.x86_64.rpm                                          |  50 kB     00:00
(16/16): ppl-0.10.2-11.el6.x86_64.rpm                                                  | 1.3 MB     00:11
--------------------------------------------------------------------------------------------------------------
Total                                                                         103 kB/s |  31 MB     05:06
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:perl-Pod-Escapes-1.04-129.el6.x86_64                                                    1/16
  Installing : 4:perl-libs-5.10.1-129.el6.x86_64                                                         2/16
  Installing : 3:perl-version-0.77-129.el6.x86_64                                                        3/16
  Installing : 1:perl-Module-Pluggable-3.90-129.el6.x86_64                                               4/16
  Installing : 1:perl-Pod-Simple-3.13-129.el6.x86_64                                                     5/16
  Installing : 4:perl-5.10.1-129.el6.x86_64                                                              6/16
  Installing : ppl-0.10.2-11.el6.x86_64                                                                  7/16
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                                           8/16
  Installing : kernel-headers-2.6.32-358.2.1.el6.x86_64                                                  9/16
  Installing : glibc-headers-2.12-1.107.el6.x86_64                                                      10/16
  Installing : glibc-devel-2.12-1.107.el6.x86_64                                                        11/16
  Installing : libgomp-4.4.7-3.el6.x86_64                                                               12/16
  Installing : mpfr-2.4.1-6.el6.x86_64                                                                  13/16
  Installing : cpp-4.4.7-3.el6.x86_64                                                                   14/16
  Installing : gcc-4.4.7-3.el6.x86_64                                                                   15/16
  Installing : 1:make-3.81-20.el6.x86_64                                                                16/16
  Verifying  : glibc-devel-2.12-1.107.el6.x86_64                                                         1/16
  Verifying  : gcc-4.4.7-3.el6.x86_64                                                                    2/16
  Verifying  : 1:perl-Pod-Escapes-1.04-129.el6.x86_64                                                    3/16
  Verifying  : 1:perl-Pod-Simple-3.13-129.el6.x86_64                                                     4/16
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                                                   5/16
  Verifying  : libgomp-4.4.7-3.el6.x86_64                                                                6/16
  Verifying  : 4:perl-5.10.1-129.el6.x86_64                                                              7/16
  Verifying  : 4:perl-libs-5.10.1-129.el6.x86_64                                                         8/16
  Verifying  : cpp-4.4.7-3.el6.x86_64                                                                    9/16
  Verifying  : 1:make-3.81-20.el6.x86_64                                                                10/16
  Verifying  : 3:perl-version-0.77-129.el6.x86_64                                                       11/16
  Verifying  : 1:perl-Module-Pluggable-3.90-129.el6.x86_64                                              12/16
  Verifying  : kernel-headers-2.6.32-358.2.1.el6.x86_64                                                 13/16
  Verifying  : ppl-0.10.2-11.el6.x86_64                                                                 14/16
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                                          15/16
  Verifying  : glibc-headers-2.12-1.107.el6.x86_64                                                      16/16

Installed:
  gcc.x86_64 0:4.4.7-3.el6          make.x86_64 1:3.81-20.el6          perl.x86_64 4:5.10.1-129.el6

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6                     cpp.x86_64 0:4.4.7-3.el6
  glibc-devel.x86_64 0:2.12-1.107.el6                   glibc-headers.x86_64 0:2.12-1.107.el6
  kernel-headers.x86_64 0:2.6.32-358.2.1.el6            libgomp.x86_64 0:4.4.7-3.el6
  mpfr.x86_64 0:2.4.1-6.el6                             perl-Module-Pluggable.x86_64 1:3.90-129.el6
  perl-Pod-Escapes.x86_64 1:1.04-129.el6                perl-Pod-Simple.x86_64 1:3.13-129.el6
  perl-libs.x86_64 4:5.10.1-129.el6                     perl-version.x86_64 3:0.77-129.el6
  ppl.x86_64 0:0.10.2-11.el6

Complete!

3. Reboot VM.

[root@centos64 ~]# reboot

4. Mount the installer.

[root@centos64 ~]# mount -t iso9660 /dev/cdrom /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only

5. Copy the installer to /tmp :

[root@centos64 ~]# cd /mnt
[root@centos64 mnt]# cp VMwareTools-9.2.2-893683.tar.gz /tmp

6. Extract the installer :

[root@centos64 ~]# cd /tmp
[root@centos64 tmp]# tar xzvf VMwareTools-9.2.2-893683.tar.gz

7. Enter the vmware-tools-distrib directory :

[root@centos64 tmp]# cd vmware-tools-distrib/

8. Install the VMware Tools :

[root@centos64 vmware-tools-distrib]# ./vmware-install.pl

Download CentOS 6.4 x86_64 and x86 ISO

CentOS 6.4 has been released 9th March 2013. As we know, CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public. It has 100% binary compatibility with its upstream source, Red Hat Enterprise Linux (RHEL).

Released Note :
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.4

Download URL for x86 and x64 ISO
http://isoredirect.centos.org/centos/6/isos/i386/
http://isoredirect.centos.org/centos/6/isos/x86_64/

Install Media and sha1sum :

sha1sum i386:

4bd3a1de6f6dfcd7a2199487abf5a9304d696cae  CentOS-6.4-i386-bin-DVD1.iso
fb096cd6ac88959a287256c76c7292ae2ef53f32  CentOS-6.4-i386-bin-DVD2.iso
ddb63a0af2c1d63b8e9b7342c7f52a86b1842689  CentOS-6.4-i386-minimal.iso
6ffc9f3a5f4332b55cc35f1eb3ebb39f5aa8edb6  CentOS-6.4-i386-netinstall.iso

sha1sum x86_64:

8672dc087f1b0eda60b9efaa41b82f034f185e24  CentOS-6.4-x86_64-bin-DVD1.iso
db16ec15897dcb7a01e7434486075f43ca982c4b  CentOS-6.4-x86_64-bin-DVD2.iso
6232efa014d9c6798396b63152c4c9a08b279f5e  CentOS-6.4-x86_64-minimal.iso
77817ed6e879da155b6f3dc98e0698e8993e28f8  CentOS-6.4-x86_64-netinstall.iso