CentOS6.5搭建LNMP

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS6.5搭建LNMP相关的知识,希望对你有一定的参考价值。

1:查看环境:

1
2
[[email protected] html]# cat /etc/redhat-release
CentOS release 6.5 (Final)

2:关掉防火墙

1
[[email protected] html]# chkconfig iptables off

3:配置CentOS 6.0 第三方yum源(CentOS默认的标准源里没有nginx软件包)

1
#sh ./atomic
1
#yum check-update

4:安装开发包和库文件 

1
2
3
4
#yum -y install ntp make openssl openssl-devel pcre pcre-devel libpng
libpng-devel libjpeg-6b libjpeg-devel-6b freetype freetype-devel gd gd-devel zlib zlib-devel

(c)2006-2024 SYSTEM All Rights Reserved IT常识