Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
LNAMP 1.0 alpha 一键安装包 – 理想社会

LNAMP 1.0 alpha 一键安装包

L

LNAMP 1.0 final changelog:

1、将setupvm-without-pure- ftp.sh和setupvm-with-pure-ftp.sh两个文件合并为setup-vhost.sh一个文件,执行./setup- vhost.sh后将会有1. setup virtual host without using ftp service和2. setup virtual host with ftp service两个选项,从而根据需要创建自己的虚拟主机;

2、将beta版中的suhosin extension改为了suhosin patch;

3、将CentOS、Debian和Ubuntu下的安装文件集中压缩成一个包LNAMP_1.0_final.tar.gz

4、规范书写了程序,增强了兼容性(尤其是增加了对burst.net vps的支持);

5、更正了beta版中的几个bug;

6、……。

LNAMP一键安装包是什么?

LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat VPS(VDS)或独立主机安装LNAMP(Nginx、Apache、Mysql、PHP、Pure-ftp)生产环境的Shell程序。此Shell 程序以Nginx做服务器前端,Apache做服务器后端,各自充分发挥各自的长处。Nginx在处理静态内容上较Apache是几倍或几十倍的差异,因 而放在前面过滤静态内容是最为恰当的,同时Nginx也是一个负载均衡器,低资源消耗,高性能转发是它的特点。经过Nginx在前面的过滤,后端的 Apache需要处理的内容相对就比较少了,只需负责处理动态内容就可以了。在性能与稳定性的权衡下,使用Nginx+Apache搭配会让它们在各自擅 长的领域展现自身的价值。

为什么不使用nginx+php(fastcgi)作为生产环境?

1、   php(fastcgi)不够稳定,经常出现502错误,生成相对复杂的页面没有优势,反而会使php-cgi进程变为僵尸进程.

2、   安全性,多用户多站点权限问题.php(fastcgi)在应对多用户多站点往往捉襟见肘,不易于实施.

3、   整合其他开发语言,apache表现得游刃有余.资源利用恰到好处.

4、   ……

如何获取LNAMP?

你可以从http://www.31sky.net/soft/LNAMP_1.0_final.tar.gz下载并使用它。

安装了那些软件?

Apache、Nginx、Mysql、Pure-ftp、Zend Optimizer、eAccelerator、Memcache……

如何安装LNAMP?

系统需求:

1、  需要5G剩余硬盘空间。

2、  256M以上内存。

3、  需要以root身份运行。

安装步骤:

1、  下载LNAMP一键安装包 wget –c http://www.31sky.net/soft/LNAMP_1.0_final.tar.gz 。

2、  解压tar zxvf  LNAMP_1.0_final.tar.gz,您将得到CentOS、Debian和Ubuntu这三个文件夹,根据服务器选择的系统切换到相应目录 下,目录中将有五个文件,main-install.sh是基本安装脚本;eaccelerator-install.sh(用于安装 eaccelerator)、ZendOptimizer-install.sh(用于安装Zend Optimizer)和pure-ftp-install.sh(用于安装pureftpd)是可选的安装脚本;setup-vhost.sh是用于创建 virtual host的脚本。

3、  赋予main-install.sh、eaccelerator-install.sh、ZendOptimizer-install.sh、pure- ftp-install.sh和setup-vhost.sh这五个文件可执行权限,chmod +x *.sh。

4、  执行脚本./main-install.sh和您选择的安装脚本,将会自动安装各种程序。

image

1、设置初始信息

image

2、开始下载源代码

image

3、开始编译安装

image

4、安装完成

如何管理?

1、  Nginx管理:/etc/init.d/nginx {start|restart|stop} (注:执行/etc/init.d/nginx时会对httpd起作用)

2、  Apache管理:/etc/init.d/httpd {start|restart|stop}

3、  启动pure-ftp:/usr/local/pureftpd/sbin/pure-config.pl /usr/local/pureftpd/etc/pure-ftpd.conf –daemonize

4、  创建virtual host:./setup-vhost.sh,将有两个选项1和2(1、不提供ftp服务2、提供ftp服务,请根据需要选择),输入域名、ip、FTP用户名等相关信息即可。

5、PHP探针URL:http://{your ip address}/p.php

6、phpMyAdmin URL:http://{your ip address}/phpmyadmin

说明:

1、本shell脚本全部采用源码编译安装,装完全部软件大概需要45分钟。

2、本shell脚本在directspace.net 的openvz VPS上CentOS 5 32bit、Debian 5.0 x86 (Minimal)、Ubuntu 10.04 32bitburst.net 512M VPS上的CentOS-5-x86、debian-5.0-x86、ubuntu-10.04-x86成功安装。

3、本shell脚本所需要的软件源码全部从官方下载或者sourceforge.net下载,您可以从http://www.31sky.net/soft/下载查看全部源代码。

4、本shell如有BUG或者其他任何问题,请到http://www.31sky.net/lnamp留言或者直接发邮件到webmaster@31sky.net

About the author

Add comment

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

By now163

Your sidebar area is currently empty. Hurry up and add some widgets.