Label archiving: MariaDB 10 installation tool

MariaDB 10.5+One click installation script

Script properties:

  • Only install MariaDB 10+and its dependencies, and do not install others to reduce disk space occupation;
  • The script supports CentOS 7~8 and Red Hat 7~8 system installation;
  • The script supports high customization, which can be customized as required;
  • The MariaDB 10.5+installation mode is binary (the default installation version is Mariadb-10.5.5 x64).

How to install MariaDB 10.5+:

Copy and paste the following code to the terminal and press Enter:

 curl -o-  https://renwole.com/sh/install_mariadb-10.5.sh  | bash

Script instructions:

There are two variable values in the script that can be modified as needed, namely, the MariaDB version and the MariaDB password. Others do not need to be modified. MariaDB will be installed in /apps/server/mariadb Directory, data files are stored in  /apps/server/mariadb/data Location.

For example, if you need to install MariaDB 10.5.4, you only need to replace 10.5.5 with the required version. This method is applicable to all versions of MariaDB 10.5+.

 mariadb_version="10.5.4" mariadb_password="Renwole.com#Node"

notes : After the installation is successful, the account password information will be printed on the screen.
In addition, if the relevant version of MariaDB has been installed, please uninstall it first and delete the startup script, otherwise the installation may fail.

Special attention: When selecting a version, please confirm
https://mirrors.tuna.tsinghua.edu.cn/mariadb/
http://mirrors.ustc.edu.cn If there is a corresponding version in, otherwise the installation will fail.