Step 1
Install configuration vsftp Server
First, configure the firewall, open the port required by the FTP server
CentOS 7.0 uses firewall as a firewall by default, and this is iptables firewall instead.
1. Close firewall:
Systemctl Stop
Server address: 192.168.7.221
1, install the corresponding package
Install Mysql-dev gcc net-snmp-devel curl-devel perl-dbi php-gd php-mysql php-bcmath php-mbstring yum php-xml-5.3.3 php-5. 3.3
Note: Some packages will fail to install, such as PHP
LNMP Environment installation 1. Install dependent dependencies Use the Yum program to install the required development Kit (the following is the standard RPM package name) yum Install gcc gcc-c++ gcc-g77 Flex Bison autoconf Automake bzip2-devel
Reference | Reference Manual | Chinese 4 establish InnoDB table
Suppose you have run the MySQL client program as a MySQL test command. In order to create a table in InnoDB format you must specify TYPE = InnoDB in the SQL command:
CREATE TABLE
There are 2 main types of surveillance this time:
1.web Server
2.mysql Server
So first of all to ensure that Nginx/apache or MySQL service startup;
The following is the function Installmysql () script for the MySQL Monitor-side deployment:
Starting a remote service with the root user has been a security taboo because remote attackers are most likely to gain full control of the host if there is a problem with the service program. MySQL made a small change at the start of version 3.23.15
Data | The files used by the database to set up and access the SAMP_DB sample database are available at the following addresses:
http://www.mysql.com/Contrib/Examples/
Retrieves the samp_db of the distribution contract file. T a r. G Z, enter the
MySQL Performance tuning:
The speed of the insert query:
The time to insert a record consists of the following:
Connection: (3)
Send query to server: (2)
Analysis of the query: (2)
Insert Record: (1 x record size)
Insert Index: (1 x index)
Minimum installation: 1. Select English2. DATE & Time modified local software selection The default minimal install is good installation destination Select Then, Begin Installation3. Root password set the root password user creation set new users,
This article will cover another high-availability implementation of MySQL, namely MHA (Masterhigh avaliable). Master HA. is an open source high-availability program that provides MySQL's master-slave architecture with the ability to automatically
The previous introduction of Mysqldump backup method is the use of logical backup, the biggest drawback is that the backup and recovery is slow, for a database less than 50G, this speed is acceptable, but if the database is very large, then use
Environment: Build VMWare virtual machine on WINDOW10, install CentOS in Easyinstaller way 71. Experience of "failure"Back up the original repo file and change the Yum source (as described in modifying Yum sources) to Aliyun, add the Yum information
First, the role of MysqlreportFor MySQL configuration optimization, you must first identify the MySQL performance bottleneck, and the show status output report is the reference data used to calculate the performance bottleneck. Mysqlreport is not as
MySQL Storage engineUnderstand the architecture of MySQL before you become familiar with the storage engine1 connectors refers to the interaction of SQL in different languages2 Management serveices & Utilities: System Management and control tools3
Percona Toolkit is a set of advanced command-line toolsets for managing MySQL and system tasks, mainly including:1, master and slave status detection and repair2. Detection of delay from library replication3, slow query, log analysis4. detecting
ObjectiveUsing anemometer to visualize the MySQL slow query log, you can more easily query the slow query log, and based on the time stamp of historical query. The following is a stand-alone version of the Anemometer deployment demonstration, in
1. Install with Yum1.1 Check Mysql-python[[email protected] mysql_tools]# pythonPython 2.4.3 (#1, Dec 10 2010, 17:24:32)[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2Type "Help", "copyright", "credits" or "license" for more information.>>> Import
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.