1. 安装go
ubuntu@localhost:~$ wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
ubuntu@localhost:~$ tar -xvf go1.6.2.linux-amd64.tar.gz
ubuntu@localhost:~$sudo mv go /usr/local
ubuntu@localhost:~$ vi .bashrc
export PATH=$PATH:/usr/local/go/bin
ubuntu@localhost:~$ source .bashrc
Create a new directory for your Go workspace, which is where Go will build its files.
mkdir $HOME/blogs
Now you can point Go to the new workspace you just created by exporting GOPATH.
export GOPATH=$HOME/blogs
go官网 https://golang.org/dl/
2. 安装hugo+github
wget https://github.com/spf13/hugo/releases/download/v0.15/hugo_0.15_amd64.deb
sudo dpkg -i hugo_0.15_amd64.deb
hugo的配置:
http://tonybai.com/2015/09/23/intro-of-gohugo/
http://blog.coderzh.com/2015/08/29/hugo/
http://www.jianshu.com/p/b66754c0baa6
3. 自己的server做服务器
https://www.ubuntuhot.com/posts/ubuntu-install-lamp-server-nginx.html
http://wbuntu.com/?p=288
https://paysonli.com/post/VPS+hugo+Nginx%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA%E5%85%A8%E8%BF%87%E7%A8%8B/
4. 推荐阅读 创建GitHub技术博客全攻略
http://blog.csdn.net/renfufei/article/details/37725057
5. git的用法
http://www.cnblogs.com/renkangke/archive/2013/05/31/conquerAndroid.html