Archive for March, 2012


Disable IPv6 in RHEL5

Disable IPv6 in RHEL5

Unless your policy or network configuration requires it, disable IPv6.

To do so, prevent the kernel module from loading by adding the following line to

install ipv6 /bin/true

Next, add or change the following lines in /etc/sysconfig/network:


How to check mysqli support in cpanel servers.

The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at ยป

To check if mysqli is installed run the following command.

/usr/local/bin/php -m | grep -i mysql

To install

# /scripts/easyapache

Select the package mysql improved from Exhaustive options list

To verify whether mysqli is installed

# /usr/local/bin/php -m | grep -i mysql

How can I get yum to keep package at a certain version.

There are several ways you can do this.

One is to exclude it from your updates list. See man yum.conf for more details.
Another way to pin package to a certain version is to use the versionlock plugin.

If you are using the latest Fedora then the plugin can be installed using:

yum install yum-plugin-versionlock

To add files that you want version locked, use the following yum command:

yum versionlock [package-name]

virtualization with Red Hat Enterprise Linux - System requirements.

This chapter lists system requirements for successfully running virtualization with Red Hat Enterprise Linux. Virtualization is available for Red Hat Enterprise Linux 5 Server.

The requirements for virtualization vary depending on the type of hypervisor. The Kernel-based Virtual Machine (KVM) and Xen hypervisors are provided with Red Hat Enterprise Linux 5. Both the KVM and Xen hypervisors support Full virtualization. The Xen hypervisor also supports Para-virtualization.

Minimum system requirements

6GB free disk space
2GB of RAM.

Recommended system requirements

6GB plus the required disk space recommended by the guest operating system per guest. For most operating systems more than 6GB of disk space is recommended.
One processor core or hyper-thread for each virtualized CPU and one for the hypervisor.
2GB of RAM plus additional RAM for virtualized guests.

Creating versus Purchasing a SSL Certificate

Based on the needs of your website, you may decide to either create a self-signed certificate or purchase an SSL certificate. If your site only handles minimally senstitive data, then creating your own self-signed certificate may be appropriate.

If your site handles extremely senstitive data (such as credit card information), you should purchase an SSL certificate. Buying a certificate offers a third-party verification system to ensure visitors the security of your site.

Next »