Just moved to OpenBSD.Amsterdam

Just moved to OpenBSD.Amsterdam an opinionated VMs hosting service. The reason is that they donated €10 per VM (as of April 2020) to OpenBSD foundation, which I think is awesome. I wish to play around within more in the future.

Continue Reading

ติดตั้ง mosquitto ใน jail บน FreeBSD ด้วย BastilleBSD

Mosquitto เป็น หนึ่งใน opensource mqtt service broker ที่นิยมใช้กันสำหรับการส่งข้อความไปมาระหว่างอุปกรณ์ต่างๆในวงเครือข่ายของ IoT โดยที่ Mosquitto เป็นโครงการที่ถูกดูแลโดยมูลนิธิ eclipse ที่มีชื่อเสียงจากการทำ ide ของ java ที่ผมเชื่อว่าหลายๆคนก็เคยใช้กันครับ คราวนี้แล้วอะไรคือ jail อะไรคือ FreeBSD และ อะไรคือ BastilleBSD มาลองดูกันครับ

Continue Reading

Automatic deployment using SourceHut build service.

I didn't use GitHub or GitLab to host my website repository, but I use a service from SourceHut instead. SourceHut( is a git service that is cleaner and simpler when compared to the alternative. I decided to give it a go because I gave up with all the GitLab options and menu. Anyway, Git is not the only service SourceHut provided. SourceHut also provides more services such as build, todo, lists, man, dispatch, and etc. Today, I would like to talk about build service. Every time I finished building my website, I need to copy it to my VPS manually. I think this process takes a lot of time, and it would be better to automate it instead.

Continue Reading

Create a Simple Static Site on OpenBSD 6.6

This is not a how-to per se, but more like a record of my journey on setting a simple static site up on OpenBSD 6.6. You should already have installed OpenBSD on your server already. In my case, I use an OpenBSD instance provided by Vultr(the VPS provider). Let's go!!

Httpd and httpd.conf

By default httpd already shipped with OpenBSD already for many versions ago. There are 2 man pages related to setting it up which are httpd and httpd.conf. OpenBSD also provide an example for how to write httpd.conf which located in "/etc/example/"

man httpd
man httpd.conf
cat /etc/examples/httpd.conf
Continue Reading