How to install MariaDB Server in cPanel/WHM servers?

How to install MariaDB Server in cPanel/WHM servers? And What are the advantages of using MariaDB Server ? Ans:  *  Install MariaDB Server in cPanel/WHM servers 1. Backup existing MySQL data # mysqldump –all-databases –routines –triggers > /home/db_dump/alldb.sql # service mysql stop # cp -r /var/lib/mysql/mysql /home/db_dump/ # service mysql start 2. Select MySQL version […]

See More

20+ Switches of rsync in Unix/Linux

* Switches of rsync: 1) -v, –verbose Increase verbosity. 2) -r, –recursive Recurse into directories. 3) -l, –links Copy symlinks as symlinks. 4) -p, –perms Preserve permissions. 5) -t, –times Preserve modification times. 6) -g, –group Preserve group. 7) -o, –owner preserve owner (super-user only) 8) -D Same as –devices –specials. –devices : preserve device files […]

See More

Command for Rsync over SSH – Unix/Linux

Command for Rsync over SSH   Common Syntax for Rsync: # rsync [options] Source Destinations. Set up a secure backup with rsync + SSH of one system to the other. backup.example.com# rsync -avz –numeric-ids –delete root@myserver.example.com:/path/ /backup/myserver/ To do the backup, you have to be root on the remote server, because some files are only root […]

See More