A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.


CentOS 6.5 x64 RHCS GFS

# cat /etc/hosts cluster1 cluster2

[root@cluster1 ~]# iptables -F [root@cluster1 ~]# iptables-save > /etc/sysconfig/iptables [root@cluster1 ~]# /etc/init.d/iptables restart iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: [ OK ] iptables: Applying firewall […]

LVM volumes on CentOS / RHEL 7 with System Storage Manager

LVM volumes on CentOS / RHEL 7 with System Storage Manager

Logical Volume Manager (LVM) is an extremely flexible disk management scheme, allowing you to create and resize logical disk volumes off of multiple physical hard drives with no downtime. However, its powerful features come with the price of a somewhat steep learning curves, with […]


XFS File System

What is XFS?

XFS is a highly scalable, high-performance file journalling file system which was originally designed at Silicon Graphics, Inc in 1993. Originally XFS was used on Silicon Graphics Inc’s own operating system Irix, however, it was later ported to the Linux kernel in 2001. Today XFS is supported by most […]



How to block brute force attacks on your SSH server

You have probably seen very simple iptables rules to do this. This is a little bit better.

-A INPUT -i eth0.103 -p tcp -m tcp –dport 22 -m state –state NEW -m recent –set –name SSH –rsource -A INPUT -i eth0.103 -p tcp -m tcp –dport 22 -m recent –rcheck –seconds 30 –hitcount 4 –rttl […]

Apache Error: “semget: No space left on device”

If Apache fails, and will not successfully start again, check the error log. If you see an error similar to the following, it could indicate that your server has run out of semaphores.

semget: No space left on device

To see how many semaphores are being used, SSH to your server as root and run […]

How to install LAMP (Linux Apache, MariaDB & PHP) on CentOS 7

yum install mariadb mariadb-server mysql


MariaDB is the default database server in CentOS 7, so go ahead and install it with yum using the following command:

## yum install mariadb mariadb-server mysql

Once installed, add bind-address = to /etc/my.cnf.d/server.cnf to bind MariaDB to localhost only:

## vim /etc/my.cnf.d/server.cnf

[mysqld] #log-bin=mysql-bin #binlog_format=mixed […]