Build discuz! forum in the Lamp platform

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.