37 lines
1.6 KiB
Markdown
37 lines
1.6 KiB
Markdown
+++
|
|
date = '2024-10-19T23:00:41-03:00'
|
|
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!
|