安装go 1.5 & 部署
2015-08-25 11:17
399 查看
https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.5.linux-amd64.tar.gz
vim $HOME/.profile
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/work/apps/go
source $HOME/.profile
go env
go run server.go > /dev/null 2>&1 &
tar -C /usr/local -xzf go1.5.linux-amd64.tar.gz
vim $HOME/.profile
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/work/apps/go
source $HOME/.profile
go env
go run server.go > /dev/null 2>&1 &
相关文章推荐
- Astgo基本操作教程----No.1:中继管理&呼出路由组设置
- leetcode: (190) Reverse Bits
- 如何实现支持数亿用户的长连消息系统 | Golang高并发案例
- leetcode: (191) Number of 1 Bits
- UVA 11090 Going in Cycle!!
- django学习(1)编写技巧
- Algorithms—230.Kth Smallest Element in a BST
- django之model中的Field类型
- light oj 1057 Collecting Gold(状态压缩dp)
- django orm基本使用策略
- leetcode: (263) Ugly Number
- [Golang] 从零开始写Socket Server(4):将运行参数放入配置文件(XML/YAML)
- mongoose模块自动生成_id
- Google Earth谷歌地球卫片下载器--可下载全球历史卫星,无偏移、高精度
- [c] poj1003 hangover
- wordpress第一天
- leetcode: (171) Excel Sheet Column Number
- Set a static file on django
- 服务程序中侦测用户logon和logoff消息
- Go web之旅(路由篇)