Disable dmraid support when installing CentOS 6.x
When the Centos installation disk ask for the choice of text mode or graphic mode, use "Tab" to edit and add the following at the end. nodmraid
When the Centos installation disk ask for the choice of text mode or graphic mode, use "Tab" to edit and add the following at the end. nodmraid
# yum install gcc gcc-c++ kernel-devel # ln -s /usr/src/kernels/[your kernel version] /usr/src/linux # mkdir /mnt/cdrom # mount /dev/cdrom /mnt/cdrom # cd /mnt/cdrom # cp VMwareTools-[version].tar.gz /tmp # cd /tmp…
Download From http://sourceforge.net/projects/rkhunter/ Install tar zxvf rkhunter-* cd rkhunter-* ./installer.sh --install cd .. rm -rf rkhunter* Run /usr/local/bin/rkhunter --update to update the database Run /usr/local/bin/rkhunter --propupd to create pre-required MD5…
You may use .htaccess to enable php feature by php_value output_buffering On However, If the php is not running as Apache modules, 500 errors probably come up. In this case…
Here is the command awk '{s += $1} END {print s}' mydatafile.txt
With Red Hat Enterprise Linux 5.x using the Linux 2.6.18 kernel, EXT3, and GCC 4.1 by default, there's quite a number of areas in Red Hat Enterprise Linux 6.0 where…
Download and install iperf Start a server by using command: iperf -s Test the bandwidth by using command: iperf -i 10 -m -t 120 -c IP_ADDRESS
This is a notice in the topic of Linux Ethernet Bonding with two ethernet NIC
The case:
There is a server with two ethernet NIC. They are going to be set as either load balancing or active-passive mode.
In order to resize the raid file system from small capacity to larger one, we should reset the raid size and file system size to new setting.
Here are two simple case studies to increase and reduce raid size.
Case 1: Increase the size of /dev/md4 from 4GB to 8GB
Case 2: Reduce the size of /dev/md4 from 8GB to 6GB
Reference: HowToForge