linux nginx php mysql安装包放到哪里
1个回答
推荐于2016-07-14
展开全部
标准库安装
[plain] view plaincopy
yum -y install wget make vim install gcc gcc-c++ ncurses ncurses-devel autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers pcre pcre-devel zlip zlip-devel
新建软件安装目录
[plain] view plaincopy
mkdir /usr/local/webserver
php依赖库安装
libxml2(包含库和实用工具用于解析XML文件)
[plain] view plaincopy
tar zxvf libxml2-2.9.0.tar.gz -C /usr/local/webserver/
cd /usr/local/webserver/libxml2-2.9.0
./configure
make&&make install
libmcrypt(加密算法扩展库支持DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+等算法)
[plain] view plaincopy
tar zxvf libmcrypt-2.5.8.tar.gz -C /usr/local/webserver/
cd /usr/local/webserver/libmcrypt-2.5.8
./configure
make && make install
nginx安装
[plain] view plaincopy
tar zxvf nginx-1.5.9.tar.gz -C /usr/local/webserver/
mv /usr/local/webserver/nginx-1.5.9 /usr/local/webserver/nginx
cd /usr/local/webserver/nginx
./configure
make && make install
[plain] view plaincopy
vi /etc/init.d/nginx
[plain] view plaincopy
yum -y install wget make vim install gcc gcc-c++ ncurses ncurses-devel autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers pcre pcre-devel zlip zlip-devel
新建软件安装目录
[plain] view plaincopy
mkdir /usr/local/webserver
php依赖库安装
libxml2(包含库和实用工具用于解析XML文件)
[plain] view plaincopy
tar zxvf libxml2-2.9.0.tar.gz -C /usr/local/webserver/
cd /usr/local/webserver/libxml2-2.9.0
./configure
make&&make install
libmcrypt(加密算法扩展库支持DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+等算法)
[plain] view plaincopy
tar zxvf libmcrypt-2.5.8.tar.gz -C /usr/local/webserver/
cd /usr/local/webserver/libmcrypt-2.5.8
./configure
make && make install
nginx安装
[plain] view plaincopy
tar zxvf nginx-1.5.9.tar.gz -C /usr/local/webserver/
mv /usr/local/webserver/nginx-1.5.9 /usr/local/webserver/nginx
cd /usr/local/webserver/nginx
./configure
make && make install
[plain] view plaincopy
vi /etc/init.d/nginx
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询