What is HUGO and how to create your website in 5 minutes?

Giteqa

Hello,

Many users frequently ask how they can create their own website while keeping costs as low as possible. Not everyone requires a complex web platform, and not all individuals are ready to invest in full-scale development services. For this reason, I would like to provide you with information regarding the application Hugo and explain how it can assist you in creating a simple yet effective website.


What Is Hugo?

Hugo is a fast, modern static site generator. Unlike systems that rely on databases or complex server-side components, Hugo generates your entire website as static HTML files. This approach ensures that your website remains extremely fast, secure, and easy to deploy on virtually any hosting environment.


Who Should Use Hugo?

Hugo is an optimal solution for individuals who need to create a website quickly and do not require advanced functionality. For example, it is ideal for:

  • Simple informational websites

  • Pricing or service description pages

  • Contact pages

  • Lightweight personal or business landing pages

If you want to significantly reduce the cost of website development, Hugo is an excellent choice.


Server Requirements for Hugo

To install and operate Hugo efficiently, the following server specifications are recommended:

  • At least 2 CPU cores

  • At least 2 GB RAM

  • At least 30 GB disk space

These are the same specifications I personally used for installing and testing this tool on a server.


How to Install Hugo

Below are the complete installation commands for Hugo on Ubuntu 22.04–24.04.

  1. Update package index

    sudo apt update

    Refreshes the list of available packages.

  2. Upgrade installed packages

    sudo apt upgrade -y

    Installs all available updates automatically.

  3. Install Git and Curl

    sudo apt install -y git curl

    Git is used for repository management, while Curl enables data downloading from the internet.

  4. Download Hugo package

    wget https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_extended_0.135.0_linux-amd64.deb

    Downloads the extended version of Hugo.

  5. Install the downloaded package

    sudo apt install ./hugo_extended_0.135.0_linux-amd64.deb
  6. Verify installation

    hugo version
  7. Create a new Hugo project

    hugo new site mywebsite
  8. Enter the project directory

    cd mywebsite
  9. Initialize Git repository

    git init
  10. Add a theme (Ananke)

git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke
  1. Enable the theme

echo 'theme = "ananke"' >> hugo.toml
  1. Create a new blog post

hugo new posts/hello-world.md
  1. Start the server for preview

hugo server -D --bind=0.0.0.0 --baseURL=http://SERVERIP:1313/ --appendPort=false

(Please replace SERVERIP with the IP address of your server.)


Video Installation Guide

If you require a more detailed demonstration of the installation process, I have prepared a video tutorial for your convenience. You may watch it here:


Conclusion

If you want to create a website quickly and without significant financial investment, it is sufficient to rent a server and install the tool known as Hugo. This application allows you to build your website independently and maintain its functionality with ease.

If you wish to create a website, you can begin immediately — simply install Hugo and start building your project today.

Best regards,
Anatolie Cohaniuc