80

Nginx服务器-大宝天天见-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13587169/2066339
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

部署LNMP

1.安装Nginx
Nginx代码编译需要的软件包
yum -y install gcc pcre-devle openssl-devle zlib-devel make
其他省略
2.安装MariaDB
yum -y install mariadb-server mariadb mariadb-devel
3.安装PHP
yum -y install php
yum -y install localinstall php-fpm ##自动执行翻译网页文件代码
4.安装PHP连接到数据库
yum -y install php-mysql

部署LNMP

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK