How To Install MySQL – MariaDB on CentOS 7

Install MySQL / MariaDB Installing MariaDB is as simple as running just one command: And then start MySQL, now MariaDB: Be sure that MySQL/MariaDB starts at boot: To check the status of MySQL/MariaDB: To top MySQL/MariaDB: Check the installation with the command client:

Reset CentOS Root Password

To reset the root password for CentOS 6: Boot Computer and Interrupt while booting at GRUB stage hitting ‘arrow‘ keys or “space bar“. Type ‘a‘ to modify kernel argument. Anytime you can cancel typing ‘ESC‘ key. Append 1 at the end of “rhgb quiet” and press “Enter” key to boot into single user mode. Type … Read more

Rsync to another server without password

Run on the local server (192.168.1.101) – THE SERVER YOU ARE RSYNCING FROM. Use ssh-copy-id, to copy the public key to the remote host. Now, ssh to the remote server you want to remote to. If you have a key already, here are the steps: Make a file for the key and copy your key … Read more

Install ClamAV on CentOS 7

Install ClamAV and set up scheduled scans. Install Epel: Install ClmAV Copy a the clamd.conf template, in case you don’t have a configuration file yet: Change the file and Comment out “Example” Change this… To this… Configure SELinux for ClamAV. Check if selinux in on: Write this command to get it working with SELinux if … Read more