Lamp Introduction
LAMP refers to the Linux (operating system), Apachehttp Server, MySQL (sometimes referred to as MARIADB, database software) and PHP (sometimes referred to as Perl or Python) The first letter, generally used to build a Web server.
Because the company requires the latest version of the ZABBIX2.4.4 need the latest version of the system CENTOS7 and the new version of the LNMP environment, so I feel the use of a new version of the environment to build a LNMP system, the
The software is in the/home/web directory.
1.MYSQL Configuration process:
[Root@mail web]# tar zxvf mysql-5.0.18.tar.gz
[Root@mail web]# CD mysql-5.0.18
[Root@mail mysql-5.0.18]# Groupadd MySQL
[Root@mail mysql-5.0.18]# useradd-g MySQL
The server is installed with the 6.3 version of CentOS, the default PHP version is 5.3, the version is too low, so that the latest open source framework does not work, want to run the latest open source framework must upgrade the PHP version, but
I will only some basic phpmailer usage, such a message of mass function also puzzled me a week, the following I encountered problems for everyone to sum up
1.Could not authenticate
First of all, if you do not use the loop, it is basically the
The development languages that Web developers use today are PHP, ASP, and JSP. These three languages have their own strengths, and each has a large number of loyal developers and users. For people who use PHP for Web development, many people choose
1. Installation of Nginx Yum1) Add Nginx to Yum sourceAdd the CentOS 7 Nginx Yum Repository, open the terminal and use the following command:sudo rpm-uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm2)
Environment:Centos 7.0Apache 2.2.27Mysql 5.1.72Libiconv 1.14# #Apache Please use the compilation installation yourself. Content copied from my own word, wold inside is good, and some places copied over overlapping, look at the time to pay attention
One: Install PHP:Upload the PHP installation package and the Libmcrypt-devel development package to the installed machine1, install Libmcrypt-devel and bzip2 to solve the dependent environment:[email protected] php-5.4.26]# Yum
linux+php5.1.6+mysql5.0.2+apache2.0.55 Installation Configuration instructions:First, mysql5.0.2 installation configuration process and Description:1, #tar-zvxf mysql-5.0.2-alpha.tar.gz2. CD
First, compile and install Httpd2.4.101. Solve the dependency relationshipHTTPD-2.4.10 requires a newer version of APR and Apr-util, so it needs to be upgraded beforehand. There are two ways to upgrade, one is to compile the installation through
Nagios before installation, Nagios needs PHP support after 3.1.x, so it is necessary to install PHP and HTTP-related support here.
First, create Nagios users and Groups
[Root@test2 ~]# useradd-s/sbin/nologin Nagios[Root@test2 ~]#
PHP7 and PHP5 coexist in CentOS7Original referencePrincipleThe idea is simple: PHP5 is installed through Yum in/usr/, sockets in/VAR/RUN/PHP-FPM.SOCKET,PHP7 themselves compiled in/USR/LOCAL/PHP7, sockets in/var/run/ PHP7-FPM.SOCKET,NIGNX Specifies
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.