1、apache/nginx/tomcat等等都可以,得看你要部署的頁面是什麼格式
2、用yum安裝,例如yum install httpd
3、用原始碼編譯安裝,例如nginx-1.6.1.gz
tar zxf pcre-8.13.tar.gz
pushd pcre-8.13
./configure;make;make install
popd
tar zxf nginx-1.6.1.tar.gz
tar jxf zlib-1.2.5.tar.bz2
tar zxf openssl-1.0.1i.tar.gz
pushd nginx-1.6.1
./configure \
--prefix=/usr/local/nginx \
--sbin-path=/usr/sbin \
--with-http_ssl_module \
--with-http_sub_module \
--with-http_flv_module \
--with-http_stub_status_module \
--with-zlib=../zlib-1.2.5 \
--with-openssl=../openssl-1.0.1i \
--with-pcre=../pcre-8.13
make;
make install
1、apache/nginx/tomcat等等都可以,得看你要部署的頁面是什麼格式
2、用yum安裝,例如yum install httpd
3、用原始碼編譯安裝,例如nginx-1.6.1.gz
tar zxf pcre-8.13.tar.gz
pushd pcre-8.13
./configure;make;make install
popd
tar zxf nginx-1.6.1.tar.gz
tar jxf zlib-1.2.5.tar.bz2
tar zxf openssl-1.0.1i.tar.gz
pushd nginx-1.6.1
./configure \
--prefix=/usr/local/nginx \
--sbin-path=/usr/sbin \
--with-http_ssl_module \
--with-http_sub_module \
--with-http_flv_module \
--with-http_stub_status_module \
--with-zlib=../zlib-1.2.5 \
--with-openssl=../openssl-1.0.1i \
--with-pcre=../pcre-8.13
make;
make install