Howtos / Articles

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 [...]

How To Disable root Logins Over SSH on CentOS

Most Linux distributions allow the root user to connect in via SSH, and CentOS is no exception. It is recommended that root logins are never used, and you should use either su or sudo to elevate the permissions of a normal user account. As such, the best option is to disable root logins in the SSH server configuration file. Note: these commands should be run as a user with root privileges (sudo or su), or from the console as root.…

Read more [...]

How To Disable IPv6 on CentOS

A default install of CentOS will enable IPv6 connectivity. If you don’t need IPv6, there is no need to have it enabled. Follow the steps below to disable IPv6 on a CentOS install. Note: Run these commands as a user with root privileges. Check to see if you’re installation is currently set up for IPv6: # cat /proc/sys/net/ipv6/conf/all/disable_ipv6 If the output is 0, IPv6 is enabled.
If the output is 1, IPv6 is already disabled. Edit the /etc/sysctl.conf file to…

Read more [...]



Page 2 of 3123