CentOS Hugo Installation

Published on

title: CentOS Hugo Installation tags: [“CenotOS”, “hugo”,“cicd”] date: 2022-05-02 draft: false

CentOS Hugo Installation

1、yum无法直接Installationhugo,首先添加repo

[daftaupe-hugo]
name=Copr repo for hugo owned by daftaupe
baseurl=https://copr-be.cloud.fedoraproject.org/results/daftaupe/hugo/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/daftaupe/hugo/pubkey.gpg
repo_gpgcheck=0
enabled=1

2、Installationhugo

yum -y install hugo

3、Create博客

hugo new site blog