[[email protected] mariadb]# CP support-files/my-small.cnf/usr/local/mariadb/my.conf configuration file
[[email protected] mariadb]# CP support-files/mysql.server/etc/init.d/mariadb startup script
[[email protected] mariadb]# vim/usr/local/mariadb/my.conf don't change
[Email protected] mariadb]# vim/etc/init.d/mariadb
Before starting MARIADB, detect if the MySQL service is started, because they are listening to the same port
[[email protected] apr-1.6.3]# echo $?
0
[Email protected] apr-util-1.6.1]# CD.
[Email protected] src]# CD httpd-2.4.29/
[Email protected] httpd-2.4.29]#/configure--prefix=/usr/local/apache2.4--WITH-APR=/USR/LOCAL/APR-- With-apr-util=/usr/local/apr-util--enable-so--enable-mods-shared=most
[[email protected] apache2.4]#/usr/local/apache2.4/bin/apachectl-m see which modules are loaded
11.6 MARIADB installation 11.7/11.8/11.9 Apache installation