Quickly create a personal forum
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.