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

Manual compilation and installation of Discuz Forum of LAMP Architecture

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Overview of LAMP platform

At present, the most mature enterprise website application model can provide dynamic Web site application and development environment.

Constituent component

Linux 、 Apache 、 MySQL 、 PHP/Perl/Python

Advantages of LAMP

Low cost, customizable and easy to develop

Compile and install experimental steps download and share LAMP package through Windows

4: install Discuz Forum [root@lamp php-5.6.11] # cd / mnt / / enter / mnt directory [root@lamp mnt] # unzip Discuz_X2.5_SC_UTF8.zip-d / opt/Discuz// extract Forum component package to / opt directory [root@lamp mnt] # cp-r / opt/Discuz/upload/ / usr/local/httpd/htdocs/bbs// copy / opt directory to httpd site bbs directory Recording [root@lamp mnt] # mysql-u root-p / / enter the database The password is the previously set abc23mysql > create database bbs / / create bbs database mysql > GRANT all ON bbs.* TO 'bbsuser'@'192.168.235.137' IDENTIFIED BY' admin123';// heightened database user bbsuser as administrator and set password mysql > flush privileges / / Refresh database mysql > quit// exit database [root@lamp mnt] # cd / usr/local/httpd/htdocs/bbs/// enter the bbs directory [root@lamp bbs] # chown-R daemon. / config/ [root@lamp bbs] # chown-R daemon. / data/ [root@lamp bbs] # chown-R daemon. / uc_client/data/cache/ [root @ lamp bbs] # chown-R daemon. / uc_server/data/// for each program user Upgrade the authority to use the browser to enter 192.168.235.137/bbs to start the formal installation of the Discuz forum

Select "New installation" in setting up the running environment.

Install the database

We must pay attention to this here:

Data server: 192.168.235.137 (enter the IP to create the database host here)

Database name: bbs

Database user name: bbsuser (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)

After successful installation, enter the home page of the forum and use the administrator account to log in and click on the Administration Center at the top right for daily management.

It is equivalent to entering the management center of the web background.

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