Month: March 2010

Vim Screencast Tutorial #2 – Motions and Commands

From http://codebetter.com


Vim Screencast Tutorial #1 – Basics

From http://codebetter.com


Ioncube segmentation fault

When Ioncube is enabled, php -v shows the error “The ionCube PHP Loader is disabled because of startup problems. Segmentation fault (core dumped)” In checking the php.ini, there were 2 instances of zend_extension=”/usr/local/IonCube/ioncube_loader_lin_5.2.so” in the php.ini file which was causing the issue. In checking with cPanel with regards to this issue, they suggest rebuilding apache…


Bash lesson – ifconfig

From http://www.bashscripts.info/


Unable to load iptables module ipt_state, aborting.

I recently upgraded kernel of my linux server. After this, APF Firewall stopped working. It give error message on starting firewall. [root@server10 apf]# apf -s Unable to load iptables module (ipt_state), aborting. [root@server10 apf]# The problem is due to module ipt_state is no longer exists, the name is changed to xt_state. On the server, the…


DNS Error “Bad Dotted Quad” (BIND)

DNS Error “Bad Dotted Quad” (BIND) Network – DNS Issue: changing dns mx records, tried to save, got error: “Bad dotted quads near …” Solution: A record or another record that doesn’t require trailing period contains one. if you remove the trailing period and refresh the DNS files it should let you save the zone…


Play videos in MPlayer with one click

From Reddit.com Tired of crappy flash performance? Play YouTube videos in MPlayer with one click (self.linux) You need the following software: * Firefox * MPlayer (but other players should work too) * youtube-dl (Don’t use the version that comes with ubuntu, it’s two years old) * CommandRun add on If you want to start the…


Kernel command using Linux system calls

Linux® system calls—we use them every day. But do you know how a system call is performed from user-space to the kernel? Explore the Linux system call interface (SCI), learn how to add new system calls (and alternatives for doing so), and discover utilities related to the SCI. [This article has been updated to reflect…


Keep an audit trail on Linux

Intrusions can take place from both authorized (insiders) and unauthorized (outsiders) users. My personal experience shows that unhappy user can damage the system, especially when they have a shell access. Some users are little smart and removes history file (such as ~/.bash_history) but you can monitor all user executed commands. It is recommended that you…


10 Free Server & Network Monitoring Tools

When you have a website or a network, it’s helpful to be aware of any issues as soon as they occur. There are open source and freeware server/network monitoring tools that will supervise your infrastructure for any issues that may arise. These tools are meant to aid you in avoiding being taken offline and evaluating…