Cd/usr/local/src
wget https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/bintar-linux-glibc_214-x86_64/ Mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
Tar zxvf mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
MV MARIADB-10.2.6-LINUX-GLIBC_214-X86_64/USR/LOCAL/MARIADB
Cd/usr/local/mariadb
./scripts/mysql_install_db--user=mysql--basedir=/usr/local/mariadb/--datadir=/data/mariadb
CP SUPPORT-FILES/MY-SMALL.CNF/USR/LOCAL/MARIADB/MY.CNF
VI/USR/LOCAL/MARIADB/MY.CNF//define BASEDIR and DataDir
CP SUPPORT-FILES/MYSQL.SERVER/ETC/INIT.D/MARIADB
VIM/ETC/INIT.D/MARIADB//define BASEDIR, DataDir, conf, and startup parameters
Turn off the MySQL service and turn on the MARIADB service
Installing Apache
has not been installed successfully, ...
Install APR, apr-util, no problem, prompt when installing Httpd,make && make install
The following methods have been tried:
Add "--WITH-INCLUDED-APR" after configure. Recompile, make, make install. Can.
The problem comes again, add--with-included-apr after, compile, error is as follows:
Configure:error:Bundled APR requested but not found at./srclib/. Download and unpack the corresponding APR and Apr-util packages to./srclib/.
Error: Apr,apr-util missing, need to download and unzip to./srclib/Directory
Here's how to try it:
I haven't solved the problem yet, I'll see it tomorrow.
20180227 Installing Mariadb,apache