WordPress as Static Page Generator

I am in charge of two website. Previously, I used some simple MarkDown tools to generate simple webpages, but as the requirements increase, I found it too difficult to manage the sites using MarkDown. Here, I recorded my exploration over the possibility to use WordPress as static page generator.

First, why using wordpress as static page generator. Wordpress is easy to manage, but needs a hosting site. In order to transfer from the existing website into a more powerful hosting service. I need to stick to static pages at the beginning.

Install wordpress locally on Ubuntu

Install WP Static HTML Output Plugin

In the admin dashboard,

Post steps

Sometimes, I don't need to run Apache and MySQL all the time, which is also not safe, so followsing steps are used to stop them from start automatically.