Howtos / Articles

Save iptables firewall config on CentOS 6

Changes you make to iptables firewall rules only exist for the current boot, and if you don’t save the config, you will loose any changes upon rebooting. CentOS 6 blocks most incoming ports by default, so you will generally have to make changes to the firewall if you install any new packages. Thankfully CentOS 6 provides the ability to easily save the configuration. To save the current iptables firewall config, issue the following command: # service iptables save Example output:…

Read more [...]

Installing NGINX, PHP, and MySQL on CentOS 6

This “how to” guide will step you through the process of setting up Nginx, PHP, and MySQL on CentOS 6.…

Read more [...]

Installing HAProxy on CentOS 6

This guide will step you through the process of installing HAProxy on CentOS 6. To install HAProxy on CentOS 6 you first need to set up your installation to use the epel software repository. HAProxy is not available in the default CentOS repositories. (Note: All commands below require root privileges.) rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm You can now install haproxy. yum -y install haproxy Now that HAProxy is installed, you can configure the haproxy.cfg file. vi /etc/haproxy/haproxy.cfg Once you have configured HAProxy,…

Read more [...]

Monitoring Compaq or HP Smart Array RAID status on CentOS

This howto will step you through the process of setting up the required software to be able to check the status of a Compaq or HP Smart Array and the attached physical and logical drives on CentOS 6 or RHEL. The required program to be able to talk to the Smart Array is called ‘hpacucli’, which can be found in the ‘HP Service Pack for ProLiant’ package. (Note: Some of the commands below require root privileges.) Obtaining and Installing the…

Read more [...]

Installing lspci on CentOS

The lspci command, which can be found in the pciutils package, is a great tool for finding information on the devices in your PC. the lspci command will allow you to get the model number/chip details for devices such as network interface cards, sound cards, raid cards, etc. To install pciutils on CentOS/RHEL using yum: (make sure you are logged in with root privileges) # yum install pciutils Example installation output: # yum install pciutils Loaded plugins: fastestmirror, presto Loading…

Read more [...]



Page 2 of 3123