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

Quickly create a personal forum

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Environmental preparation:

System: centos 7

Required packages: lamp environment (httpd, PHP, php-mysql, mariadb-server), discuz

] # yum install-y httpd php php-mysql mariadb-server # prepare the lamp environment] # unzip Discuz_X3.2_SC_UTF8.zip # extract the Discuz package ~] # mv upload/ / var/www/html/ # move the generated folder to the httpd home page directory ~] # cd / var/www/html/ ~] # ln-s upload/. / discuz # make a link Easy to manage ~] # chown apache / var/www/html/discuz-R~] # systemctl start httpd mariadb # start service ~] # mysql > CREATE DATABASE discuz # create table > GRANT ALL ON discuz.* TO 'duser'@'127.0.0.1' IDENTIFIED BY' 123456 authorization; # authorized user > GRANT ALL ON discuz.* TO 'duser'@'localhost' IDENTIFIED BY' 123456authorization; > FLUSH PRIVILEGES; # refresh authorization

Discuz can be downloaded from my Baidu cloud disk: link: http://pan.baidu.com/s/1mhRCqHq password: 9gz0

It can also be downloaded from the official website, in UTF-8 format.

With the above configuration, you can enter your IP address + discuz on the browser, for example, httpd://10.1.12.13/discuz

Database server: database server address, usually localhost database name:

Database user name:

Database password:

Datasheet prefix: when running multiple forums in the same database, modify the prefix system mailbox Email: used to send program error reports

Fill in the administrator information

Administrator account:

Administrator password: administrator password cannot be repeated as blank:

Administrator Email:

There you go.

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

Database

Wechat

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

12
Report