All are done under the command line. It may seem complicated to novices, but it is actually just a step-by-step process. First upgrade the system and install git 1. Install go The version used is go1.10, but you can also use other versions. 2. Add configuration files (located in the /root directory, such files ~/.bashrc, ~/.zshrc) Change the root in /home/root/projects/go to your own username. I used root directly. 3. Activate environment variables and create directories This way the Golang environment is installed. 2. Install hugo and create a blog 2. Use hugo template to create a blog URL is your bound domain name, you can also use IP, IP_ADDR is the server IP, 9999 is the access port, so you can access it using the domain name or IP:9999 3. Start adding blog posts. In the /tmp/static-site-hugo/content/post/ directory, create a file ending with .md, such as 001.md. Add it in the following format . b. Enter the blog directory and create a session c. Run hugo to make the blog accessible 5. Modified templates and blog posts are all in the /tmp/static-site-hugo directory. It is recommended to use WinSCP software to edit and upload directly. Demo: http://137.175.66.54:9999/ Partial reference: https://wooservers.com/blog/build-your-first |
<<: Cloudcom: $10/month/2GB memory/40GB space/3TB traffic/10Gbit/DDOS/VMware/Switzerland
>>: UANode: $15/year/512MB RAM/25GB SSD space/unlimited traffic/LXC/Ukraine
OpenVZ 256M $14/month 50% off for the first month...
Registration discount code: Coupon code: cjc695do...
Dedispec, 5th anniversary, great discounts for US...
HostHatch, a long-established hosting provider th...
GigsGigsCloud, a long-established business in Hon...
G-CORE, a Russian hosting provider, is a formally...
WootHosting, an American hosting company, was fou...
Details: Tospeed: 28 yuan/month/512MB memory/15GB...
VestaCP is a very stable web panel that supports ...
SSLs, an American merchant, was founded in 2009 a...
Buyvm, a stable and established merchant, is the ...
iFog.ch, a foreign merchant, was established in 2...
File backup on the server can be completed throug...
Intellyhost, an Indian hosting provider, register...
Kuai Che Dao, a Chinese merchant, mainly provides...