Login to your Server or VPS as root and follow these steps to change the ssh port. It is always a good idea to back up important server files before making any changes to them. So copy the file once you have logged into the server. $ cp /etc/ssh/sshd_config /etc/ssh/sshd_config.back Next, open the SSH config More
To export a MySQL database, access your server via ssh and run the following commands: # mysqldump -u username -p database_name > database.sql To import a MySQL Database, run the command: # mysql -u username -p database_name < database.sql That’s it 🙂
Ssh to the cPanel server and go to the directory /etc/cpanel/ea4/profiles/custom. cd /etc/cpanel/ea4/profiles/custom/ Locate and remove the .json file that contains the name of the profile you created. rm -f myprofile.json Now you are done deleting the profile.
Your OpenVZ will have the host server’s time settings by default. But it is possible to configure your VPS to use a custom timezone which you are on or your user is on. Log in as the root user via ssh and run the following command to list all available timezones: $ ls /usr/share/zoneinfo/ and More