Last weekend, I launched my personal blog site . You can collect and subscribe to it if you are interested. Future learning articles will be synchronized here for the first time: https://devopsman.cn
Many experienced gods can see what wordpress does here at a glance. They have used hugo and Hexo before, but how to say, they are not very satisfied, so they can use this temporarily before they encounter a satisfactory theme.
After tossing WordPress over the weekend, I found that his message function looks very weak. For example, when I write some notes, I can't finish writing an article, but if I comment, I can only leave a message for discussion under a certain article, which is not conducive to learning and retrieval for a long time. However, the forum can start a discussion on a topic at any time, so it found flarum.
The place used to record and provide you with online discussion of technical issues is mainly interested in his simplicity and freshness. The most important thing is the timeline of his communication area, as follows:
Facilitate discussion on a technical topic. Easy retrieval. After all, QQ groups and wechat groups are mostly blowing water, which is not conducive to information induction and retrieval. Everyone knows...
Record the construction process of flarum.
Because my personal blog site uses wordpress Therefore, there is a ready-made PHP environment in the environment, which can be opened directly according to the official documents. If your environment is clean, you need to install PHP, PHP FPM and other software environments in advance, as well as the support of composer. For details, please refer to the installation document of flarum Chinese community 
flarum is installed through composer, so install composer first
# wget -O composer-setup.php https://getcomposer.org/installer # php composer-setup.php --install-dir=/usr/local/bin --filename=composer # composer -v Composer version 2.2.4 2022-01-08 12:30:42
Next, create an installation directory of flarum files and directly download the source code to this directory
mkdir /apps/flarum && cd $_ # Download flarum source code composer create-project flarum/flarum . --stability=beta --ignore-platform-req=ext-fileinfo
Finally, configure nginx proxy flarum forum Note that some annotated parameters need to be configured or modified.
It's basically finished here. During initialization, you need to initialize the MySQL database, so you can prepare the remote connection account in advance. Access address: https://flarum.devopsman.cn
This is the front page of flarum. Some problems are also encountered during deployment. For example, the interface message 500 is found when uploading pictures. These problems can be found through the operation log under the flarum installation directory:
The classified labels of flarum are also very distinctive. You can quickly read the discussion of the specified labels:
Because I already have nginx, php, MySQL, etc. in my own running environment, it is easier and more efficient for me to install flarum directly. If you start from scratch, you can use container deployment:
Here, you can directly deploy it through docker compose with one click and modify it slightly.
Finally, welcome to build and maintain the cloud primary ecosystem - technology forum
 Yunyuan ecosystem: https://devopsman.cn
flarum Chinese document: https://discuss.flarum.org.cn/d/1246