APACHE安装笔记Unix系统

时间:2022-12-11 06:19:35 作者:磪有情 综合材料 收藏本文 下载本文

“磪有情”通过精心收集,向本站投稿了9篇APACHE安装笔记Unix系统,下面是小编整理后的APACHE安装笔记Unix系统,希望对大家有所帮助。

篇1:APACHE安装笔记Unix系统

www.chedong.com/tech/apache_install.html APACHE安装笔记 作者:车东chedong@bigfoot.com最后更新于2002-09-2102:35:19 版权声明:可以任意转载,转载时请务必标明原始出处和作者信息 从简化安装== 性能 调优==方便维护的角度,讨论WEB服务的规划==

www.chedong.com/tech/apache_install.html

APACHE安装笔记

作者: 车东 chedong@bigfoot.com  最后更新于 2002-09-21 02:35:19

版权声明:可以任意转载,转载时请务必标明原始出处和作者信息

从简化安装==>性能调优==>方便维护的角度,讨论WEB服务的规划==>HTTPD安装/应用模块配置==>升级/维护等过程,

让APACHE的升级和PHP RESIN等应用模块的升级完全互不影响。

摘要:

WEB应用容量规划:根据硬件配置和WEB应用的特点进行WEB服务的规划及一些简单的估算公式;

APACHE安装过程:apache的通用的简化安装选项,方便以后的应用的模块化配置;

修改 HARD_SERVER_LIMIT:

vi /path/to/apache_src/src/include/httpd.h

#define HARD_SERVER_LIMIT 2560 <===将原来的 HARD_SERVER_LIMIT 256 后面加个“0”

apache编译:

/path/to/apache_src/configure --prefix=/another_driver/apache --enable-shared=max --enable-module=most

可选应用模块/工具的安装:php resin mod_gzip mod_expire及各个模块之间的配合;

PHP安装:

/path/to/php_src/configure --with-apxs=/path/to/apache/bin/apxs --enable-track-vars --with-other-modules-you-need

mod_resin安装:

/path/to/resin/src/configure --with-apxs=/path/to/apache/bin/apxs

Mod_gzip安装:

/path/to/apache/bin/apxs -i -a -c mod_gzip.c

工具:cronolog安装:www.cronolog.org

升级/维护:看看通用和模块化的安装过程如何简化了日常的升级/维护工作;

按照以上的方法:系统管理员和应用管理员的职责可以清楚的分开,互相独立。

系统安装:系统管理员的职责就是安装系统=>安装好一台可以适应任何情况的APACHE,然后COLON,

应用安装:由应用管理员负责具体应用所需要的模块并设置HTTPD。

系统升级:系统管理员:升级系统/升级APACHE

应用升级:系统管理员:升级应用模块

具体的说明:

WEB应用的容量规划

APACHE主要是一个内存消耗型的服务应用,我个人总结的经验公式:

apache_max_process_with_good_perfermance < (total_hardware_memory / apache_memory_per_process * 2

apache_max_process = apache_max_process_with_good_perfermance * 1.5

为什么会有一个apache_max_process_with_good_perfermance和apache_max_process呢?原因是在低负载下系统可以使用更多的内存用于文件系统的缓存,从而进一步提高单个请求的响应速度。在高负载下,系统的单个请求响应速度会慢不少,而超过apache_max_process,系统会因为开始使用硬盘做虚拟内存交换空间而导致系统崩溃。此外,同样的服务:2G内存的机器的apache_max_process一般只设置到1G内存的1.7倍,因为APACHE本身会因为管理更多的进程而产生性能下降。

例子1:

一个apache + mod_php的服务器:一个apache进程一般需要4M内存

因此在一个1G内存的机器上:apache_max_process_with_good_perfermance < (1g / 4m) * 2 = 500

apache_max_process = 500 * 1.5 = 750

所以规划你的应用让服务尽量跑在500个APACHE以下,并设置APACHE的软上限在800个。

例子2:

一个apache + mod_resin的服务器: 一个apache进程一般需要2M内存

在一个2G内存的机器上: apache_max_process_with_good_perfermance < (2g / 2m * 2 = 2000

因此:apache_max_process = 2000 * 1.5 = 3000

以上估算都是按小文件服务估算的(一个请求一般大小在20k以下)。对于文件下载类型站点,可能还会受其他因素:比如带宽等的影响。

APACHE安装过程

服务器个数的硬上限HARD_SERVER_LIMIT的修改:

在FREEBSD和LINUX等UNIX操作系统下APACHE缺省的最大进程数是256个,需要修改apache_1.3.xx/src/include/httpd.h

#ifndef HARD_SERVER_LIMIT

#ifdef WIN32

#define HARD_SERVER_LIMIT 1024

#elif defined(NETWARE)

#define HARD_SERVER_LIMIT 2048

#else

#define HARD_SERVER_LIMIT 2560  <===将原来的HARD_SERVER_LIMIT 256 后面加个“0”

#endif

#endif

解释:

APACHE缺省的最大用户数是256个:这个配置对于服务器内存还是256M左右的时代是一个非常好的缺省设置,但随着内存成本的急剧下降,现在大型站点的服务器内存配置一般比当时要高一个数量级不止。所以256个进程的硬限制对于一台1G内存的机器来说是太浪费了,而且APACHE的软上限max_client是受限于HARD_SERVER_LIMIT的,因此如果WEB服务器内存大于256M,都应该调高APACHE的HARD_SERVER_LIMIT。根据个人的经验:2560已经可以满足大部分小于2G内存的服务器的容量规划了(APACHE的软上限的规划请看后面)。

APACHE的编译:通用的编译选项能使安装过程标准化

./configure --prefix=/another_driver/apache/ --enable-shared=max --enable-module=most

解释:

--prefix=/another_driver/apache/: 一个系统使用寿命最低的一般就是硬盘,因此:将服务数据和系统完全分开,不仅能提高了数据的访问速度,更重要的,大大方便系统升级,备份和恢复。

--shared-module=max:使用动态加载方式会带来5%的性能下降,但和带来的好处相比更本不算什么:比如模块升级方便,系统升级风险降低,安装过程标准化

--enable-module=most:用most可以将一些不常用的module编译进来,比如后面讲到的mod_expire是就不在apache的缺省常用模块中

如果不想build so, 也可以这样:

./configure \

“--with-layout=Apache” \

“--prefix=/path/to/apache” \

“--disable-module=aclearcase/” target=“_blank” >ccess“ \

”--disable-module=actions“ \

”--disable-module=autoindex“ \

”--disable-module=env“ \

”--disable-module=imap“ \

”--disable-module=negotiation“ \

”--disable-module=setenvif“ \

”--disable-module=status“ \

”--disable-module=userdir“ \

”--disable-module=cgi“ \

”--disable-module=include“ \

”--disable-module=auth“ \

”--disable-module=asis“

但结果会发现,这样编译对服务性能只能有微小的提高(5%左右),但却失去了以后系统升级和模块升级的灵活性,无论是模块还是APACHE本身升级都必须把所有SOURCE加在一起重新编译。

apache的缺省配置文件一般比较大:我们可以使用去掉注释的方法精简一下:然后再进入具体的培植过程能让你更快的定制出你所需要的。

grep -v ”#“ httpd.conf.default >httpd.conf

需要修改的通用项目有以下几个:

#服务端口,缺省是8080,建议将整个APACHE配置调整好后再将服务端口改到正式服务的端口

Port 8080 => 80

#服务器名:缺省没有

ServerName name.example.com

#最大服务进程数:根据服务容量预测设置

MaxClients 256 => 800

#缺省启动服务后的服务进程数:等服务比较平稳后,按平均负载下的httpd个数设置就可以

StartServers 5 => 200

不要修改:

以前有建议说修改:

MinSpareServers 5 => 100

MaxSpareServers 10 => 200

但从我的经验看来:缺省值已经是非常优化的了,而且让APACHE自己调整进程个数还是比较好的。

特别修改:

在solaris或一些比较容易出现内存泄露的应用上:

MaxRequestsPerChild 0 =>3000

应用模块和工具的安装配置:

由于使用模块动态加载的模式,所以可以方便的通过简单的配置调整来把APACHE定制成你需要的:最好把不常用模块全部清除(无论处于安全还是效率),

比如:对于静态页面服务器:就什么模块都不加载,对于PHP应用就加上PHP模块,对于JAVA应用就把RESIN模块加载上。而且各种模块的插拔非常简单。

一般说来,可以不需要的模块包括:

#LoadModule env_module libexec/mod_env.so

#LoadModule negotiation_module libexec/mod_negotiation.so

#LoadModule status_module libexec/mod_status.so

#server side include已经过时了

#LoadModule includes_module libexec/mod_include.so

#不需要将没有缺省index文件的目录下所有文件列出

#LoadModule autoindex_module libexec/mod_autoindex.so

#尽量不使用CGI:一直是APACHE安全问题最多的地方

#LoadModule cgi_module libexec/mod_cgi.so

#LoadModule asis_module libexec/mod_asis.so

#LoadModule imap_module libexec/mod_imap.so

#LoadModule action_module libexec/mod_actions.so

#不使用安全校验可以大大提高访问速度

#LoadModule access_module libexec/mod_access.so

#LoadModule auth_module libexec/mod_auth.so

#LoadModule setenvif_module libexec/mod_setenvif.so

最好保留的有:

#用于定制log格式

LoadModule config_log_module libexec/mod_log_config.so

#用于增加文件应用的关联

LoadModule mime_module libexec/mod_mime.so

#用于缺省index文件:index.php等

LoadModule dir_module libexec/mod_dir.so

可用可不用的有:

#比如:需要在~/username/下调试php可以将

LoadModule userdir_module libexec/mod_userdir.so

#比如:需要将以前的URL进行转向或者需要使用CGI script-alias

LoadModule alias_module libexec/mod_alias.so

常用的模块:

最常用的可能就是php和JAVA WEB应用的wrapper,此外,从性能上讲:mod_gzip可以减少40%左右的流量,从而减少机器用于传输的负载,而mod_expires可以减少10%左右的重复请求,让重复的用户请求CACHE在本地,根本不向服务器发出请求。

建议将所有MODULE的配置都放到

PHP的安装:

/path/to/php_src/configure --with-apxs=/path/to/apache/bin/apxs --with-other-modules-you-need

需要修改的配置:

AddType application/x-httpd-php .php .php3 .any_file_in_php

resin的安装设置:

/path/to/resin/src/configure --with-apxs=/path/to/apache/bin/apxs

一般将具体的resin设置放在另外一个文件中:

CauchoConfigFile /path/to/apache/conf/resin.conf

mod_expires的安装配置:

ExpiresActive on

#所有的.gif文件1个月以后过期

ExpiresByType image/gif ”access plus 1 month“

#所有的文件缺省1天以后过期

ExpiresDefault ”now plus 1 day“

mod_gzip的安装:

/path/to/apache/bin/apxs -i -a -c mod_gzip.c

mod_gzip和PHP在一起的配置

mod_gzip_on Yes

mod_gzip_minimum_file_size 1000

mod_gzip_maximum_file_size 300000

mod_gzip_item_include file \.htm$

mod_gzip_item_include file \.html$

mod_gzip_item_include file \.php$

mod_gzip_item_include file \.php3$

mod_gzip_item_include mime text/.*

mod_gzip_item_include mime httpd/unix-directory

#不要让mod_gzip和php的session使用同一个临时目录:php_session需要通过php.ini设置session.save_path = /tmp/php_sess

mod_gzip_temp_dir /tmp/mod_gzip

mod_gzip_dechunk Yes

mod_gzip_keep_workfiles No

mod_gzip和mod_php的配合:不要让mod_gzip和mod_php使用同一个临时目录;

mod_gzip和RESIN配合:要让mod_gzip在mod_caucho后LOAD,否则mod_gzip不起作用

...othr modules

AddModule mod_so.c

AddModule mod_caucho.c

#notice: mod_gzip must load after mod_caucho

AddModule mod_gzip.c

AddModule mod_expires.c

...

mod_gzip_on Yes

mod_gzip_dechunk yes

mod_gzip_keep_workfiles No

mod_gzip_minimum_file_size 3000

mod_gzip_maximum_file_size 300000

mod_gzip_item_include file \.html$

mod_gzip_item_include mime text/.*

mod_gzip_item_include mime httpd/unix-directory

mod_gzip_item_include handler 'caucho-request'

日志轮循工具cronolog的安装和设置:cronolog可以非常整齐的将日志按天轮循存储

缺省编译安装到/usr/local/bin/下,只需要将配置改成:

CustomLog ”|/usr/local/sbin/cronolog /path/to/apache/logs/%w/access_log“ combined

日志将按天截断并存放在以weekday为目录名的目录下:比如:log/1是周一,log/5是周五, log/0是周日

升级维护:

由于使用标准化的DSO模式安装APACHE,APACHE的HTTPD核心服务和应用模块以及应用模块之间都变的非常灵活,建议将所有独立模块的配置都放在

CONFIGURATIONS..

里,这样配置非常容易通过屏蔽某个模块来进行功能调整:比如:

#AddModule mod_gzip.c

就屏蔽了mod_gzip,其他模块不首任何影响。

安装和维护过程:

系统安装:系统管理员的职责就是安装系统和一个可以适应任何情况的APACHE,然后COLON。

应用安装:由应用管理员负责具体应用所需要的模块并设置HTTPD。

系统升级:系统管理员:升级系统/升级APACHE

应用升级:应用管理员:升级应用模块

系统备份/恢复:如果APACHE不在缺省的系统盘上,只需要将APACHE目录备份就可以了,遇到系统分区的硬件问题直接使用预先准备好的系统COLON,直接将APACHE所在物理盘恢复就行了。

系统管理员:APACHE的最简化安装 OS + APACHE(httpd core only)

应用管理员:应用模块定制  +so

+php

+so

+caucho

+ssl

应用: 纯静态页面服务:

image.example.com

www.example.com bbs.example.com mall.example.com

参考文档:

Apache

httpd.apache.org

php

www.php.net

Resin

www.caucho.com

mod_gzip

www.remotecommunications.com/apache/mod_gzip/

Cronolog

www.cronolog.org

mod_expires

httpd.apache.org/docs/mod/mod_expires.html

<<返回>

jackylau 回复于:2003-09-20 21:06:41It`s very very good! thanks

原文转自:www.ltesting.net

篇2:ubuntu11.10 server i386学习笔记Apache安装

第一步:先更新安装包缓存

1.1 sudo apt-get update

如果不这么做,可能会出现下面的错误提示

sudo apt-get update执行后,系统会自动连接到更新服务器上更新安装包数据

...

1.2 sudo apt-get upgrade

1.3 开始安装Apache ,如果你照着上面2步做的话,后面的安装将会很简单

sudo apt-get install apache2 -www.2cto.com-

按Y键,稍微等待5分钟左右,就安装好了,

ubuntu11.10 server i386学习笔记Apache安装

打开另一台电脑的浏览器,输入Apache服务器的IP地址看看效果。

It works! 它工作了。

至此 Apache的安装成功完成了。

/***********************************************/

Apache的配置文件位置: /etc/apache2 -www.2cto.com-

例如,如果你要修改Apache的监听端口,那么你可以编辑 ports.conf 文件

ls -lht 看看

Apache 主要的配置文件都在这里,根据需要进行修改。

顺便补充一句: It works! 的 htm 页面在 /var/www

摘自 张建波专栏

篇3:在Windows系统上安装Apache和MySQL

选择一个正确的WAMP安装器

有许多不同的WAMP安装器可供选择,一些比较好的有:AppServ,EasyWamp,FoxServ, PHPDev, PHP Triad, Typo3 WAMP Installer(包括内存管理系统程序)和WampServer等。以下将向大家介绍如何使用AppServ。

怎样安装AppServ

1.从SourceForge.NET下载AppServ后,双击运行。

2.同意许可证协议并选定你需要安装软件的目录。

3.推荐这四项全都安装:Apache,MySQL,PHP和phpMyAdmin。唯一不要求的一项是phpMyAdmin,但该项非常有用。

4.由于这是要建立一个测试服务器,所以服务器的名称用“localhost”,管理员的邮件地址为“admin@localhost”。端口可使用默认值。

5.MySQL默认为空白的根密码,但是这显然非常不安全。所以设定一个便于记忆的安全密码,然后点击安装。

6.AppServ会贯穿Apache,MySQL和PHP在系统中的整个安装过程。

7.用AppServ启动Apache和MySQL,然后就可以浏览localhost/ 来查看你的新网页了,

设定你的WAMP服务器

AppServ会把你所有的网页都放到“DocumentRoot”——位于AppServ目录的www子目录中。默认路径为“C:/AppServ/www”。

建议你更改这一路径,这样一来你的测试服务器就距离其他Web文件夹更近。如何改变你的服务器的路径呢?如下所示:

1.在文字编辑器中打开httpd.conf,会在AppleService/Apache2.2/conf 目录中找到httpd.conf文件夹。

2.在该文件夹中搜索关键词“DocumentRoot”。

3.把哈希符号(#)置于DocumentRoot的开始行。这就可以注释这一行。

4.新写一行:

Document Root “Full path to your Web site directory”

5.然后继续写:

Directory “C:/PROGRA~1/AppServ/www”

并改变DocumentRoot 路径引号中的路径。

6.重启Apache(打开开始菜单→程序→AppServ→选择“重启Apache”)

如果你想在你的服务器上运行phpMyAdmin,你需要从AppServ/www文件夹里,复制phpMyAdmin 文件夹到你的新DocumentationRoot文件夹。用根用户名和你先前设定的密码来登录就可以了。

篇4:安装Apache和PHP的一些补充Windows系统

PHP的安装步骤,网上有很多资料,都非常详细,但是,由于Apache,PHP这类自由软件的安装并不象商业软件那样有一个友好的用户界面,许多网友又很少碰上这类东东,所以尽管旁边有一份安装资料,但还是碰上许多问题。我在国内许多关于Linux和php的论坛上,也注意

PHP的安装步骤,网上有很多资料,都非常详细。但是,由于Apache,PHP这类自由软件的安装并不象商业软件那样有一个友好的用户界面,许多网友又很少碰上这类东东,所以尽管旁边有一份安装资料,但还是碰上许多问题。我在国内许多关于Linux和php的论坛上,也注意到了不少网友总问相似的问题。因此,我把我所知道的这类问题的解决方法写出来,不对的地方,还请各位指出。

一、自由软件的安装,无论是在Win32还是在Linux,一般都有README,安装之前,仔细读一读,会有很多收获。

二、安装Apache

这一步应该比较简单,只要你记得设置httpd.conf里面的BindAddress、ServerName、DocumentRoot ,应该就可以看到熟悉的Apache图标了。BindAddress是指可以接听的IP地址,可以是*、IP地址,也可以是完整的域名。ServerName是主机名,如果没有域名,可以用IP。DocumentRoot为预设的首页位置。修改httpd.conf之后要记得重起Apache。

三、安装PHP

这一步问题比较多,归根结底就是两个原因,一个是PHP没有起作用,这是因为httpd.conf中关于PHP部分的设置有问题;另一个问题是PHP启动了,但运行PHP文件的时候有错误,这是因为php.ini没有设置好。

1、httpd.conf的设置

在win32下,这几行是不能少的

ScriptAlias /php ”d:/php/php.exe“

Action application/x-httpd-php ”/php“

AddType application/x-httpd-php .php .php3

前两行指出PHP脚本解释器的位置,第三行指出PHP脚本要解释的文件后缀,

如果不是PHP4而是PHP3,把”application/x-httpd-php“ 改为 ”......httpd-php3“,切记。

前面两行如果没有设置好,将会出现下载或者在页面显示PHP文件的情况。

在Linux中,如果PHP以Apache模块方式运行,那么只添加第三行就可以了,但是在安装的时候就应该注意步骤了,必须先安装PHP,之后 configure Apache的时候,要加上 --activate-module={libphp4.a的路径},然后 make,make install ......

如果要支持预设index.php这类的东西,还要找到这一句: Directory Index index.html ,后面加上 index.php index.php3 ......

这几个步骤完成后,写一个php程序,,应该有一个结果了,呵呵。

2、php.ini的设置

很多网友安装完php后,总是出现

”X-Powered-By: PHP/4.0.0 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-cache, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html “

这类东西,我第一次安装PHP4的时候也有这个现象,当时由于PHP4刚出来,网上的资料很少,自己瞎蒙改好了。只要你把

;Windows Extensions

这一段内容都用分号注释掉,就可以解决了,因为PHP4已经包含了支持MySQL,GD等等,不象PHP3,在win32下还要把这些dll包含进来。

除了这个问题,还有象session、文件上传等问题,这类问题可以参照 phpinfo 的执行结果找原因,一般都是没有设定路径,只要在php.ini里面找到相应的设置段,看看还有什么没有设置好,填上就可以了,旁边都有很详细的英文注释。

原文转自:www.ltesting.net

篇5:GTK+2.6安装笔记Unix系统

今天实践了一下GTK+2.6的安装,呵呵,主要是我想在 LINUX 下同时用QQ和MSN还有雅虎通聊天!可是就算你下载了GAIM的源码安装上了GAIM但是在安装OPENQ时总会出错说什么GTK版本不对呀!什么的,还有就是升级安装GIMP时也会出现类似的错误!真的很烦人!于是偿试

今天实践了一下GTK+2.6的安装,呵呵,主要是我想在LINUX下同时用QQ和MSN还有雅虎通聊天!可是就算你下载了GAIM的源码安装上了GAIM但是在安装OPENQ时总会出错说什么GTK版本不对呀!什么的,还有就是升级安装GIMP时也会出现类似的错误!真的很烦人!于是偿试安装新的GTK+,终于经过一天时间搞定了!感谢网友们发的有关GTK+安装方面的资源,

GTK+2.6安装笔记Unix系统

。我怕过两天会忘记!于是记下步骤放到BLOG中!但由于时间关于可能一次写不全!呵可!下面就开始了!。

一、准备工作

1、GTK+2.6及相关源码包的下载!

ftp://ftp.gtk.org里面有绝大多数的软件包!下载吧!我在安装时就象在WINDOWS里一样什么都用最新的!呵呵。。。如下:

atk-1.9.0.tar.bz2、tiff-v3.6.1.tar.z、pkgconfig-0.15.0.tar.gz、libpng-1.2.8.tar.bz2 、jpegsrc.v6b.tar.gz

glib-2.6.4.tar.bz2、gtk+-2.6.6.tar.bz2、pango-1.8.1.tar.bz2、freetype-2.1.8.tar.bz2

fontconfig-2.3.1.tar.gz

二、源码包的安装及次序:

a、首先安装pkgconfig

./configure --prefix=/usr &&

make &&

make install

把下面的话加到你的系统或用户设置文件中:

export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig

最好/sbin/ldconfig一下,以后每安一个软件就/sbin/ldconfig一下,保险点.

b、安装glib2.4

./configure --prefix=/usr &&

make &&

make install

/sbin/ldconfig

c、安装atk1.9

./configure --prefix=/usr &&

make &&

make install

/sbin/ldconfig

d、安装freetype-2.1.8

./configure --prefix=/usr &&

make &&

make install

/sbin/ldconfig

e、安装pango 1.8.1

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig

./configure --prefix=/usr --sysconfdir=/etc &&

make &&

make install

/sbin/ldconfig

f、安装libpng-1.2.8

make prefix=/usr \

ZLIBINC=/usr/include ZLIBLIB=/usr/lib -f scripts/makefile.linux &&

make prefix=/usr install -f scripts/makefile.linux

/sbin/ldconfig

g、安装libtiff(就是tiff)

./configure --prefix=/usr --noninteractive \

--with-DIR_MAN=/usr/share/man &&

make &&

make install

/sbin/ldconfig

h、安装libjpeg(就是jpegsrv)

./configure --enable-static --enable-shared --prefix=/usr &&

make &&

make install

/sbin/ldconfig

i、安装fontconfig-2.2.2

./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man && make && make install

/sbin/ldconfig

j、安装gtk2.6.6

./configure --prefix=/usr --sysconfdir=/etc &&

make &&

make install

/sbin/ldconfig

三、GAIM和OPENQ的安装

改日再写

Gaim 1.21和 OpenQ 0.3.1的安装方法

--------------------------------------------------------------------------------

Gaim是跨平台,支持多协议的即时通信工具,其实说白了就是聊天工具。目前最新版本是 1.21。

Gaim支持的协议有:MSN 、Yahoo通、AIM/ICQ、IRC、AIM、Gadu、Groupwise、Jabber、Napster、Zephir;

OpenQ是一个Gaim的插件,可以这么说吧,OpenQ也是一个QQ的客户端,是Linux或者BSD的QQ的解决方案,可能也能在其它平

台上使用,但测试过,

我想初学Linux的朋友,对LumaQQ不太寞生吧。其实他和LumaQQ达到的最终目标是一样的,就

是让非Windows的用户也能用QQ。如果您想要QQ的更多功能,还是用LumaQQ吧;如果您对LumaQQ以及OpenQ功能不太

满意,或者说反感,建议还是回到Windows中用Tencent的win版的QQ。

写本文目的:

有些朋友用MSN,可能需要Gaim的安装,其实Gaim的文章有好多,前面也总结过,但有些弟兄还在问,今天下载一个新版本

1.21的,安装一下试试,并再解决一下,其实也没有什么好说的,还是那点老内容,只是我象发疯一样一次又一次的

说个不停。同时也顺便测试一下OpenQ是不是还能在新版本的Gaim中容得下去。同时也是为了整理即时通讯讨论区的

帖子。想弄个索引什么的。哈哈,看到没有弟兄敢参与啊,我还是来参与一下吧。

正文:

一、下载Gaim 1.3.1 和 OpenQ 0.3.2

地址: gaim.sf.net

地址:openq.linuxsir.org

二、安装Gaim

1、解压

[root@S31 soft]# tar jxvf gaim-1.3.1.tar.bz2

2.编译和安装

[root@S31 gaim-1.3.1]# cd ..

[root@S31 soft]# cd gaim-1.3.1

[root@S31 gaim-1.3.1]# ./configure --prefix=/opt/gaim131 注:这是把Gaim安装到 /opt/gaim131目录中

通过上面的命令,应该有下面的提示:

gaim 1.3.1

Build Protocol Plugins........ : yes

Protocols to link statically.. :

Protocols to build dynamically : gg irc jabber msn napster novell oscar yahoo zephyr

UI Library.................... : GTK 2.x

SSL Library/Libraries......... : Mozilla NSS

Build with Plugin support..... : yes

Build with Perl support....... : yes

Build with Tcl support........ : yes

Build with Tk support......... : yes

Build with Audio support...... : yes

如果其中下面这行没有,或者显示的是No,则MSN不能用。

SSL Library/Libraries......... : Mozilla NSS

解决办法:安装Mozilla NSS 或者 GnuTLS

方法在: gaim.sourceforge.net/faq-ssl.php#q24

都正常了,接着就make ;make install

[root@S31 gaim-1.3.1]# make ;make install

安装好后,gaim应该在/opt/gaim131这个目录,如果想通行gaim,应该是在桌面做个链接,或者用命令运行也行。。

[beinan@S31 beinan]$ /opt/gaim131/bin/gaim

3.设置:没有什么好说的:

把gaim运行起来后,在帐号中设置一下就能用了。比如我用MSN,应该如下设置:

添加帐号:

协议:MSN

用户名:你用MSN帐号,就是信箱格式的 ,类似于 hzvan@163.com 之类的

密码:您的MSN密码

别名:这就是是昵称了,可以自己设置,什么都行。

三、安装OpenQ

1、下载 OpenQ-0.3.2.tar.bz2

2. 编译和安装

[root@S31 soft]#tar jxvf OpenQ-0.3.2.tar.bz2

[root@S31 soft]# cd OpenQ

[root@S31 OpenQ]# export PKG_CONFIG_PATH=/opt/gaim131/lib/pkgconfig

[root@S31 OpenQ]#./configure;make;make install

注:要设置gaim.pc所在的目录在哪里,安装其它东西,如果提示说 PKG_CONFIG_PATH 什么的,也要设置路径,原理是一样

的。

运行gaim就有QQ的插件了。

点[账户]:

协议:QQ

用户名:42643665就是您的QQ号了。

密码:您的QQ密码,其它的不用改动。

原文转自:www.ltesting.net

篇6:Ubuntu下安装Apache

本安装方式是在Ubuntu下采用tar包源码得方式安装,

去官方下载apache2.2.17 源码包:www.apache.org/dist/httpd/httpd-2.2.17.tar.gz

1.解压缩httpd-2.2.17.tar.gz 到临时目录如~/httpd-2.2.17

sudo tar zxvf httpd-2.2.17.tar.gz ~/http-2.2.17

2.进入~/apache目录,执行

sudo ./configure --prefix=/usr/server/apache2 --enable-module=so

sudo make

sudo make install

实际执行过程中可能要求你有root权限,所以要求使用sudo

3.启动和停止apache

启动:sudo /usr/server/apache2/bin/httpd -k start

启动时提示:

httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName.

解决办法是在http.conf中加一行:

ServerName 127.0.0.1:80

否则,只能在本地用127.0.0.1访问,不能使别的电脑访问网站

停止:sudo /usr/server/apache2/bin/httpd -k stop

4.让Ubuntu开机自动启动apache.

1). 复制 /usr/server/apache2/bin/apachectl到/etc/init.d

2). 加载为服务

sudo update-rc.d apachectl defaults

开机重启访问localhost/如果显示apache的网页,就说明自动启动成功了,

篇7:Apache Zeppelin安装及介绍

背景

Apache Zeppelin提供了web版的类似ipython的notebook,用于做数据分析和可视化,背后可以接入不同的数据处理引擎,包括spark, hive, tajo等,原生支持scala, java, shell, markdown等。它的整体展现和使用形式和Databricks Cloud是一样的,就是来自于当时的demo。

Mac OS上安装

其他组件都是好安装的,直接mvn install是没问题的。

我安装的时候唯一不太熟悉的就是zeppelin-web项目,里面使用了node, grunt, bower这些前段的工具。

我的经验是,修改zeppelin-web项目的pom.xml,把这部分脚本单独走一遍,

com.github.eirslettfrontend-maven-plugin0.0.23install node and npminstall-node-and-npmv0.10.181.3.8npm installnpmbower installbower--allow-root installgrunt buildgrunt--no-color --force

安装顺序:

1. 首先需要提前安装好npm和node。 brew install npm和npm install -g node。

2. 进入zeppelin-web目录下,执行 npm install。它会根据package.json的描述安装一些grunt的组件,安装bower,然后再目录下生产一个node_modules目录。

3. 执行 bower –alow-root install,会根据bower.json安装前段库依赖,有点类似于java的mvn。见bower.io/

4. 执行 grunt –force,会根据Gruntfile.js整理web文件。

5. 最好执行 mvn install -DskipTests,把web项目打包,在target目录下会生成war。

mvn可能会出错,因为web.xml不在默认路径下,需要在pom.xml里添加:

org.apache.maven.pluginsmaven-war-pluginappWEB-INFweb.xml

启动

安装完之后,在zeppelin parent目录下,修改conf文件夹里的zeppelin-env.sh和zeppelin-site.xml,可以是默认配置,但要把两个文件原本的无效后缀去掉,

在zeppelin parent目录下执行

bin/zeppelin-daemon.sh start

就可以在localhost:8080 访问到zepplin主页了。如果没有出主页,可以看浏览器console,是缺少了什么文件,八成是web项目打包的时候漏了,很可能是bower和grunt命令执行的时候缺少依赖出错的。

主界面为

zeppelin parent目录下会看到一个notebook文件夹,按notebook的名字命名区分了多个子目录。目录下是一个note.json文件,记录了每个notebook里输入的代码和执行结果,启动的时候会加载起来。<?www.2cto.com/kf/ware/vc/” target=“_blank” class=“keylink”>vcD4NCjxoMSBpZD0=“功能”>功能

进入页面上的notebook,可以直接写scala代码,

通过标识%md, %sh, %sql, %spark, %hive, %tajo来区分要执行的是什么,默认不写的话,执行环境是scala。在 127.0.0.1:8080/#/interpreter 页面里有详细的参数说明。

我还随手试了几个:

非常酷。

此外,zeppelin为spark sql做了可视化工作,进入tutorial notebook,它里面已经写好了例子。由于本地编译没有指定spark 版本,1.3之前版本没用toDF方法,而是toSchemaRDD,改下面这段:

import sys.process._// sc is an existing SparkContext.val sqlContext = new org.apache.spark.sql.SQLContext(sc)val zeppelinHome = (pwd !!).replace(, )val bankText = sc.textFile(s$zeppelinHome/data/bank-full.csv)case class Bank(age: Integer, job: String, marital: String, education: String, balance: Integer)val bank = bankText.map(s =>s.split(;)).filter(s =>s(0) != age).map( s =>Bank(s(0).toInt, s(1).replaceAll(, ),s(2).replaceAll(, ),s(3).replaceAll(, ),s(5).replaceAll(, ).toInt )).toSchemaRDDbank.registerTempTable(bank)

生成bank表之后,可以做查询,效果如下:

有直方图,饼状图,散点图,折线图等等。

注意:

这里${maxAge=}的写法和databricks cloud里的demo一样。当时那个例子是输入soccer,然后下方会实时训练并输出与足球有关的tweets(值FIFA比赛时期)。

这种表示方法,Zeppelin称之为Dynamic Form:

zeppelin.incubator.apache.org/docs/dynamicform.html

总结

apache zeppelin应该会很吸引分布式计算、数据分析从业者,代码量少,模块很清楚,可以尝试接入不同计算引擎,试试任务运行、可视化效果,是个值得把玩的算比较前卫的项目。

没有过多复杂的操作,只是区分了多个notebook,每个notebook里做单独的分析处理工作,流程和结果会被保存下来。此外,为spark做了更好的支持,比如默认是scala环境,默认sc已经创建好,即spark local可跑,默认spark sql有可视化效果。

篇8:Configuring an Apache Virtual ServerWindows系统

过节没有什么好送的就送大家一些文章吧:) ConfiguringanApacheVirtualServer -------------------------------------------------------------------------------- TableofContents VirtualWebServers SingleIPAddress MultipleIPAddress Apache ApacheNon

过节没有什么好送的就送大家一些文章吧:)

Configuring an Apache Virtual Server

--------------------------------------------------------------------------------

Table of Contents

Virtual Web Servers

Single IP Address

Multiple IP Address

Apache

Apache Non-IP Intensive Virtual Server

Apache IP Intensive Virtual Server

--------------------------------------------------------------------------------

Virtual Web Servers

Single IP Address

Multiple IP Address

The simplest way to configure a World Wide Web Server is to dedicate a single machine as the host for a single web domain. While this configuration is straightforward and easy to establish, it may not make maximum use of the web host's resources. That is, the web domain may not use all of the server's capability or capacity. You can, however, configure a World Wide Web Server as a virtual web host, which means that two or more web domains can share the resources of the server.

From the Internet Service Provider's (ISP's) perspective, a virtual web host provides cost-efficient use of the server and allows the ISP to make more of the server's capacity available for web domain hosting. From the ISP customer's perspective, a virtual web host allows the customer to share the web server with others, while maintaining a unique web domain address. For example, the same web server is available as www.company1.com and www.company2.com.

Consider the example of an ISP who has a server with the domain name www.isp.com. This server provides web space for several customer organizations, including company1 and company2. Without virtual web hosting, these customers are given parts of the web tree on www.isp.com. Their homepages might appear as described in Table 1-1.

Table 1-1: Example Home Pages for a Non-Virtual Host Server

Company URL

company1 www.isp.com/company1/

company2  www.isp.com/company2/

Each customer organization prefers that their home page appear under their own domain name rather than as a branch of the ISP's server domain name. But, the customer organizations do not wantto set up their own internet links and servers. The ISP can define their server as a virtual host, which allows company1 and company2 to each have their own Internet name registrations, www.company1.com and www.company2.org, respectively. These names both correspond to the ISP's server (www.isp.com). The home pages might now appear as shown in Table 1-2.

Table 1-2: Example Home Pages for a Virtual Host Server

Company URL

company1 www.company1.com/

company2 www.company2.org/

There are two methods you can use to establish your server as a virtual web host. You can configure your web server to use a single instance of the web server and a single IP address, but map the IP address to multiple domain names. Under Apache, the resulting configuration is called a non-IP intensive virtual server.

Alternatively, you can configure your web host to use an instance of the web server and an IP address for each domain name. Under Apache, the resulting configuration is called an IP intensive, or multiple IP, virtual server.

The non-IP intensive method results in multiple domain names that link to the same server instance within the same Web server. The IP intensive method results in multiple virtual server instances linked to the same Web server, with each virtual server instance linked to a particular IP address. When this document discusses a server instance, it refers to a new server configuration under a currently installed Web server.

This document describes the differences between IP and non-IP intensive virtual servers and the pros and cons of each implementation. The document also describes how to configure Apache to implement both types of virtual server.

Most of the information on Apache's implementation of virtual web hosts, including the configuration instructions, comes from the Apache home page. See that page for complete descriptions of all Apache implementations and configuration directives.

Return to Table of Contents

Single IP Address

When you configure your web server as a virtual server using the single IP address method, you establish a single IP address and hostname for that single instance of the web server. For each customer domain name, you map an IP hostname alias to the IP address already associated with the server.

To map an IP hostname alias to the server's IP address, you create canonical name, or CNAME, entries in your DNS (Domain Name System) server for each domain name. For example, if you have a web server defined as www.isp.com, you can configure DNS with multiple CNAME entries that point to www.isp.com. In this way, www.customer1.com, www.customer2.com and other customer domain names can share your ISP server, while each has a unique home page and unique domain name. Apache calls this method of creating a virtual server a non-IP intensive virtual server.

The single IP address method conserves IP addresses, which are a diminishing resource. This method also requires less time and fewer configuration changes, it is easily implemented using CNAME entries, and it allows each customer to share the common server's content settings. Under Apache, you can individualize the settings for the user area (the VirtualHost directive in the configuration file), but the daemon settings for the single IP address are shared by each virtual host.

However, because some browsers do not support the single IP address method, you may have to implement the multiple IP address virtual server method.

To directly aclearcase/“ target=”_blank“ >ccess your customer's home page, the user's client browser must support HTTP Version 1.1 protocol (the browser must pass the HTTP_HOST environment variable). If the client browser does not support HTTP Version 1.1, access to the ISP's home page. For browsers that do not support HTTP Version 1.1, the ISP must provide links to the customer home pages.

For information on configuring a virtual server using the single IP address method, see:

Apache Non-IP Intensive Virtual Server

Return to Table of Contents

Multiple IP Address

When you configure your web server as a multiple IP address virtual server, you create an instance of the web server and an IP address you bind to that server instance for each customer domain name. That is, you create a virtual server instance reconfigured from an existing, installed, server for each customer domain name you establish. You do not install a new server. To configure a multiple IP address virtual server, the operating system must also support your ability to define a host name alias for each web server instance and IP address combination (for example, ifconfig alias on Tru64UNIX).

Apache calls this method of creating a virtual server an IP intensive virtual server.

Unlike the single IP address virtual server method, each virtual server under the multiple IP address method is a separate instance of the web host. Customer sites are not constrained to HTTP Version 1.1 browser support. Under Apache, you can configure an IP intensive virtual server with multiple daemons or a single daemon and control the degree of difference between each virtual server instance.

Under the multiple IP address virtual server method, each server instance is unique and each requires a separate IP address. For an ISP hosting a number of customer domains on the web server, the large number of directories, multiple IP addresses, and the setup configurations for each instance can become a maintenance challenge. On an Apache Web Host server, you can mitigate this situation by configuring virtual servers with the multiple IP address method using a single daemon, rather than multiple daemons. Also note that, on Tru64 UNIX, a single network card can support at least 5000 IP addresses.

For information on configuring a virtual server using the multiple IP address method, see:

Apache IP Intensive Virtual Server

Return to Table of Contents

Apache

Apache Non-IP Intensive Virtual Server

Apache IP Intensive Virtual Server

The method you use to establish the Apache Web Server as a virtual server supporting multiple domain names depends on the version of Apache Web Server you have and the version of HTTP protocol you support.

Version 1.1 and later of the HTTP protocol allows the server to determine the hostname that is referenced by address; thus, you can associate more than one domain name with the IP address that is linked to the server. If you are using an Apache Web Server, Version 1.1 or later and your environment supports HTTP protocol, Version 1.1 or later, you can configure an Apache non-IP address intensive virtual server.

Versions of the HTTP protocol prior to Version 1.1 do not allow a server to determine the hostname that is referenced by address; thus, each server requires a unique IP address. If you are using a version of the Apache Web Server that is earlier than Version 1.1 or your environment does not support a version of HTTP protocol later than Version 1.1, you must configure an Apache IP intensive virtual server.

If the versions of HTTP and Apache in your environment require you to establish a separate IP address and server instance for each virtual server, use the non-IP intensive virtual server method to create an Apache Virtual Web Host. The non-IP intensive virtual server method allows you to conserve the diminishing number of IP addresses while accommodating the growing number of domains.

To define a virtual server, you use VirtualHost directives. When the server gets a request for a document on a particular virtual host, the server uses the VirtualHost directives for that virtual host to properly route and handle the request. Each VirtualHost directive corresponds to a different IP address or to a different host name for the Apache Web Server. If you are configuring a virtual server as an alternate host name, the Web Server must be able to accept IP packets for multiple IP addresses. You can use the Tru64 UNIX ifconfig alias command to configure the Web Server for multiple addresses.

This section summarizes information found on the Apache Web Server home page, www.apache.org/, which contains information on configuration of the Apache Server, reference to all directives, release notes, and solutions to various implementation issues.

Return to Table of Contents

Apache Non-IP Intensive Virtual Server

To establish an Apache non-IP intensive virtual server, you must establish a single instance of the server and a single IP address associated with that server. With those prerequisites met, you edit the Apache configuration files to associate two or more domain names with the server and to establish document roots for the home pages of those domains.

Also, you must map an IP address alias to the IP address associated with the server. To map an IP address alias to the server's IP address, you create canonical name, or CNAME, entries in your DNS (Domain Name System) server for each domain name. For example, if you have a web server defined as www.isp.com, you can configure DNS with multiple CNAME entries that point to www.isp.com. In this way, www.customer1.com, www.customer2.com and other customer domain names can share your ISP server, while each has a unique home page and unique domain name.

Ensure that there is an IP address for the Apache Web Host.

Ensure that there is a DNS entry for each new virtual host and that the entry points to the same IP address as the host server. Alternatively, you can include the IP address in the VirtualHost section of the configuration file.

Edit the Apache httpd.conf configuration file to add a VirtualHost section for each domain you wish to link to the host server. The VirtualHost section contains at least a ServerName and DocumentRoot directive and an optional ServerAlias directive.

Reboot the Apache server.

Consider the following example of a VirtualHost section from the httpd.conf configuration file:

ServerName www.apache.org

DocumentRoot /usr/web/apache

ServerAlias apache.org *.apache.org

In this example, you define a virtual host named www.apache.org, whose DNS entry must point to the same IP address as the Apache Web Host server. (You can also use the Apache Web Host server IP address in the VirtualHost directive instead of the Apache Web Host name. The document root for the www.apache.org home page is placed at /usr/web/apache. Also, in this example, you use the ServerAlias directive and a wildcard to ensure that all apache.org addresses (www.apache.org, ftp.apache.org, etc.) point to the Apache Web Host server.

For full documentation on Apache virtual servers, including information on security concerns when using virtual hosts and how to use virtual hosts in an environment containing older browser versions, refer to the documentation repository at the Apache web site.

Return to Table of Contents

Apache IP Intensive Virtual Server

Versions of the HTTP protocol prior to Version 1.1 do not allow a server to determine the host name by which it is addressed, thus, each server requires a unique IP address. If you are using a version of the Apache Web Server that is earlier than Version 1.1 or your environment does not support a Version 1.1, or later, HTTP protocol, you must configure an Apache IP intensive virtual server (multiple IP address method).

Apache has two ways you can configure an IP intensive virtual server:

Run a separate httpd daemon for each hostname.

Use this method when the different virtual hosts need different HTTP configurations, such as different values for ServerType, User, Group, TypesConfig or ServerRoot. Because an increase in the number of running daemons has an impact on operating system performance, you should not use this method if the Apache Web Host server has a high request rate.

Run a single daemon which supports all the virtual hosts.

Use this method when the virtual hosts can share an HTTPD configuration and when the Apache Web Server host services a large number of requests.

Separate daemons for each host name.

To configure an IP intensive virtual server with separate daemons, first create a separate HTTPD installation for each virtual server. For each HTTPD installation, use the BindAddress directive in the httpd.conf configuration file to select the IP address (or virtual host) that the daemon will service.

For example:

BindAddress www.smallco.com

Alternatively, you can specify an IP address instead of the host name, www.smallco.com.

Single daemon for all host names.

To configure an IP intensive virtual server where a single HTTPD daemon services the requests of all virtual hosts, use the VirtualHost directive in the httpd.conf configuration file. In this directive, set different values for ServerAdmin, ServerName, DocumentRoot, ErrorLog and TransferLog for each virtual host the Apache Web Host Server will support. For example:

ServerAdmin webmaster@mail.smallco.com

DocumentRoot /groups/smallco/www

ServerName www.smallco.com

ErrorLog /groups/smallco/logs/error_log

TransferLog /groups/smallco/logs/access_log

ServerAdmin webmaster@mail.baygroup.org

DocumentRoot /groups/baygroup/www

ServerName www.baygroup.org

ErrorLog /groups/baygroup/logs/error_log

TransferLog /groups/baygroup/logs/access_log

Alternatively, you can specify an IP address instead of the host names, www.smallco.com and www.baygroup.com.

miniyoyo2002 回复于:2002-10-07 11:21:08谢谢!

up!

原文转自:www.ltesting.net

篇9:分布式系统协调 Apache ZooKeeper

ZooKeeper是Hadoop的正式子项目,它是一个针对大型分布式系统的可靠协调系统,提供的功能包括:配置维护、名字服务、分布式同步、组服务等,ZooKeeper的目标就是封装好复杂易出错的关键服务,将简单易用的接口和性能高效、功能稳定的系统提供给用户。

Zookeeper是Google的Chubby一个开源的实现.是高有效和可靠的协同工作系统.Zookeeper能够用来leader选举,配 置信息维护等.在一个分布式的环境中,我们需要一个Master实例或存储一些配置信息,确保文件写入的一致性等.Zookeeper能够保证如下3点:

Watches are ordered with respect to other events, other watches, and

asynchronous replies. The ZooKeeper client libraries ensures that

everything is dispatched in order.

A client will see a watch event for a znode it is watching before seeing the new data that corresponds to that znode.

The order of watch events from ZooKeeper corresponds to the order of the updates as seen by the ZooKeeper service.

在Zookeeper中,znode是一个跟Unix文件系统路径相似的节点,可以往这个节点存储或获取数据.如果在创建znode时Flag设置 为EPHEMERAL,那么当这个创建这个znode的节点和Zookeeper失去连接后,这个znode将不再存在在Zookeeper 里.Zookeeper使用Watcher察觉事件信息,当客户端接收到事件信息,比如连接超时,节点数据改变,子节点改变,可以调用相应的行为来处理数 据.Zookeeper的Wiki页面展示了如何使用Zookeeper来处理事件通知,队列,优先队列,锁,共享锁,可撤销的共享锁,两阶段提交.

那么Zookeeper能帮我们作什么事情呢?简单的例子:假设我们我们有个20个搜索引擎的服务器(每个负责总索引中的一部分的搜索任务)和一个 总服务器(负责向这20个搜索引擎的服务器发出搜索请求并合并结果集),一个备用的总服务器(负责当总服务器宕机时替换总服务器),一个web的 cgi(向总服务器发出搜索请求).搜索引擎的服务器中的15个服务器现在提供搜索服务,5个服务器正在生成索引.这20个搜索引擎的服务器经常要让正在 提供搜索服务的服务器停止提供服务开始生成索引,或生成索引的服务器已经把索引生成完成可以搜索提供服务了.使用Zookeeper可以保证总服务器自动 感知有多少提供搜索引擎的服务器并向这些服务器发出搜索请求,备用的总服务器宕机时自动启用备用的总服务器,web的cgi能够自动地获知总服务器的网络 地址变化.这些又如何做到呢?

提供搜索引擎的服务器都在Zookeeper中创建znode,zk.create(”/search/nodes/node1“,

”hostname“.getBytes(), Ids.OPEN_ACL_UNSAFE, CreateFlags.EPHEMERAL);

总服务器可以从Zookeeper中获取一个znode的子节点的列表,zk.getChildren(”/search/nodes“, true);

总服务器遍历这些子节点,并获取子节点的数据生成提供搜索引擎的服务器列表.

当总服务器接收到子节点改变的事件信息,重新返回第二步.

总服务器在Zookeeper中创建节点,zk.create(”/search/master“, ”hostname“.getBytes(), Ids.OPEN_ACL_UNSAFE, CreateFlags.EPHEMERAL);

备用的总服务器监控Zookeeper中的”/search/master“节点.当这个znode的节点数据改变时,把自己启动变成总服务器,并把自己的网络地址数据放进这个节点.

web的cgi从Zookeeper中”/search/master“节点获取总服务器的网络地址数据并向其发送搜索请求.

web的cgi监控Zookeeper中的”/search/master"节点,当这个znode的节点数据改变时,从这个节点获取总服务器的网络地址数据,并改变当前的总服务器的网络地址.

项目主页:www.open-open.com/lib/view/home/1339253582459

Redis总结笔记(一):安装和常用命令

Ubuntu中安装MongoDB及执行一些简单操作笔记

Mandrake10.1硬盘部分解压安装Unix系统

安装Windows 7系统大硬盘分区方案

电脑xp系统安装教程——步骤12:备份系统

八步教您U盘安装Win7系统

Windows7 64位系统网卡驱动安装问题解决办法

Apache防止攻击WEB安全

Windows 7系统怎么安装无线网络电脑新手办公/数码

沟通无界 Windows 8系统轻松安装丰富语言包

APACHE安装笔记Unix系统(精选9篇)

欢迎下载DOC格式的APACHE安装笔记Unix系统,但愿能给您带来参考作用!
推荐度: 推荐 推荐 推荐 推荐 推荐
点击下载文档 文档为doc格式
点击下载本文文档