Let’s Encrypt SSH

This post is based on this post “Containerized WordPress, Migration, and SSL”. I found it a hassle to install and refresh certificates every year (now it’s 90 days!). I want to set up an automated job, which requests to a root CA and installs certs automatically. Let’s encrypt is a free trusted CA. This post…

Improve WordPress Performance

This post summarized my recent attempt to improve the performance of my website. This post will be updated from time to time. Recently, I got a Black Friday deal at my previous server provider. I chose their new plan and migrated my website from Germany to the United States. I’ve noticed that the latency increased…

Containerized WordPress, Migration, and SSL

Summary The world witnessed the popularity of containerized applications. Docker provides good isolation and is of good portability. It also could be the basic item in a distributed system. In this post, I introduced how to create a WordPress site in docker; how to migration WordPress; how to make the site secure via SSL; how…

How to Install Kubernetes and Enable Dashboard

Summary In this post, I will introduce how to create a single control-node Kubernetes cluster with version v1.15.x and enable an accessible dashboard. With this post, you can easily deploy a cluster from scratch for testing. Details Before we start, note that there are problems like single node failure and security, which makes the deployment…

Github-Synchronized, Markdown-based, and Auth-Enabled Wiki System

Summary In this post, I will introduce how to set up a personal Wiki system with the following features, Github-Synchronized: All pages are synchronized on Github; Markdown-based: All pages can be written in Markdown; Auth-Enabled: Visitors can view and admins can view/edit. Conclusion I provide a ready-to-use Docker image. sudo docker run \ -v ${PWD}:/home/wiki_repo…

Redirect or Return Views

Summary In this post, I will discuss how to choose one from the other between redirection and returning views. Details I come across a confusion that when a user click a button, should I use redirection or returning views. After researching, I figure out the difference between the two. Return Views Return a view in…