The first essay, in fact, is to write homework, but the teacher's request is right, in fact, they are in the environment and the work of the industry will also be encountered in the resolution of the problem recorded, so that later to find
WordPress is built on the lamp environment. Here is the CentOS 7 wordpress version required for PHP and MySQL. WordPress version 4.7.4 database mariadb-5.5.52, php-5.4.16A combination of Lamp:linux+apache+mysql (MariaDB) +php.You need to shut down
MemcacheMemcache the role of the online data are very good, said the simple point is to reduce the pressure to read the database, the principle is very simple:The requested data will go to memcache first, if not go to the database to fetch, by the
In the previous article, the need for a tomcat cluster has been clarified, primarily from high availability and high concurrency considerations. In general, the Tomcat cluster is built using a pre-set nginx or Apache as a reverse proxy to forward
1. HTTP protocolHypertext Transfer Protocol (Hypertext Transfer Protocol), HTML (Hyper Text Mark language)The complete process of a single HTTP transactionClient--Request message--serverClient Web Resources-Static resources: png,html-Dynamic
build lamp environment and install swoole extensions under LinuxFirst, CentOS 6.5 uses yum to quickly build the LAMP EnvironmentPreparation: Update First Yum Source Enter the following command: yum-y Update1. Installing Apache[Email protected] ~]#
1. Centos the default is to open IP Security policy, that is, 80 ports also prohibit external access, so first deactivate iptables.
Service Iptables Stop
or open to port 80.
Iptables-i rh-firewall-1-input-m state–state new-m tcp-p tcp–dport 80-j
The same website program runs under Linux more quickly than in Windows, so decided to use Linux distribution CentOS, this article mainly explained under CentOS use Yum command to install the lamp detailed process. The software we use is the latest
Configure two Web server high availability cluster cases with heartbeat:Topology:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/41/64/wKiom1PU89ujTR7CAAEQ4PSzLvA160.jpg "title=" Qq20140727203823.png "alt="
HAProxy provides high availability, load balancing, and proxies based on TCP and HTTP applications, supporting virtual hosting, which is a free, fast, and reliable solution.Haproxy provides high availability, load balancing, and proxies based on TCP
First, HAProxy
1.haproxy Introduction
HAProxy is a free, fast, and reliable solution that provides high availability, load balancing, and proxy software based on TCP (layer fourth) and HTTP (layer seventh) applications that support virtual
Web server (LAMP) load balancing via DNS polling and NFS sharing, deploying Discuz forumTopology ideas:Server 1:mariadb+nfs;172.20.120.40Server 2:apache+php-fpm;172.20.120.41Server 3:apache+bind;172.20.120.42Server 1:mariadb+nfs;172.20.120.40Yum
Change time zone to East 8, Shanghai
1 cp/usr/share/zoneinfo/asia/shanghai/etc/localtimeModify Host Name
1 #需要改下边这两个文件:
2 vim/etc/hosts
3 Vim/etc/sysconfig/networkView the number of connections per IP for a server to detect DDoS
1 Netstat-ntu |
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced. 1. Installation Services[plain] view plain copy print? #安装apache服务 Yum install httpd #安装svn服务和httpd模块 yum install subversion MOD_DAV_SVN
#
Rsyslog logging in MySQL:Prerequisite: Prepare mSQL server or MARIADB server;(1) Install the Rsyslog driver module connected to MySQL server;# yum Install Rsyslog-mysql(2) Prepare Rsyslog dedicated user account in MySQL server;GRANT all on syslog.*
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.