V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ruitang  ›  全部回复第 1 页 / 共 1 页
回复总数  8
@lemonda 不发
@lemonda 你看看有什么遗漏没?
@lemonda 服务器:阿里云ECS 1核 1G

一、环境安装

yum install gcc gcc-c++ automake autoconf libtool make zlib zlib-devel pcre pcre-devel freetype freetype-devel libpng libpng-devel libevent libevent-devel libmcrypt libmcrypt-devel libjpeg libjpeg-devel jemalloc jemalloc-devel libxml2 libxml2-devel bzip2 bzip2-devel libcurl libcurl-devel glibc glibc-devel glib2 glib2-devel openssl openssl-devel

二、安装Nginx

cd /usr/local/src
wget http://nginx.org/download/nginx-1.6.2.tar.gz
tar -zxvf nginx-1.6.2.tar.gz
cd nginx-1.6.2

./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_gzip_static_module --with-http_stub_status_module --with-pcre

三、启动Nginx

/usr/local/nginx/sbin/nginx

四、安装PHP

cd /usr/local/src
wget http://cn2.php.net/distributions/php-5.4.38.tar.gz
tar -zxvf php-5.4.38.tar.gz
cd php-5.4.38

./configure --prefix=/usr/local/php --enable-fpm --enable-calendar --enable-ftp --with-zlib --enable-zip --with-xmlrpc --with-bz2 --with-curl --with-gd --enable-mbstring --with-iconv --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-inline-optimization --enable-sockets --enable-wddx --enable-bcmath --enable-soap --disable-ipv6 --disable-debug --disable-maintainer-zts --disable-fileinfo --with-mysql --with-mysqli --with-pdo-mysql --enable-exif --enable-static --with-mcrypt --with-openssl --with-zlib-dir=/usr --enable-gd-native-ttf --with-pear
@bigtan linux系统
@kozora 没有
@zsx 没什么差价,这个就是默认主题啊。我用了阿里云的云数据库RDS,难道是这个导致的?
@oott123 1G 1核 ,请问最佳work多少?
@Septembers 现在应该好了一点,不过我觉得各项配置需要优化
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   995 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:15 · PVG 04:15 · LAX 13:15 · JFK 16:15
Developed with CodeLauncher
♥ Do have faith in what you're doing.