安装golang:
[wsc@host2 ~]$ wget https://storage.googleapis.com/golang/go1.6.2.linux-386.tar.gz --no-check-certificate
[wsc@host2 ~]$ sudo tar -C /usr/local/ -zxf go1.6.2.linux-386.tar.gz
[wsc@host2 ~]$ vi ~/.bash_profile
export GOROOT=/usr/local/go
export GOPATH=$GOROOT/work
export PATH=$PATH:$GOROOT/bin
[wsc@host2 ~]$ source ~/.bash_profile
安装nodejs:
[wsc@host2 ~]# wget https://nodejs.org/download/release/v6.1.0/node-v6.1.0-linux-x64.tar.gz --no-check-certificate
[wsc@host2 ~]$ tar xzf node-v6.1.0-linux-x64.tar.gz
[wsc@host2 ~]$ ./node-v6.1.0-linux-x64/bin/node -v
v6.1.0
[wsc@host2 ~]$ vi ~/.bash_profile
export NODE_HOME=/home/wsc/node-v6.1.0-linux-x64
export PATH=$PATH:$NODE_HOME/bin
[wsc@host2 ~]$ source ~/.bash_profile
[wsc@host2 ~]$ npm -v
3.8.6
[wsc@host2 ~]# npm install -g cnpm --registry=https://registry.npm.taobao.org/
[wangshichun@host2 ~]# npm install -g node-gyp --registry=https://registry.npm.taobao.org/
[wsc@host2 ~]$ sudo yum install gcc
[wsc@host2 ~]$ yum whatprovides "*/g++"
[wsc@host2 ~]$ sudo yum install gcc-c++-4.8.2-8.el6.x86_64
安装docker:(ubuntu 64)
wsc@chunsw:~$ sudo apt-get update 更新软件包资源列表
wsc@chunsw:~$ sudo apt-get install docker.io 安装docker
wsc@chunsw:~$ docker -v
Docker version 1.10.3, build 20f81dd