Monthly Archives: February 2013

Windows : Add entire subnet in a batch

Adding a bunch of IP to windows through the GUI is a nightmare! Fortunately, you can enter a single command that will add them in a second. Simply open the command prompt and type the following command : FOR /L %I IN (<IP_START>,1,<IP_END>) DO netsh interface ip add address “Local Area Connection” <IP_SUBNET>.%I <IP_NETMASK> Let’s… Read More »

Linux : ip_conntrack: table full, dropping packet

Having slow network performances, packet loss and noticed this message in the logs or dmesg output under heavy load on your Linux box? ip_conntrack: table full, dropping packet This is because you reach the limit set for connection tracking. To display the current usage, use the following command : wc -l /proc/net/ip_conntrack In such case,… Read More »

Linux : How to create swap area on a live system

This article is about how to create swap space on a live RHEL/CentOS Linux system. However you can still follow that procedure in case you messed up your filesystem and swap is now non-existent (e.g.: swap show 0M). First, use fdisk to edit the partition table and create a partition (this step might be skipped… Read More »

Linux : Installing R1Soft backup agent from YUM repo

Installing R1Soft agent using YUM is pretty straight forward. Simply do the following steps. 1. Edit the R1Soft YUM repo file : /etc/yum.repos.d/r1soft.repo 2. Append the following : [r1soft] name=R1Soft Repository Server baseurl=http://repo.r1soft.com/yum/stable/$basearch/ enabled=1 gpgcheck=0 3. Install the agent : yum install r1soft-cdp-enterprise-agent 4. MISC : You might see the following output message once the… Read More »

Linux : How to install DirectAdmin

Here is a quick how to install DirectAdmin under your Linux/BSD server. Unlike other control panels, DA support various operating systems such as CentOS/RHEL, FreeBSD, Debian and Ubuntu. Make sure your system is a fresh install and up to date before starting the process. If you are performing the installation remotely, I strongly recommend you… Read More »

Linux : How to install cPanel

Here is the easy way to install cPanel on your RHEL/CentOS Linux server. Please note that cPanel require a fresh OS install. The installation might take around 30 minutes depending on your hardware. If you are performing the installation remotely, I strongly suggest that you run the installer under a “screen” session to avoid any… Read More »