+++
date = '2024-10-19T23:00:41-03:00'
title = 'First Post'
description = "Starting a sysadmin blog with Hugo: why I chose a static site generator, how I deployed it on Hetzner Cloud via rsync, and what to expect from this blog."
tags = [
    "webserver",
    "Hugo",
]
+++

## A Sysadmin blog

I was thinking for a couple months to start a blog on the internet. My idea is to share my daily experiences to my fellow sysadmins and network administrators.

I was looking for something simple and easy to maintain, since I don't want to spend too much of my free time here.

## The tool

I found [Hugo](https://gohugo.io/) which is a static website generator that reads content written in Markdown and generates HTML files.

The fact that it generates static files makes this very performant, and at the same time very simple to use and maintain.

## The hosting

Well, since I have one VM on [Hetzner Cloud](https://www.hetzner.com/) for my personal use, I just hosted this blog together on the same VM, since I believe this will not be generating a lot of traffic

You can also use [Github Pages](https://pages.github.com/) or [Cloudflare Pages](https://developers.cloudflare.com/pages/framework-guides/deploy-a-hugo-site/) by following simple instructions!

## The deploy

I followed Hugo guide to [deploy by rsync](https://gohugo.io/hosting-and-deployment/deployment-with-rsync/) and it worked very well for me.

A simple bash script to generate the website and deploy, all in one line!

```bash
#!/usr/bin/env bash
hugo && rsync -avz --delete public/ shinobi.thanwer.com:/srv/www/blog/
```

## The Conclusion

From my experience until now (which is only the contents of this post btw...), this platform seems to meet my expectations I will continue to bring more topics and keep you guys posted!
