##让Linux下没有难装的流行开源软件 ##Make popular OSS easily installed in linux
每台机器只需要INSTALL和INIT两个步骤。 ##使用方法
[root@host33 tmp]# sh easypack_mesos.sh INSTALL MASTER
Usage: easypack_mesos.sh ACTION TYPE NODE
ACTION: INSTALL|INIT|UNINSTALL|STATUS|START|STOP|RESTART
TYPE : MASTER|SLAVE
NODE : 1|2|3|ALL
[root@host33 tmp]#
##Master节点
[root@host33 tmp]# sh easypack_mesos.sh INSTALL MASTER 2
## Intall Log file : /tmp/tmp_log_file.10340.log
## Install for Master Node: :OK
## Config for Master Node: /etc/hosts :OK
## Config for Master Node: :OK
[root@host33 tmp]#
[root@host33 tmp]# sh /tmp/easypack_mesos.sh INIT MASTER 1
## Intall Log file : /tmp/tmp_log_file.10753.log
## Init for Master Node: :OK
[root@host33 tmp]#
##Slave节点
root@host43 ~]# sh /tmp/easypack_mesos.sh INSTALL SLAVE 2
## Intall Log file : /tmp/tmp_log_file.1751.log
## Install for Slave Node: OK
## Config for Slave Node: OK
[root@host43 ~]# sh /tmp/easypack_mesos.sh INIT SLAVE 3
## Intall Log file : /tmp/tmp_log_file.2011.log
## Init for Slave Node: OK
[root@host43 ~]#
#详细参照 http://blog.csdn.net/liumiaocn/article/details/54405044