Build discuz! forum in the Lamp platform
Preparatory work
Operating system:Linux Redhat6.5
Related packages: Link: https://pan.baidu.com/s/1epkmsK9S9FQpO7jKJwsvrQ Password: FMHR
discuz! Forum Installation Steps
1. Enter the MySQL command to enter the MySQL database and create it
Mysql
mysql>create DATABASE bbs; # Create a database
mysql>grant all on bbs.* to ' bbsuser ' @ ' percent ' identified by ' admin123 '; # grant the permissions of all tables in the BBS database to Bbsuser and set the password
Mysql>flush privileges; # Refreshing the database
mysql>show databases; # View Database list information
Mysql> quit
2. Unzip the Discuz compressed package file into the/opt/dis/directory
Unzip discuz_x2.5_sc_utf8.zip-d/opt/dis
3. upload the discuz update package to the default site Directory
Cp-r/opt/dis upload//usr/local/apache/htdocs/bbs
4. Modify the owner of the relevant configuration file in the BBS directory
Cd/usr/local/apache/htdocs/bbs
Chown-r Daemon./config
Chown-r Daemon./data
Chown-r Daemon./uc_client
Chown-r Daemon./uc_server/data
5. using the browser to access the IP address/bbs, you can go to the Discuz Installation Wizard to install
#填写数据库信息和管理员信息
6. Enter the IP address/bbs Access again to enter the discuz! forum page
7. Enter the IP address/bbs/admin.php Access, you can enter the discuz! forum Backstage admin page
7.1 Log in by entering the administrator account and password that you set up before the installation Wizard
Build discuz! forum in the Lamp platform