Speed Up cPanel to cPanel Migration

Normal cPanel migration from cPanel to cPanel takes long time, if the accounts are having high disk usage. We can avoid this time delay by skipping home directory and sync the home directory using rsync command after the migration.

Follow the steps to speed up migration

Read more

ntPHPselector :: Released v3.0.0 Beta

The new version of ntPHPselector is ready for Centos 6 servers. It is not compatible with Centos 7 servers. If you are using Centos 6, you can update the plugin to the latest version using the following commands.

#Removed, since new version is released Click here

cd /usr/local/src
wget -N https://nixtree.com/download/free/ntphpselector_manage_beta.sh
sh ntphpselector_manage_beta.sh update

It will install the new version ( 5.6 ) and update the other version to the latest release. So make sure to run this in screen and it take time to complete, since it reuqire to recompile/update all the php versions installed in the server.

Read more

ntPHPselector : for Centos 5 Servers

Following script will fix the SSL download issue with the older os versions ( Centos 5 ) and install ntphpselector. cd /usr/local/src http://download.nixtree.com/free/ntphpselector_manage_centos5.sh sh ntphpselector_manage_centos5.sh install

Getting nginx disabled message while trying to start nginx service in plesk.

Sometimes we get the following error message, even if nginx is enabled in plesk. [root@server ~]# /etc/init.d/nginx start Not starting nginx as it is disabled in config You can confirm the nginx service is enabled in the server using the following commands. [root@server ~]# /usr/local/psa/admin/sbin/nginxmng -s Enabled [root@server ~]# chkconfig –list | grep nginx nginx … Read more

Error: Failed to create temporary file

Issue ====== The apache error log shows [Wed Oct 28 23:49:30 2015] [error] [client xx.xx.xxx.xxx] ModSecurity: Input filter: Failed to create temporary file: /root/tmp/20151028-234930-VjGXSkAWQiQAA@W7VAsAAAAD-request_body-nKiZdT [hostname “www.xxxx.com”] [uri “/wp-admin/admin.php”] [unique_id “VjGXSkAWQiQAA@W7VAsAAAAD”] The issue is because the modsecurity has no access on /root/tmp directory. So while accessing /root/tmp it will show the error “Failed to create temporary … Read more

Different Ways of File transfer to a remote server using ssh protocol

Different Ways of File transfer to a remote server using ssh protocol.

Scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.

Using scp from destination server

scp root@source_server:/path/to/file /path/here/
scp -P 2222 root@source_server:/path/to/file /path/here/ #with ssh port 2222
scp -r root@source_server:/path/to/directory/ /path/here/ #copy entire directory

Using scp from source server

Read more