Storm环境搭建

本文详细介绍了如何从源代码编译安装Python 2.6.6,并配置Apache Storm 0.9.2集群环境,包括设置环境变量、编辑配置文件及启动nimbus、supervisor和UI服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

wget https://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz
tar -zxvf Python-2.6.6.tgz
cd Python-2.6.6
./configure --prefix=/usr/local/Python2.6.6
make
make install
python -V

tar -zxvf apache-storm-0.9.2-incubating.tar.gz -C /usr/local/
mv apache-storm-0.9.2-incubating/ apache-storm-0.9.2
vim /etc/profile
export STORM_HOME=/usr/local/apache-storm-0.9.2
export PATH=$PATH:$STORM_HOME/bin
source /etc/profile

cd apache-storm-0.9.2/
cd apache-storm-0.9.2/conf/
vim storm.yaml
storm.zookeeper.servers:
     - "127.0.0.1"
nimbus.host: "127.0.0.1"
storm.local.dir: "/usr/local/apache-storm-0.9.2/data"
ui.port: 18080
ui.host: 0.0.0.0
supervisor.slots.ports:
   - 6700
   - 6701
   - 6702
   - 6703

storm.zookeeper.port: 2181
nimbus.seeds: ["master"]
supervisor.slots.ports:
    - 6700
storm.local.dir: "/usr/local/apache-storm-1.2.2/data"

nohup /usr/local/apache-storm-1.2.2/bin/storm nimbus &
nohup /usr/local/apache-storm-1.2.2/bin/storm supervisor &
nohup /usr/local/apache-storm-1.2.2/bin/storm ui &
http://localhost:8080/index.html

export STORM_HOME=/usr/local/apache-storm-1.2.2
export PATH=$PATH:$STORM_HOME/bin

source /etc/profile

nohup storm nimbus &
jps
nohup storm supervisor &
nohup storm ui &

http://localhost:18080/index.html






zkServer.sh status
zkServer.sh start
zkCli.sh
ls /
rmr /dubbo
ls /
quit

cd /usr/local/apache-storm-0.9.2/bin/
cd /usr/local/
storm nimbus &
jps
cd /usr/local/apache-storm-0.9.2/logs/
tail -f -n 100  nimbus.log

cd /usr/local/
jps
storm ui &
jps
cd /usr/local/apache-storm-0.9.2/logs/
cat ui.log

nohup storm supervisor &

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值