Tag Archives: linux

iptables quick isolation

The following iptables for quick isolation of port 8080 on eth1. eth0 is open for all. # iptables -A INPUT -s 127.0.0.1 -j ACCEPT # iptables -A INPUT -i eth0 -j ACCEPT # iptables -A INPUT -i eth1 -p tcp … Continue reading

Share
Posted in Uncategorized | Tagged , | Comments Off on iptables quick isolation

Notes on OCFS2

CentOS 6.5, uname -r => 2.6.39-400.211.3.el6uek.x86_64, ocfs2-tools version 1.8.0-10.el6 Important Global heartbeat works with ocfs2-tools-1.8.0-11 and later. A nice post about global heartbeat https://blogs.oracle.com/wim/entry/ocfs2_global_heartbeat. An oracle article http://docs.oracle.com/cd/E37670_01/E37355/html/ol_instcfg_ocfs2.html. Notice the use of more than 3 shared devices in order to … Continue reading

Share
Posted in Uncategorized | Tagged , | Comments Off on Notes on OCFS2

Preparing Linux Template VMs

Tested on CentOS. The original article is Preparing Linux Template VMs, please read that first! This article is for preservation and my own personal use. Step 1: Clean out yum and apt caches. /usr/bin/yum clean all apt-get clean Step 2: … Continue reading

Share
Posted in Linux, OpenNebula | Tagged , | Comments Off on Preparing Linux Template VMs