I finally have some time today to upgrade my web server from the Pi 4 to Pi 5. I was using the SanDisk 128GB SD card for my Pi 4 server, it was really stable and did not fail for really long time. I was thinking should I continue to use the same SD card or upgrade to a SSD for my Pi 5. Recently there are a lot of sales going on, so I decided to try using a SSD to improve the speed and the long term stability. The setup was really quick and I really need to shout out to the updraftplus plugin for WordPress. It helped me a lot on the backup and restore for this blog. Everyone should give it a try if you wanna have a simple and easy backup/restore solution for your WordPress site!
Author Archives: Kevin Tsui
Raspberry Pi 5
Updates on 2023-11-14
Finally


Updates on 2023-11-12
Finally itโs reached in SG.

Finally the preorder is up. Ordered one 4GB and one 8GB. Should I upgrade my Pi 4 server to Pi 5? ๐ค

Sony Xperia 1V

Very impressive image sensor. Did not expect a RAW file from a phone camera to bring back so much details.
UTM on M1 Mac
Finally my Parallels subscription ended yesterday. It is a really good virtualisation software on ARM Mac, but also it comes with a really high price tag. Base on my use case, I really dont see the needs of it, some open source alternative is good enough. UTM has come a long way and its totally free! Time to switch to UTM and save some $$. ๐
Sunshine + Moonlight
Recently I discovered this game streaming solution. It really is a huge upgrade over the Steam Remote Play. The latency is really low even streaming over my mobile network. So, I don’t need to bring my Steam Deck outside maybe? ๐
Raining

Nice Weather in Furano
It’s been so long since the last time went to Japan. Finally I’m back in one of my favorite places.

Back to WordPress
Used Pelican static site generator for blogging for a good few months. It was really fast and easy to use, but there is one down side, its very difficult to post something on my phone. So, I decided to come back and use WordPress. Its not as fast as static site, but its a lot easier when I just wanna quick post something using my phone.
Setting it up is also very easy. At first, I wanted to try using docker to save some time on preparing the LNMP stack on my Pi. In the end I found that Its not as straight forward as I thought if I wanna enable SSL for my site because Namecheap doesn’t support LetsEncrypt. So I went back to the good old LNMP way, a simple and quick setup and the site is back up in less than 30mins.
Namecheap and Letโs Encrypt Certificate
It’s annoying that Namecheap doesn’t support Certbot to create and auto renew Let’s Encrypt SSL Cert.
I will document the steps needed to renew SSL cert manually using DNS Challenge.
Step 1 – Install Certbot:
sudo apt install certbot
Step 2 – Renew certificate using Certbot:
Replace *.DOMAIN to your domain name.
sudo certbot certonly --manual --preferred-challenges dns -d "*.DOMAIN"
Step 3 – Replace DNS TXT ACME Challenge in Namecheap:

Verify the setting using nslookup before continuing on Certbot.
nslookup -type=TXT _acme-challenge.DOMAIN
Final step – Restart NGINX and verify:
If the above are done correctly, the cert should be renewed by now. Restart NGINX for the new SSL cert to take effect.
sudo systemctl restart nginx