189 8069 5689

Strom部署安装-创新互联

Strom部署安装

目前创新互联已为1000+的企业提供了网站建设、域名、网页空间、网站托管、服务器托管、企业网站设计、定远网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。

[root@python ~]# ifconfig

eth0     Link encap:Ethernet HWaddr00:0C:29:1D:C6:CC

         inet addr:10.0.0.9 Bcast:10.0.0.255 Mask:255.255.255.0

         inet6 addr: fe80::20c:29ff:fe1d:c6cc/64 Scope:Link

         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

         RX packets:110132 errors:0 dropped:0 overruns:0 frame:0

         TX packets:62629 errors:0dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:1000

         RX bytes:134705650 (128.4 MiB) TXbytes:4477554 (4.2 MiB)

[root@python ~]# cat /etc/hosts

127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4

::1        localhost localhost.localdomain localhost6 localhost6.localdomain6

10.0.0.9 python.host.com master

JAVA 安装部署

[root@python strombushu]# ll

total 31792

-rw-r--r-- 1 root root 14268181 Aug 18 2014 storm-0.8.2.zip

-rw-r--r-- 1 root root 1877380 May 18 03:10 zeromq-2.1.7.tar.gz

-rw-r--r-- 1 root root 16402010 Aug 18 2014 zookeeper-3.4.5.tar.gz

[root@python strombushu]#

[root@python strombushu]# mkdir /bigdata

[root@python strombushu]# tar -xvfzeromq-2.1.7.tar.gz -C /bigdata/

[root@python bigdata]# cd zeromq-2.1.7/

[root@python zeromq-2.1.7]# ./configure

ERROR:

configure: error: cannot link with  -luuid, install uuid-dev.

[root@python zeromq-2.1.7]# yum install uuid-devel–y

[root@python zeromq-2.1.7]# yum installlibuuid-devel –y

[root@python zeromq-2.1.7]# make

[root@python zeromq-2.1.7]# make install

# jzmq java 调用 zeromq的桥梁

[root@python strombushu]# unzipjzmq-master.zip -d /bigdata/

[root@python bigdata]# cd /bigdata/jzmq-master/

[root@python jzmq-master]# ls

AUTHORS    ChangeLog    COPYING.LESSER Makefile.am pom.xml     src

autogen.sh configure.in debian         NEWS        README      test

builds     COPYING      jzmq.spec      perf        README-PERF

[root@python jzmq-master]#

[root@python jzmq-master]#

[root@python jzmq-master]# ./autogen.sh

[root@python jzmq-master]# ./configure

[root@python jzmq-master]# make

[root@python jzmq-master]# make install

[root@python strombushu]# unzip storm-0.8.2.zip-d /bigdata/

Zookeeper安装

[root@python strombushu]# tar -xvfzookeeper-3.4.5.tar.gz -C /bigdata/

[root@python strombushu]# cd /bigdata/

[root@python bigdata]# ll

total 16

drwxr-xr-x 9 root root 4096 May 18 03:27jzmq-master

drwxr-xr-x 8 root root 4096 Jan 12 2013 storm-0.8.2

drwxr-xr-x 10 1000 1000 4096 May 18 03:21 zeromq-2.1.7

drwxr-xr-x 10 nani games 4096 Nov 5 2012zookeeper-3.4.5

[root@python bigdata]# cd zookeeper-3.4.5/

[root@python zookeeper-3.4.5]#

[root@python zookeeper-3.4.5]# cd conf/

[root@python conf]# ls

configuration.xsl log4j.properties zoo_sample.cfg

[root@python conf]# cp zoo_sample.cfgzoo.cfg

[root@python conf]# cd ...

-bash: cd: ...: No such file or directory

[root@python conf]# cd ../bin/

[root@python bin]# ./zkServer.sh start

JMX enabled by default

Using config:/bigdata/zookeeper-3.4.5/bin/../conf/zoo.cfg

Starting zookeeper ... STARTED

[root@python bin]# jps

13817 QuorumPeerMain

13835 Jps

[root@python bin]# cd /bigdata/storm-0.8.2/

[root@python storm-0.8.2]# cd conf/

[root@python conf]# grep -v"^#\|^$" storm.yaml

storm.zookeeper.servers:

    - "10.0.0.9"

nimbus.host: "10.0.0.9"

[root@python conf]# cd ../bin/

[root@python bin]# ls

build_release.sh install_zmq.sh javadoc.sh storm to_maven.sh

[root@python bin]# ./storm nimbus

[root@python bin]# ./storm nimbus

Exception in thread "main"  java.lang.NoClassDefFoundError: clojure.core.protocols$seq_reduce

[root@python ~]# java -version

java version "1.5.0"

gij (GNU libgcj) version 4.4.7 20120313  (Red Hat 4.4.7-17)

||

To

||

V

[root@python ~]# ll /usr/bin/java

lrwxrwxrwx 1 root root 31 May 18 03:57  /usr/bin/java -> /usr/local/jdk1.6.0_45/bin/java

[root@python ~]# java -version

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build  1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build  20.45-b01, mixed mode)

修正后正常

[root@python bin]# ./storm ui

访问:http://10.0.0.9:8080/

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


标题名称:Strom部署安装-创新互联
文章网址:http://cdxtjz.cn/article/ddcdpp.html

其他资讯