20180227 Installing Mariadb,apache

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.