Hugo安装测试(未完待续)
#安装教程如下
hugo new site blog
cd blog/themes/
#参考阳明博客直接复制主题
git clone https://github.com/cnych/qikqiak.com.git
cp -dprf qikqiak.com/themes/beautifulhugo .
cp qikqiak.com/config.toml ../
cd ..
#安装教程如下
hugo new site blog
cd blog/themes/
#参考阳明博客直接复制主题
git clone https://github.com/cnych/qikqiak.com.git
cp -dprf qikqiak.com/themes/beautifulhugo .
cp qikqiak.com/config.toml ../
cd ..
本文用的docker方式部署
docker pull sonatype/nexus3:3.16.0
mkdir /opt/nexus-data
chown -R 200 /opt/nexus-data
docker run -d --name nexus --ulimit nofile=65536:65536 -p 8081:8081 -v /opt/nexus-data:/nexus-data sonatype/nexus3:3.16.0
cat /opt/nexus-data/admin.password
#linux不记录痕迹
unset HISTORY HISTFILE HISTSAVE HISTZONE HISTORY HISTLOG
export HISTFILE=/dev/null
export HISTSIZE=0
export HISTFILESIZE=0