NixUser

NixUser.com | Unix User | Linux User | NixUser

July, 2013

Update VPS Timezone – OpenVZ

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

How to Import & Export MySQL Databases with SSH

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 🙂

Install cPanel DNSONLY

To install cPanel DNSONLY, run these commands in your server: cd /home wget -N http://httpupdate.cpanel.net/latest-dnsonly sh latest-dnsonly

Install cPanel

After installing Operating System on your server, you can install cPanel / WHM or cPanel DNSONLY. After obtaining a cPanel license, login to your server and run the following commands to install cPanel. cd /home wget -N http://httpupdate.cpanel.net/latest sh latest Please make sure that you have perl installed on your server before installing cPanel. If More