Recently want to build a forum, that what system to use? To use discuz? But discuz interface very old and have a lot of loopholes.....Finally, I found flarum.
flarum is known as "the most beautiful forum system". I think that's true. The interface is fresh, simple and impressive. So I decided to use it.
When I install, I stepped on a lot of pits, here to find out the correct installation of the way to share with you, I hope you can walk less detours.
First, install composer. Next, install php and a php extension: fileinfo. Finally, create an sql database with the utf-8 and write down the username and password for later use.
cd to the root directory of your site and type
composer create-project flarum/flarum . --stability=beta
If you use the Pagoda Panel, in the php Settings of the Pagoda Panel, undisable the following three functions:
putenv
pcntl_signal
proc_open
After the command is executed, enter
chmod +x 775
Change the file permission to 775
Change the run directory to /public
Enter in the configuration fileinclude /path to your site/.nginx.conf;
Otherwise you will find the administration page 404, users can not log in, and can not post.
Finally, enter your website address in the browser, go to the flarum installation program, and follow the GUI instructions to complete the installation process.
After the installation is complete, you can go tohttps://flagrow.ioto install various plug-ins.
Comments