Centos-Hugo 使用

CentOS 系统 Hugo 安装使用。

1
2
3
4
5
6
wget https://github.com/gohugoio/hugo/releases/download/v0.41/hugo_0.41_Linux-64bit.tar.gz
tar -zxvf ./hugo_0.41_Linux-64bit.tar.gz
cp ./hugo /usr/local/bin/
yum install httpd
cp -R ./public/* /var/www/html/
service httpd start