Ghost Vulnerability

A very serious security problem has been found and patched in the GNU C Library called Glibc. It was announced on 27th January 2015. Here are the affected Linux distros: RHEL (Red Hat Enterprise Linux) version 5.x, 6.x and 7.x CentOS Linux version 5.x, 6.x & 7.x Ubuntu Linux version 10.04, 12.04 LTS Debian Linux […]

Read More

Mount ntfs on CentOS 6

For CentOS-6 the EPEL repository is carrying later NTFS packages. EPEL is also usable for CentOS-5. To install, after enabling the repo per the Repositories page: # yum install ntfs-3g or if you prefer to leave EPEL disabled by default # yum –enablerepo epel install ntfs-3g You may also want to yum install ntfsprogs ntfsprogs-gnomevfs […]

Read More

Fail2Ban Setup on CentOS 6.6

Because fail2ban is not available from CentOS, we should start by downloading the EPEL repository: rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Follow up by installing fail2ban: yum install fail2ban The default fail2ban configuration file is location at /etc/fail2ban/jail.conf. The configuration work should not be done in that file, however, and we should instead make a local copy of […]

Read More

Change the gateway in CentoS

Edit the netowrk file # nano /etc/sysconfig/network You should see this: HOSTNAME=host.domain.com # ============================================================= # Network Script generated by BareMetal # ============================================================= NETWORKING=yes NETWORKING_IPV6=no GATEWAY=216.xx.xx.1 Change the Gateway and save then restart networking # service network restart

Read More

Changing the primary IP address of a CentOS Server

ssh to the server. #nano /etc/sysconfig/network-scripts/ifcfg-eth0 You will find… # ============================================================= # Network Interface Script generated by BareMetal # ============================================================= DEVICE=eth0 BOOTPROTO=STATIC ONBOOT=yes IPADDR=216.55.xx.xx NETMASK=255.255.255.0 HWADDR=6C:62:xx:xx:xx:C3 Change this line only to the new IP IPADDR=216.55.xx.xx Note: If you are changing to an IP on a different subnet and need to change your default gateway, this […]

Read More