Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Compile and install Discuz forums for LNMP architecture

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

LNMP architecture LNMP platform is the combined architecture of Linux,Nginx,MySQL,PHP, which requires Linux server, MySQL server and PHP parsing environment.

Step 6: install Discuz Forum package 1 and unzip the Forum package to / opt And copy the contents of the directory to the bbs site [root@localhost etc] # cd / abc [root@localhost abc] # unzip Discuz_X3.4_SC_UTF8.zip-d / opt # # decompress to / opt [root@localhost abc] # cd / opt [root@localhost opt] # lsdir_SC_UTF8 mysql-5.7.20 nginx-1.12.2 php-7.1.10 rh description .htm [root@localhost opt] # cd dir_SC_UTF8/ # # cut into the forum directory [root@localhost dir_SC_UTF8] # cp-r upload/ / usr/local/nginx/html/bbs/ # # copy all the contents in the / opt directory to the bbs site directory 2 Enter the site and give the program user rights [root@localhost dir_SC_UTF8] # cd / usr/local/nginx/html/bbs/ # # cut into the bbs site directory [root@localhost bbs] # chown-R root:nginx. / config/ # # the rights of the user of the program [root@localhost bbs] # chown-R root:nginx. / data/ # # modify the nginx attribute Group [root@localhost bbs] # chmod-R root:nginx. / uc_client/ [root @ localhost bbs] # chown-R root:nginx. / uc_server/ [root @ localhost bbs] # chmod-R 777. / config/ # # modify all permissions [root@localhost bbs] # chmod-R 777. / data/ [root@localhost bbs] # chmod-R 777. / uc_client/ [root @ localhost bbs] # chmod-R 777. / uc_server/3 Enter the 192.168.235.158/bbs/install/index.php site in the browser to enter the Discuz Forum Wizard

4, set up the running environment and do a new installation

5. Install the database data server: 192.168.235.158 (enter the IP to create the database host here) Database name: bbs database user name: bbsusers (user name can be changed on the command line) Database password: admin123 (password can be changed on the command line) administrator account: admin (this account is the default) password: 123123 (password can be set directly on the web page)

Seventh, visit the forum and start posting!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report