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.

How to block an IP(IP range) in CSF

You can block a single IP address or IP range from WHM interface or from the server bash/ SSH shell.

Block an IP from WHM:

    1. Log in to WHM as root.
    2. Navigate to Plugins section >> ConfigServer Security & Firewall 
    3. Explore for the Quick Deny section/button >> Enter the IP address or IP range in the red edit box that you willing to block. If you want, you can also add a comment in the next edit box.
    4. Click the Quick Deny button .
    5. The IP will be added to the CSF block list – /etc/csf/csf.deny file – and you will see a confirmation message:
    6. Click the Return button to return to the CSF main page.


Block an IP address / IP address range from server command line/ SSH:

  1. Log in to the server via SSH as root

Use the command: csf -d IP (replace IP with the IP address you willing to block , see examples below):

csf -d

You can also block IP blocks, like:

csf -d
csf -d

Or using your favorite editor edit /etc/csf/csf.deny directly to add IP addresses / IP ranges at once!

How to remove ipaddress block from new cphulk (through SSH on cPanel server)

It’s by design the IP addresses are unreadable in the database. The “Blacklist Management” tab in the cPHulk interface allows you to remove an IP address from the interface. You can also unblock an IP address from the iptables block out with a command such as:

/scripts/hulk-unban-ip IP-HERE

** Please change IP-HERE with IP address

You can find updated documentation on cPHulk at:

cPHulk Brute Force Detection

How To Upgrade to ubuntu16.04 LTS from ubuntu 14.04 LTS from SSH

This article will describe the steps to upgrade ubuntu 14.04 LTS to ubuntu 16.04 LTS from command line (SSH/ or server cosnole)


  • Don’t attempt upgrade for system with RAM below 1GB, Attempting to upgrade a server with less than 1GB of RAM may result in database corruption.
  • Please take snapshot of your server before you start upgrade process.
  • All of apps and services will be down during upgrade process.
  • Upgrade process would take few minutes to several hours, all depends on your server network connection speed and server hardware.

Preparation to upgrade:

SSH to your server as root and run below command to make sure your server is ready to upgrade, if you see error messages or any command fails, don’t start upgrade process:

sudo apt-get update && sudo apt-get dist-upgrade
sudo dpkg --configure -a

If you don’t see any error messages by executing above commands, you are ready to upgrade your server, follow commands as below:

sudo do-release-upgrade -f DistUpgradeViewNonInteractive

At the completion of upgrade process you would see prompt to remove obsolete packages, just enter ‘y’ after this upgrade process is complete .

Restart your server

sudo init 6

Now your server is upgraded to latest release.

Once upgrade complete and server successfully booted with new OS, be advised to create new snapshot of your server.

If your upgrade fails due to any reason you can restore from snapshot of old release that you generated before to start your OS upgrade process.

Ubuntu 16.04 release notes:

Move cagefs-skeleton directory from /usr/share to another partition

What is CageFS?

cagefs is a virtualized file system and a set of tools to lock each cpanel/ system user in its own space called ‘cage’. Each user will have its own fully functional CageFS, with all the system files, tools, etc…  For a in cagefs only safe binaries or custom binaries enabled by root should available. CageFS user will be restricted to see other users.

CageFS create an individual namespace for each user, this technique make it possible to hide other user and their files. CageFS create  high level of isolation. The safe files for cageFS users are created under default location /usr/share/cagefs-skeleton.

Sometimes you might need to move cagefs-skeleton from /usr/share to another partition like /home due to low free disk space available in the /usr partition. Please find below steps to migrate cagefs_skelton from default location i.e. /usr/share/cagefs_skelton.

How to move cagefs_skelton from default location?

  •  If /usr/share/cagefs-skeleton already exists:

$ cagefsctl –disable-cagefs 
$ cagefsctl –unmount-all
# To ensure that the following command prints empty output: 
$ cat /proc/mounts | grep cagefs 
# if you see any cagefs entries, execute “cagefsctl –unmount-all” again.
$ mv /usr/share/cagefs-skeleton /home/cagefs-skeleton 
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton
cagefsctl –enable-cagefs

  •  If /usr/share/cagefs-skeleton is not created yet (cagefsctl –init wasn’t executed), then execute:

$ mkdir /home/cagefs-skeleton 
$ ln -s /home/cagefs-skeleton /usr/share/cagefs-skeleton 
$ cagefsctl –init

On cPanel servers, if you place skeleton into /home directory, then you should configure the following option:

In cPanel WHM choose Server Configuration and go to Basic cPanel/WHM Setup, then in Basic Config change Additional home directories default value to blank (not “home”).

Note: If this option is not set, then cPanel will create new accounts in incorrect places.



Searching logfiles with Powershell, Log parser, Findstr, QGrep – Steve Schofield Weblog

Searching logfiles with Powershell, Log parser, Findstr, QGrep – Steve Schofield Weblog: “

In conclusion, the clear winner�was Log parser, speed and accuracy were great.� Powershell was ‘cool’ but took too long.� Maybe as I get better at�Powershell, that will�change.��Findstr & QGrep�appear to be more for parsing out entire lines of�text.� That was my experience, it�could be my lack of advanced knowledge with these tools.��I use FINDSTR�a lot�for doing quick searches, it is faster than FIND.� I was hoping to use regular expressions, but”

Silverlight for S60 5th edition is available along with a Bing App

 \r\n\r\nSilverlight for smartphone\r\n\r\n\r\n \r\n\r\nSilverlight, the cross-browser, cross-platform implementation of the .NET Framework for building media experiences and rich interactive applications for the Web on desktop computers, is available for Nokia S60 5th Edition smartphones such as Nokia 5800 XpressMusic, Nokia N97 and Nokia N97 Mini.\r\n\r\nThe release of Silverlight comes the Bing Application.\r\nThe owners for s60 smart phones will be able to view Silverlight content right from your Nokia S60 browser, which is a big plus. Other than that and the new Bing application, currently I don’t see other uses for Silverlight on my Nokia N97, but this might be just for now.\r\n\r\nGet Silverlight for S60 5th edition here!\r\nGet the Bing Application for S60 5th edition here!\r\n\r\n\r\nSilverlight for s60 smartphone\r\n\r\n \r\n\r\nNote: All logos, images and trademarks used in articles on this site are property of its respective owners.