一、配置CentOS 第三方yum源(CentOS默认的标准源里没有nginx软件包)
[[email protected] ~]# yum install wget #安装下载工具wget[[email protected] ~]#wget http://www.atomicorp.com/installers/atomic #下载atomic yum源[[email protected] ~]#sh ./atomic #安装[[email protected] ~]# yum check-update #更新yum软件包
二、安装开发包和库文件
[[email protected] ~]# 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 gcc gcc-c++ libXpm libXpm-devel ncurses ncurses-devel libmcrypt libmcrypt-devel libxml2 libxml2-devel imake autoconf automake screen sysstat compat-libstdc++-33 curl curl-devel
三、
时间: 2024-10-08 21:42:15