Install MariaDB on CentOS 7 Rumi, May 25, 2020 Start by adding the MariaDB YUM repository file MariaDB.repo for RHEL/CentOS and Fedora systems. # vi /etc/yum.repos.d/MariaDB.repo Now add the following lines to your respective Linux distribution version as shown. On CentOS 7 [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 Step 2: Install MariaDB in CentOS 7 Once MariaDB repository has been added, you can easily install it with just one single command. # yum install MariaDB-server MariaDB-client -y Install MariaDB in CentOS 7 As soon as the installation of MariaDB packages completes, start the database server daemon for the time being, and also enable it to start automatically at the next boot like so: # systemctl start mariadb # systemctl enable mariadb # systemctl status mariadb Step 3: Secure MariaDB in CentOS 7 Now its time to secure your MariaDB by setting root password, disabling remote root login, removing the test database as well as anonymous users and finally reload privileges as shown in the screen shot below: # mysql_secure_installation Secure MySQL in CentOS 7 After securing the database server, you may want to check certain MariaDB features such as: installed version, default program argument list, and also login to the MariaDB command shell as follows: # mysql -V # mysqld --print-defaults # mysql -u root -p Verify MySQL Version Related Configurations (Linux) CentOSCentOS 7MariaDB
Reset Webmin Password April 4, 2023 Open a terminal or command prompt on the server where Webmin is installed. Navigate to the Webmin installation directory. The default location is /usr/local/webmin cd /usr/local/webmin To change password run command:on RedHat distributions (i.e. Fedora, CentOS, Gentoo, etc.): /usr/libexec/webmin/changepass.pl /etc/webmin admin newPassword on Debian distributions (i.e. Debian, Ubunto, etc.): /usr/share/webmin/changepass.pl… Read More
Install Multipath on Debian Server November 1, 2020 Note: This installation is tested on Debian 10 (Buster) edition. It might work for other versions of Debian as well. DMM Setup Overview DM-Multipath includes compiled-in default settings that are suitable for common multipath configurations. Setting up DM-multipath is often a simple procedure. The basic procedure for configuring your system… Read More
Reset CentOS Root Lost or Forgotten Password September 21, 2018 In the event your Linux box experiences disk or file system issues you may receive a “Give root password for maintenance” prompt upon reboot. If you have your root password you can login but in the event your using ‘slide’ or ‘sudo’ for wheel access or you’ve just mis-placed your… Read More