NixUser

NixUser.com | Unix User | Linux User | NixUser

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

Linux Iptables

Linux comes with a firewall called netfilter, which is controlled by iptables. Here, I will explain the useful iptables commands for system admins and a super user with bash shell. Please remember that a wrong command will disconnect you from the system and will block your access to the server. iptables -L -n To display More

Previous Posts Next posts