中小型网站集群方案

操作系统

centos 6.20 最小化安装版本

 

服务器软件

tomcat 7.042

session 共享机制

memcached-session-manager

memcache 1.4.15

mysql 5.6.12

nginx 1.2 (tenginx)

 

动静分离缓存

varnish

 

运行环境

php 用于监控环境 phpmemcach 扩展

java 用于应用环境

 

开发框架

tapestry (struts2 freemarker) mybatis spring c3p0 xmemcached-client 

监控工具

nagios

pnp-nagios

memadmin

memcached-top

mytop

Spotlight-unix

Spotlight-mysq

压力测试工具

sysbench

http_load

 

网站流量监控

awstats

 

./configure --prefix=/usr/local/phpexe --mandir=/usr/share/man/ --enable-safe-mode --enable-sigchild --enable-magic-quotes --with-libxml-dir=/usr --with-openssl --with-xpm-dir=/usr --with-libxml-dir=/usr --enable-exif --with-zlib-dir=/usr --enable-calendar --enable-ftp --with-gd=/usr/ --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=/usr/lib --enable-mbstring=all --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql/ --with-mysql=/usr/local/mysql/ --with-pdo-mysql=/usr/local/mysql/ --enable-soap --enable-sockets --enable-zip --enable-embedded-mysqli=shared --enable-shared --with-curl --enable-mysqlnd --with-exec-dir=/usr/local/phpexe/bin --enable-mod-charset --with-apxs2=/usr/local/httpd/bin/apxs --with-imap=/usr --with-kerberos --with-imap-ssl --with-openssl 

./configure --prefix=/usr/local/phpcgi --mandir=/usr/share/man/ --enable-sigchild --with-libxml-dir=/usr --with-openssl --with-xpm-dir=/usr --with-libxml-dir=/usr --enable-exif --with-zlib-dir=/usr --enable-calendar --enable-ftp --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=/usr/lib --enable-mbstring=all --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql/ --with-mysql=/usr/local/mysql/ --with-pdo-mysql=/usr/local/mysql/ --enable-soap --enable-sockets --enable-zip --enable-embedded-mysqli=shared --enable-shared --with-curl --enable-mysqlnd --enable-mod-charset --with-imap=/usr --with-kerberos --with-imap-ssl --with-openssl --enable-fpm  --with-fpm-user=glman --with-fpm-group=glman --with-mysql-sock=/var/lib/mysql/mysql.sock --with-imap-ssl=/usr  --with-pcre-dir=/usr/ --with-curl=/usr/ --with-openssl-dir=/usr/ 

猜你喜欢

转载自xiaolaogong.iteye.com/blog/1946441
今日推荐