Strom部署安裝
目前創(chuàng)新互聯(lián)已為1000+的企業(yè)提供了網(wǎng)站建設、域名、網(wǎng)頁空間、網(wǎng)站托管、服務器托管、企業(yè)網(wǎng)站設計、定遠網(wǎng)站維護等服務,公司將堅持客戶導向、應用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。[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 調(diào)用 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/
另外有需要云服務器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。
當前標題:Strom部署安裝-創(chuàng)新互聯(lián)
標題路徑:http://www.rwnh.cn/article38/ddcdpp.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供虛擬主機、外貿(mào)建站、網(wǎng)站營銷、網(wǎng)站建設、手機網(wǎng)站建設、網(wǎng)頁設計公司
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)