搭建golang环境

来源:互联网 发布:最好听的网络歌曲推荐 编辑:程序博客网 时间:2024/06/05 19:30
  890  nohup ./eclipse > ./eclipse.log &
  891  sudo nohup ./eclipse > ./eclipse.log &
  892  su
  893  apt-cache search golang
  894  sudo apt-get install golang
  895  sl
  896  ls
  897  cd /home/
  898  ls
  899  cd pdf/
  900  ls
  901  cd workspace/
  902  ls
  903  cd ..
  904  ls
  905  mkdir -p go
  906  ls
  907  cd go/
  908  ls
  909  pwd
  910  vim ~/.bashrc
  911  source ~/.bashrc
  912  go
  913  ls
  914  go get git.oschina.net/uero/unism-thrift
  915  ls
  916  mkdir src
  917  ls
  918  cd src/
  919  ls
  920  git clone https://git.oschina.net/uero/unism-thrift.git
  921  ls
  922  cd unism-thrift/
  923  ls
  924  go build
  925  go get github.com/go-martini/martini
  926  go get github.com/martini-contrib/render
  927  go get unism-rest/controllers/v1
  928  ls
  929  pwd
  930  ls
  931  go build
  932  ls /home/pdf/go
  933  ls /home/pdf/go/src/unism-rest/pkg/setting (from $GOPATH)
  934  ls /home/pdf/go/src/unism-rest/pkg/setting
  935  mv /home/pdf/go/src/unism-thrift /home/pdf/go/src/
  936  mv /home/pdf/go/src/unism-thrift /home/pdf/go/src/unism-rest
  937  ls
  938  go build
  939  go get github.com/martini-contrib/binding
  940  go get github.com/rackspace/gophercloud
  941  go get github.com/rackspace/gophercloud/openstack
  942  go get gopkg.in/ini.v1
  943  apt-cache search lite
  944  apt-get install liteide
  945  sudo apt-get install liteide
  946  vim /etc/sudoers
  947  sduo vim /etc/sudoers
  948  sudo vim /etc/sudoers
  949  sudo chmod +w /etc/sudoers
  950  sudo vim /etc/sudoers
  951  uname -r
  952  uname -a
  953  sudo apt-get install liteide
  954  cd /home/pdf/Downloads/
  955  ls
  956  tar xvf liteidex28.linux64-qt4.tar.bz2 -C /usr/local/
  957  sudo tar xvf liteidex28.linux64-qt4.tar.bz2 -C /usr/local/
  958  gksudo gedit /usr/share/applications/liteide.desktop
  959  cd /home/pdf/go/src/unism-rest/
  960  go build
  961  go get github.com/rackspace/gophercloud
  962  github.com/rackspace/gophercloud/openstack
  963  go get github.com/rackspace/gophercloud/openstack
  964  go get github.com/rackspace/gophercloud/openstack/identity/v2/tokens
  965  pwd

0 0
原创粉丝点击