This article tags: Install lemp/lnmp tutorial Ubuntu LEMP MySQL Nginx ubuntuserver internet gossip LEMP refers to the Linux + Nginx (pronunciation engine x so here is E instead of N) + MySQL + PHP abbreviation, some places in the
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] ~]#
Note: All of the following actions are performed under the CentOS 6.5 x86_64 bit system.
#准备工作 #
Before installing MySQL, make sure that you have installed the following types of underlying components using Yum (if the system has been taken, you
Configuring the Yum SourceAdditional CentOS 6.5 Epel and Remi sources are added.# yum Install epel-release# RPM-UVH http://rpms.famillecollet.com/enterprise/remi-release-6.rpmThe following is the source for CentOS 7.0.# yum Install epel-release# RPM-
Mysql Installation
Installation
Yum-y install MySQL mysql-server php-mysql perl-dbd-mysql perl-dbi php-gd php-mbstring
Start
Service mysqld Start
Set Password
mysqladmin-u root password ' set '
Set UTF8 Universal code, add the following two
Linux PHP FastCGI1 FastCGIFastCGI: The Fast Universal Gateway Interface (Fast Common gateway interface/fastcgi) is a protocol that lets an interactive program communicate with a Web server.FastCGI is like a resident (long-live) CGI, which can be
The default version is too low, manual installation has some trouble, want to use Yum install the following scenarios can be used:1. Check the currently installed PHP packageyum list installed | grep phpIf you have a PHP package installed, remove
Fixed the PHP iconv and the GD library conflict Bug, added PHP mcrypt, memcache extension, modified PHP and Nginx compile parameters, optimized Nginx profile, added some features.
Nginx
("Engine X") is a high-performance HTTP and reverse proxy
1: View the Environment:
[Root@localhost ~]# Cat/etc/redhat-release
2: Turn off the firewall
#重启后生效开启
[root@localhost ~]# chkconfig iptables off
or
#即时生效, fail-Open after reboot
[root@localhost ~]# Service Iptables stop
Objective
This article is to introduce the use of Docker to make nginx+php mirror image, the mirror in this article is CentOS + nginx 1.9.7 + PHP 5.6.14, the following words do not say more directly to see the implementation of the steps.
1, first
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
This can be compared to what is circulated on the Internet a key installation package is much better, strongly recommend this method installation, suitable for all rookie and master. My
MARIADB Introduction
MARIADB database management System is a branch of MySQL, mainly by the open source community in the maintenance, the use of GPL licensed license MARIADB is fully compatible with MySQL, including APIs and command line, so that
Prepare the article:
CentOS 5.x System installation Configuration Diagram tutorial
Http://www.jb51.net/os/128754.html
1, configure the firewall, open 80 ports, 3306 ports
Vi/etc/sysconfig/iptables
-a rh-firewall-1-input-m state--state new-
I am also a novice php, through the W3cschool understand the basic principles of PHP after the write. But still a rookie.
First regardless of the 3DES encryption method is correct, the method is online, in the run when a mistake, the younger
Compared to the official documents, it is more important to put the framework environment together.0. Environment Introduction
Operating system: CentOS
Database: MySQL 5.6 (Aliyun rds)
PHP 5.4.4 (>=5.4)
Laravel 5.0
I.
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.