ruitang

ruitang

V2EX 第 111702 号会员,加入于 2015-04-19 11:03:56 +08:00
ruitang 最近回复了
@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   ·   实用小工具   ·   1105 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 18:45 · PVG 02:45 · LAX 10:45 · JFK 13:45
Developed with CodeLauncher
♥ Do have faith in what you're doing.