最近研究hadoop,需要安装多个dadanode,想从重复劳动解脱出来,只能自己实现自动安装包,开始考虑使用shell、python等实现,感觉比较费时间,用installshield又有点牛刀小试,搜索后打算使用轻量级的installbuilder工具,废话少说了,开始working。。。
BitRock InstallBuilder Multiplatform Enterprise Version: 8.6.0
下载地址:http://installbuilder.bitrock.com/download.html
[root@patf232 ~]# chmod a+x hdfs-1.0-linux-installer.run
[root@patf232 ~]# ./hdfs-1.0-linux-installer.run
Choose an option
Do you want to install namenode or datanaode?
[1] Hadoop4.2 NameNode
[2] Hadoop4.2 DataNode
Please choose an option [2] : 1
----------------------------------------------------------------------------
Created with an evaluation version of BitRock InstallBuilder
Welcome to the HadoopDemo Setup Wizard.
----------------------------------------------------------------------------
Please specify the directory where HadoopDemo will be installed.
Installation Directory [/opt/Hdfs-1.0]: /root
----------------------------------------------------------------------------
Setup is now ready to begin installing HadoopDemo on your computer.
Do you want to continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while Setup installs HadoopDemo on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished installing HadoopDemo on your computer.