Step 1: Login to your server via SSH as root user. Step 2 Use below command to create / export a database. mysqldump database_name > /backup/database_name.sql Where database_name -> The name of database of which you want to create backup. /backup/database_name.sql -> Location and file name of database backup file.
Step 1 Login to your server as root via SSH. Step 2 Enter below command to see list of all domains on your cPanel server. cat /etc/localdomains [vps_hosting]
Login to your server as root via SSH. Step 2 By default, MySQL root password is saved in the /root/.my.cnf file. Open this file using command. cat /root/.my.cnf Step 3 Here you can see your server mysql root password. [vps_hosting]
In this small tutorial, I will explain how to show hidden files like .htaccess file in cPanel file manager under paper lantern theme. Step 1 Login in cPanel and click File Manager to open file manager. Step 2 In File Manager, Click Settings button located in top right corner. This will open settings popup window. […]
If you are getting following warning mail message from your cPanel server Cpanel update failure in upcp Running `/usr/local/cpanel/scripts/updatenow –upcp –log=/var/cpanel/updatelogs/update.1434952321.log` failed, exited with code 29 (signal = 0) Cpanel update failure during updatenow An error was detected which prevented updatenow from completing normally. Please review the enclosed log for further details [20150622.015201] Detected version […]
I am seeing a lot of WordPress wp-login.php brute force attack these days. In this tutorial I will explain how to stop wp-login.php attack on a cPanel server.
In this tutorial, I will explain how to install cPanel on a new Linux server with CentOS installed on server. Step 1: Before installing cPanel, make sure you have a cPanel license for your VPS. If you do not have cPanel license, you can get a free 15-days trail license. It will take hardly 1-minute […]
If Apache / HTTPS is using lots of memory on your server, here is how you can optimize Apache on your server / VPS. Login as root in WHM and navigate to: WHM Home >> Service Configuration >> Apache Configuration >> Global Configuration And change value of Max Connections Per Child. Default value of Max […]
For security reason, it is highly recommended that you use SSH key to login to your server via SSH instead of using root password. In this tutorial I will explain how to use SSH key to login to your server via SSH as root user. Step 1: Disable SSH Password Authorization Tweak. For security reason, […]
For security reason, it is recommended that you change your server default SSH port from 22 to any other port. We have a detailed step by step tutorial for changing SSH port. How to change SSH port of a Linux server But if you have forgot your server new SSH port number, or if the […]