Centos install LAMP
System: Centos 6.5
Apache 2.4 + PHP 7.2 + Mysql 5.7
check centos version How to Check CentOS Version
cat /etc/redhat-release
cat /etc/ centos-release
cat /etc
Centos install LAMP
System: Centos 6.5
Apache 2.4 + PHP 7.2 + Mysql 5.7
check centos version How to Check CentOS Version
cat /etc/redhat-release
cat /etc/ centos-release
cat /etc
One Heartbeat basic theory
Provide redundant system:
HA Cluster: In order to improve the system callability, combine multiple hosts to build a cluster;
Split brain, partitioned cluste
Experimental environment:
Virtual machine ha1: 192.168.61.130
Virtual machine ha2: 192.168.61.132
< span style="font-size:14px;font-family:'宋体';"> Virtual machine nfsserver: 192.1
Regarding the heartbeat v2 version description, using the hb_gui window management tool, there will be a separate process mgmtd to test crm, which is responsible for crm work and monitors the tcp p
One, test environment
Two, configure the time synchronization of the three servers and modify the crontab to automatically synchronize with the ntp server
crontab -e p> */2 * * * * /u
The definition of Heartbeat
The Heartbeat project is an integral part of the Linux-HA project, and it is also the most successful example of the current open source HA project. The full name of Li
PHP’s working mode:
php has three working modes in the lamp environment: CGI mode, Apache module , Fastcgi mode. The performance of running PHP in CGI mode is not very good, and it runs as a modu
LAMPoffastcgiapplyphpmyadm andwordpress Two hosts
OneA apacheand php-fpm
OneB mariadb server
1. A Install the required packages and start the service
yum install httpd php-f
php working mode: 650) this.width=650;” src=”/wp-content/uploadshttp:/img.voidcn.com/vcimg /static/loading.png” alt=”j_0023.gif” d=”1059910″ s=”8d5_a20″ t=”gif”>
phpin lamp There are three wo
Implement LAMP architecture 1, Compile and install httpd2.4 and php7.3 environment< /h3> Environment: Master server: 192.168.37.10 php+httpd service
Slave server: 192.168.37.20 mariadb server
Soft