Autonpm一个全自动编译安装nginx+php+MySQL+ZendOptimizer的shell脚本,可自动从网络上下载相应的程序源代码到机器上编译、安装.批量安装服务器比较方便.
对于要马上从apache切换到nginx的新手来说更是方便
Autonpm下载地址
建议用CentOS5.X系统安装
安装完毕后常用文件和目录如下:
mysql dir: /usr/local/mysql
php dir: /usr/local/php
nginx dir: /usr/local/nginx
web dir: /home/wwwroot/www
nginx: /usr/local/nginx/sbin/nginx
nginx.conf: /usr/local/nginx/conf/nginx.conf
mysql: /usr/local/mysql/bin/mysql
my.cnf: /usr/local/mysql/my.cnf
php: /usr/local/php/php
php.ini: /usr/local/php/etc/php.ini