码迷,mamicode.com
首页 > 系统相关 > 详细

golang in ubuntu

时间:2014-10-12 01:50:27      阅读:366      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   for   sp   art   on   cti   

1. environment for go

 we don‘t need to set GOROOT, see http://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really  

Just add the following lines to ~/.bashrc and this will persist. 

export GOPATH=$HOME/go
##export PATH=$PATH:$GOPATH/bin

2. MongoDB 

after install MongoDB from official package.

stan@stan-VirtualBox:~$ mongo
MongoDB shell version: 2.4.9
connecting to: test
Server has startup warnings:
Sat Oct 11 22:55:55.418 [initandlisten]
Sat Oct 11 22:55:55.418 [initandlisten] ** NOTE: This is a 32 bit MongoDB binary.
Sat Oct 11 22:55:55.418 [initandlisten] ** 32 bit builds are limited to less than 2GB of data (or less with --journal).
Sat Oct 11 22:55:55.418 [initandlisten] ** See http://dochub.mongodb.org/core/32bit
Sat Oct 11 22:55:55.418 [initandlisten]
>

 

3. git

stan@stan-VirtualBox:~$ git
usage: git [--version] [--help] [-C <path>] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]

 

4. config sublime

 http://www.cnblogs.com/yourihua/archive/2012/06/04/2529333.html

5. download project from GitHub

 

golang in ubuntu

标签:blog   http   io   ar   for   sp   art   on   cti   

原文地址:http://www.cnblogs.com/harrysun/p/4020003.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!