Removing a directory using XML-API
In the previous article, we have shown you how to connect to cPanel’s front end (2082/2083) ports. In this article we will show you how to delete a directory in your file system using XML-API in PHP. Let’s say you want to delete a directory named ‘deleteme‘ in public_html directory. So the path is /home/USER/public_html/deleteme. [...]
Full site backup and restore in Shell
You can generate full site backup from individual cPanel account. However, for some reason if you want backup several sites (but not all sites) it is a bit tedious to switch to every cPanel account and generate backups. If you are in such a situation, you can take backups easily from shell. However, you must [...]
How to change administrator information on Plesk
If you want to change the administrator or owner information of of Plesk 9.5.2 follow the steps described below: Click on the button Personal Data on Security tab from Home Change the information upon your requirement Press the button Ok from the lower right corner of the page to save the current settings
How to change admin password of Plesk
If you want to change the admin password of of Plesk 9.5.2 follow the steps described below: Click on the Change Password button from Home A new page appears, enter the old password and then enter your new password 2 times Press Ok Button to confirm and thus your password is changed
Upgrade Parallels Plesk Panel to 9.5.xx using control panel
You can easily update your Parallels Plesk Panel from 9.3 to 9.5 using graphical control panel on web interface. The “How to” processes are given below: Log in to Parallels Plesk Panel as administrator, and on the Home page, click Updates. A list of available components appears. Select the Parallels Plesk Panel version that you [...]
Delete some specific files from all subdirectories
Useful unix-command trick to quickly remove i.e. Thumbs.db files, WS_FTP.LOG files or *.fla files, recursively through directories. It could be a real pain on a huge directory tree Removing all *.fla files from /home/user/ and subdirectories… find /home/user/ -name *.fla -ok rm {} ; Removing all WS_FTP.LOG files from /home/user and subdirectories… # find /home/user [...]
cPanel JailShell, Unmount and Clean Virtfs
If you’re a sysadmin of Cpanel server, you might be aware of the JailShell. Its nothing but a User Shell with limited privileges. Users requesting for shell access to the webhosting server are provided with such shell instead of bash (Which provides root level privileges to users) . Jailshell limits the users access to their [...]