RedHat的安装使用RPM包。安装在RedHat和基于RedHat的操作系统,如CentOS的支持。

要安装的RPM包,你下载,使用的转速命令行的工具。您必须登录为root(超级用户)来完成安装

下载地址:http://www.couchbase.com/

root-shell> rpm --install membase-serverversion.rpm

 

版本是 在哪里下载的软件包的版本号。

Membase的服务器 的RPM命令已被执行后,会自动启动,并在引导下2,3,4,和5个运行级别配置为自动启动。使用RPM安装软件包的更多信息,请参阅RedHat的RPM文件。

安装完成后,安装过程中会显示一条消息,类似于如下:

Starting Membase server: [ OK ]You have successfully installed Membase Server.Please browse to http://hostname:8091/ to configure your server.Please refer to http://membase.com/support foradditional resources.Please note that you have to update your firewall configuration toallow connections to the following ports: 11211, 11210, 4369, 8091and from 21100 to 21199.By using this software you agree to the End User License Agreement.See /opt/membase/LICENSE.txt.

大概意思:

启动的Membase服务器:[OK]您已经成功安装了Membase服务器。请浏览,http://hostname:8091/配置您的服务器。请参考http://membase.com/support 额外的资源。请注意,你必须更新你的防火墙配置,以允许连接到以下端口:11211,11210,4369,8091 和21100到21199。通过使用本软件,您同意最终用户许可协议“。的/ opt /内存地址/ LICENSE.TXT。

根据提示你就要去  http://hostname:8091/配置您的服务器了

(步骤:http://www.couchbase.com/docs/membase-getting-started-1.7/membase-getting-started-1.7-setup.html)

 

安装完成后,您就可以使用的RedHat 的chkconfig命令管理Membase服务器服务,包括检查的当前状态,并创建链接启用和禁用自动启动。参考RedHat文档,说明。


注:

membase启动:service membase-server start

端口默认(数据端):11211