平台云Deis部署2-deisctl安装

1、前置条件

三台云计算主机(coreos-无外网 104,105,106)

一台工作机(fedora-有外网 103)

官方文档:http://docs.deis.io/en/latest/installing_deis/install-deisctl/ 按照官方文档的从源码编译的方式安装

编译我都放在我的工作机上。

2、安装必备工具

yum -y install go git

 在/etc/profile里配置GOPATH

export GOPATH=/root/go_workspace

下载godep,并放置在/usr/local/bin目录下

3、下载deis源码并编译

mkdir -p /root/go_workspace/src/github.com/deis

 如果你曾经执行过 go get 命令的话,到github.com的目录应该是有的。

cd /root/go_workspace/src/github.com/deis
git clone https://github.com/deis/deis.git
cd /root/go_workspace/src/github.com/deis/deis
make -C deisctl build

 这时编译好的deisctl就会在你的/root/go_workspace/src/github.com/deis/deis目录下



 

现在有个编译好的deisctl,我们在安装集群的时候可以直接安装到coreos系统里

 

 

 

猜你喜欢

转载自wiselyman.iteye.com/blog/2155028