1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Traceback (most recent call last): File "/anaconda2/bin/conda", line 13, in <module> sys.exit(main()) File "/anaconda2/lib/python2.7/site-packages/conda/cli/main.py", line 149, in main from ..exceptions import conda_exception_handler File "/anaconda2/lib/python2.7/site-packages/conda/exceptions.py", line 18, in <module> from ._vendor.auxlib.entity import EntityEncoder File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/entity.py", line 253, in <module> from .collection import AttrDict, frozendict, make_immutable File "/anaconda2/lib/python2.7/site-packages/conda/_vendor/auxlib/collection.py", line 10, in <module> from .
download hugo link
https://gohugo.io/
https://github.com/gohugoio/hugo
https://github.com/gohugoio/hugo/releases/tag/v0.81.0
windows download link
hugo_0.81.0_Windows-64bit.zip
https://github.com/gohugoio/hugo/releases/download/v0.81.0/hugo_0.81.0_Windows-64bit.zip
download and unzip, change the environment path to this folder.
hugo themes link
https://themes.gohugo.io/
chose one theme, and make a folder themes under the new site and copy theme into it, there are sample site content in the theme.
you can copy it out and remember change the name of theme same as the folder in themes.
hugo new site testsite.
create a new account, allow sudo permission useradd testuser
passwd testuser
vi /etc/sudoers
1 2 3 ## Allow root to run any commands anywhere root ALL=(ALL) ALL testuser ALL=(ALL) ALL 1 2 ## Same thing without a password testuser ALL=(ALL) NOPASSWD: ALL chage logon port vi /etc/ssh/sshd_config
firewall-cmd –permanent –zone=public –add-port=8822/tcp
firewall-cmd –reload
iptables -A INPUT -p tcp –dport 8822 -j ACCEPT
service sshd restart
disable root login vi /etc/ssh/sshd_config
why do we need a vps As a programmer, learning VPS is same as learning a development language.
It’s important to understand linux, network, system os fully.