First post

This commit is contained in:
Thanwer 2024-10-19 23:24:05 -03:00
parent a36e18384a
commit 31ad9de7ae
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,37 @@
+++
date = '2024-10-19T23:00:41-03:00'
draft = true
title = 'First Post'
+++
## 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 [Hertzner 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 I 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 expectationsm I will continue to bring move topics and keep you guys posted!

View File

@ -1,4 +1,4 @@
baseURL = 'https://blog.thanwer.com/' baseURL = '/'
languageCode = 'en-us' languageCode = 'en-us'
theme = "anubis2" theme = "anubis2"
title = "Thanwer's Blog" title = "Thanwer's Blog"