In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Strom deployment installation
[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 installation and deployment
[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
# Bridge for jzmq java to call 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 installation
[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.045"
Java (TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot (TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
Normal after correction
[root@python bin] #. / storm ui
Visit: http://10.0.0.9:8080/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.