First, install
ApacheServer
install httpd
Second, install PHP and common software packages
yum install php httpd-manual mod_ssl mod_perl mod_auth_mysqlyum install php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpcyum install mysql-connector-odbc mysql-devel libdbi-dbd-mysql
Third, install MARIADB
install
Iv. Start the service
start httpd.servicesystemctl start mariadb.service
Five, if the fourth succeeds, set up two services to start automatica
distributions) contains the corresponding version in its own official source that can be installed directly from its own package manager #centos 7
yum install mariadb-server -y
#centos 6
yum install mysql-server -y
?? Typically, the MARAIDB versions of the built-in libraries are older. To take care of the user's desire to use the new version and
: https://downloads.mariadb.org/mariadb/repositories/
After selecting the operating system version, you can view and set the installation source for other operating systems.
2. Install the database
# yum remove MariaDB-server MariaDB-clientyum -y install MariaDB-
Environment background: CentOS 7.2
I. Edit the/usr/lib/systemd/system/mariadb.service file and add it in the service segment
[Service]Type=simpleuser=mysqlgroup=mysqluser=mysqlgroup=mysqlexecstartpre=/usr/libexec/mariadb-prepare-db-dir%n# Note: We set--basedir to prevent probes that might trigger SELinux alarms,# per bug #547485 # Execstart in the server segment is added as follow
1. software environment: CentOS6.5x64MariaDB5.5.362, installation process 1) Create the MariaDB. repo file in the etcyum. repos. d directory. The content is as follows: # MariaD
1. software environment: CentOS 6.5 x64MariaDB 5.5.36 2. Installation Process 1) Create the MariaDB. repo file in the/etc/yum. repos. d/directory. The content is as follows: # MariaD
1. software environment:CentOS 6.5x64MariaDB
Http://www.server110.com/mariadb/201310/2670.html1, in/etc/yum.repos.d/under the establishment of MARIADB.REPO, the contents are as follows:[Email protected] etc]$ CD/ETC/YUM.REPOS.D[Email protected] yum.repos.d]$ VI Mariadb.repo# MariaDB 10.0 CentOS repository list-created 2013-08-23 13:08 UTC# http://mariadb.org/mariadb/repositories/[
Tags: net int tar restart move refresh count loading oppMARIADB version 10.1.21 Fedora version 25 1.Change Root User Sudo-i 2. DNF Install-y MySQL DNF Install-y mariadb Mariadb-server 3. Start mariadb Server and autostart mariadb
want to write a simple authentication plugin, for simplicity, the client side uses "dialog" to fully satisfy the requirements. In this way, we will only write the server-side section.The server side part of the thing is to do with the client side of the "dialog" communication, read the input name number to verify. See section below for specific implementations.Third, write code 1, routines partThe routines
required, please refer to the official documentation for special configuration)Here, I list the configuration of the test machine:Operating system version: Centos7node4:10.128.20.16 node5:10.128.20.17 node6:10.128.20.18With the first act example, node4 for hostname , 10.128.20.16 for ip , in three machines to modify the /etc/hosts file, my file is as follows:10.128.20.16 node410.128.20.17 node510.128.20.18 node6To ensure that the nodes communicate with each other, you need to disable the firewa
Tags: mariadb installRecently in an attempt to deploy OpenStack based on Ubuntu 16.04.1 LTS Server, I encountered mariadb unable to link properly during the deployment process.ProblemRefer to OpenStack official documentation to install MARIADB and encounter an issue that cannot be logged on locally after installation$m
string is added to the syslog record
Server_audit_syslog_priority: Define SYSLOGD priority for logging
Server_audit_excl_users: User behavior for this list will not be logged and connect will not be affected by this setting
Server_audit_mode: Identity version for development testing
MYSQL Add audit function :Wget https://dl.bintray.com/mcafee/mysql-audit-plugin/:audit-plugin-mariadb-10.0-1.1.0-625-linux-x86_64. Zipunzip AUDIT-PLUGIN-
First, the preparatory workTo undertake the above: Corosync+pacemaker using CRMSH to build a highly available clusterII. MariaDB Server Configuration (NFS-based)NFS Server Preparation1. Prepare the LVM storage space in Nfsserver [[emailprotected]~]#fdisk/dev/sdbdevicecontains Neitheravaliddospartitiontable,norsun,sgiorosf disklabelBuildinganewDOSdisklabelwithdisk
follows:The construction of Galera clusterThe following operations are performed on three nodes:Yum Install Mariadb-galera-server mariadb-client galera-yAfter the installation of the configuration file:# ll/etc/my.cnf.d/ Total --rw-r--r--1Root root295Oct - ,: atclient.cnf-rw-r--r--1Root root232Oct - ,: atmysql-clients.cnf-rw-r--r--1Root root1007The - -: -serv
Tags: System reference base next set CTE Character set Isa start1, installation mariadb Installation commands Yum-y Install mariadb Mariadb-server Installation Complete mariadb, first start mariadb Systemctl Start
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.