标签:
安装前准备
zookeepper-3.4.8.tar.gz
http://www.apache.org/dist//zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz
tomcat 7
http://tomcat.apache.org/download-70.cgi
dubbo
http://dubbo.io/
1、安装zk
tar zxvf zookeeper-3.4.8.tar.gz
cd zookeeper-3.4.8
cp conf/zoo_sample.cfg conf/zoo.cfg
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/home/dubbo/zookeeper-3.4.8/data
clientPort=2181
mkdir data
vi myid
myid指明自己的id,对应上面zoo.cfg中server.后的数字
2、安装tomcat
tar zxvf apache-tomcat-7.0.47.tar.gz
cd apache-tomcat-7.0.47
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest
标签:
原文地址:http://www.cnblogs.com/playburst/p/5863005.html