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

Cloud Computing Learning Route course syllabus Courseware: deploying Forum system Discuz

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Cloud Computing Learning Route course outline Courseware: deploy Forum system Discuz:

I. basic environment [completed]

[root@apache ~] # sed-ri'/ ^ SELINUX=/cSELINUX=disabled' / etc/selinux/config

[root@apache ~] # setenforce 0

[root@apache ~] # systemctl stop firewalld.service

[root@apache ~] # systemctl disable firewalld.service

2. Installation of LAMP [completed]

[root@apache ~] # yum-y install httpd mariadb-server mariadb php php-mysql gd php-gd

[root@apache ~] # systemctl start httpd mariadb

[root@apache ~] # systemctl enable httpd mariadb

[root@apache ~] # mysql_secure_installation

Third, install DIscuz!

Apache configure virtual host

[root@apache ~] # vim / etc/httpd/conf.d/yang.conf

[root@apache ~] # systemctl restart httpd

Import ecshop website source code

[root@apache] # mkdir-p / webroot/yang

[root@apache ~] # unzip Discuz_X3.2_SC_UTF8.zip

[root@apache ~] # cp-rf upload/* / webroot/yang/

Prepare the database

Install Discuz! [any client]

[root@tianyun ~] # vim / etc/hosts

192.168.122.161 www.zhufo.top zhufo.top www.tianyun.com tianyun.com www.yang.com yang.com / / 161 is web server IP

[root@apache] # chmod-R 777 / webroot/yang/

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