How to manage VirtFS on cPanel server

How to mange VirFS on cpanel server

What is Virtfs in cpanel ? How it is created ? The /home/virtfs is a file system for the jailshell shell in cPanel servers. A jailed shell  is used for restricting the access for the user. In a normal shell most binaries and libraries are available to user. It can cause security issues on your … Read more

Install Let’s Encrypt for cPanel

Let’s Encrypt is a certificate authority launched on April 12, 2016. It provides  free X.509 certificates  for  (TLS) encryption using an automated process designed to eliminate the current complex process of manual creation, installation, and renewal of certificates for secure websites. Using Let’s Encrypt the web administrators can  turn on and manage HTTPS with simple commands. Let’s Encrypt  make … Read more

Generate CSR for domain in DirectAdmin

DirectAdmin is one of the control panel available for hosting websites. In this blog article we are describing how we can generate CSR For a website through DirectAdmin control panel. Login to the DirectAdmin control panel. Click the User Level option from the right hand Menu.  Click website name you wish to generate CSR Click … Read more

ImageMagick : Filtering Vulnerability – CVE-2016-3714

ImageMagick is a tool used to convert, edit, compose bitmap images. It has libraries available for common programming languages like PHP, .net, Python etc. At this moment the latest version of ImageMagick ( ImageMagick-7.0.1 ) allows attacker to execute his own command remotely. We can prevent this venerbility by preventing HTTPS, TEXT. MVG etc in … Read more

Plesk Roundcube error :Unable to connect to the database

Sometimes you may come across with such an error displayed while going to webmail interface. This can be for both horde or roundcube. DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator To Fix this issue , you need to update the rouncube or horde user password in mysql.user table … Read more

Add extra swap to linux server

If every server had plenty of RAM in the real world that does not happen. If for some reason you have a server with too little SWAP or you are hitting the max of the swap. Here is a quick way to add 1GB swap to the server. dd if=/dev/zero of=/usr/swapfilesys bs=1024 count=1024000 mkswap /usr/swapfilesys … Read more

Change Site IP in cPanel

Change Site IP via WHM Go to WHM > Change site’s IP Address , select the account, then select the IP Change Site IP via Command Line in cPanel /usr/local/cpanel/bin/setsiteip -u $USER $IP For moving all accounts in a server from one Ip to another using the following script; #! # https://www.nixtree.com # Contact [email protected]Read more