LJY's Blog

  • HOME
  • About me
  • Category
    • Life
    • Amateur Radio
    • Railway
    • IT
    • Sundry
  • PHOTO
  • ENGLISH (CANADA)
    • ENGLISH (CANADA)
    • 中文 (中国)
  1. Main page
  2. IT
  3. Main content

Build Flarum forum

2020-03-18 1678hotness 0likes 0comments

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.

Tag: Nothing
Last updated:2023-06-01

Kevin Lu

I believe I can make the world a better place.

Like

Comments

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
Cancel

Kevin Lu

I believe I can make the world a better place.

Categories
  • Amateur Radio
  • IT
  • Railway
  • Sundry
Recent comments
Avatar
BI7BCE Published at 12 months ago(06 06202463009 09 09am24) 吃瓜吃到自己家 :idea:
Avatar
troilus Published at 1 years ago(05 05202453103 06 06pm24) 学习了
Avatar
BG7QIW Published at 1 years ago(04 04202443012 28 28am24) cool
Avatar
BH6KWC Published at 1 years ago(12 122023123101 13 13pm23) 夏季2米开通DX很高,我已经和俄罗斯 日本 台湾做了FT8通信
Avatar
BH6KWC Published at 1 years ago(12 122023123111 13 13am23) 拜读了

© 2024 DF4.ca Proudly uses server located in Canada.

Theme Kratos Made By Seaton Jiang