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
Tags: Access users oracle Linux copy innodb default PID MariaSystem Platform:CentOS Release 6.9 (Final)Kernel 2.6.32-696.el6.x86_641. Go to the official website to download the appropriate source packagehttp://mariadb.org/Mariadb-10.2.12.tar.gzCheck that the database is installed in the system.#rpm -qa|grep MariaDB#rpm -qa|grep mysqlmariadb-10.2.12 requires c++11 feature support, gcc4.8 is not included belo
Tags: ams min struct logs location process IDE exec NECUnder CentOS7, the official MySQL RPM package is mariadb and can be viewed MARIADB package information [Email protected] ~]$RPM- qi mariadb # requires first installing the package NAME:MARIADB # name Epoch:1Version:5.5.52 # VersionRelease:1. EL7 # Release ARCHITECTURE:X86_64 # supports installed CPU architec
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
Tags: lnmp centos7.2Recently there is a Erp+php-web test page environment deployment needs, need to deploy nginx+php cgi+socket mode, MySQL environment. To see if the service port is up, we are accustomed to using the netstat command to view it, so if you do not have Netstat installed in your system, you can install the Yum install-y net-tools directlyLab Environment:Linux version: CentOS 7.2Nginx Version: nginx-1.10.1PHP Version: php-5.6.5MySQL version: Mar
Centos7 cannot start the problem after mariaDB is installed using yum. centos7mariadb
Centos7's built-in MySQL image has abandoned Oracle's MySQL. Instead, use the MySQL Branch database mariaDB and install mariadb as follows:
[Plain] view plain copy
Yum install mariadb
Run the systemctl start
Tags: unit disabled isa mkdir turn off enable thread led linux6MARIADB as a replacement for MySQL now the new version of the CentOS package has been replaced with mariadb, just like the previous one. Change to SystemdInstall some librariesYum Install GCC GCC wget Net-toolsTo view the SELinux status:/usr/sbin/sestatus-v The #如果SELinux status parameter is enabled;If it is off, you can skipModify the/etc/selinux/config fileViChange Selinux=enforcing to
Tags: upgrade PHP-FPM recommended multiple services three-party website program file rootIn general, upgrading a production environment is not recommended and will stop LNMP related services after the upgrade begins.This article applies only to LNMP1.2, 1.3 and 1.4 later versions!In LNMP currently LNMP v1.2/1.3+ version has included Nginx, MYSQL/MARIADB, PHP, phpmyadmin upgrade script, can help build the environment of the program to upgrade. (Note: T
Tags: data variable admin ant upd file Enter Maria will1. Start mariadbSystemctl Start mariadb2. Set Boot mariadbSystemctl Enable MARIADBFirst, change the user password, take root as an example1. Know the root password, need to modifyMethod A. Log into the database to modify
# mysql-uroot-p/* Enter password to enter */
/* First way: Edit database Fields directly */
MariaDB [(none)]> use MySQL;
Tags: display based on ADB selection DDR gen average max ExtInsert Inserts DataHeads-Up record insertionINSERT into Tb_name (col1,col2,...) VALUES (Val1,val2,...);Example:INSERT INTO tablename (Field 1 name, field 2 name,......) VALUES (Field 1 value, field 2 value,...)MariaDB [testdb]> INSERT Students (Id,name,ages,gender) VALUES (1, ' Tom ', +, ' M '); MariaDB [testdb]> INSERT Students (name,ages,gender)
For MySQL Percona mariadb three have their own audit plugin, but, MySQL audit plugin is only Enterprise version, but also have a lot of third-party MySQL audit plugin, and Percona and MARIADB are GPL audit pluginFirst look at the MARIADB audit plugin[[Emailprotected]_aolens_01/usr/local/mysql]#mysql-uroot-p2aa263a42dd248welcome tothemariadbmonitor.commandsendwith
Compiling a tutorial on Mac OS to install the NGINX+PHP+MARIADB development environment, NGINXMARIADB
Because of the urine nature of Oracle. MARIADB should have replaced MySQL. So abandon MySQL.
1, compile NginxDownload Nginx,openssl,pcre separatelyWhen you compile OpenSSL, you will be prompted
warning! If you wish to build 64-bit library and then you have Toinvoke './configure darwin64-x86_64-cc ' *manual
Tags: root gen error log end 1.5 execution disk cannot be updatedThe logs in MYSQL/MARIADB are broadly divided into the following categories:Query LogGeneral Query log:Slow query log:error LogBinary logRelay LogTransaction logA brief introduction to these kinds of logs, logs for our analysis of MySQL service has a very important help;Query log:General Query log: The default is closed, because all the query statements will be recorded;
Knowledge background??I. MARIADB copy-related knowledge??Source of 1.mariadb???? MySQL database is currently in the database market share only second only to the Oracle database, but also the open source database leader. Because MySQL database is open-source and high-performance, but also free (but not optimistic after Oracle acquisition), so the father of MySQL has opened a new MySQL branch
The code address is as follows:Http://www.demodashi.com/demo/13076.html
First, prefaceWell-known (in fact, many people may not know) MARIADB support plug-in certification. To create a new user in mariadb, the common statements are:CREATE USER ‘username‘@‘host‘ IDENTIFIED BY ‘password‘;This creates the user, and the authentication method at logon is the password. In fact, the creation of the user's stat
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.