Cloud computing tutorial learning course syllabus courseware: Deployment System Discuz forum

Cloud computing tutorial learning course syllabus courseware: Deployment forum system Discuz:

First, the 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

Second, install the 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, the installation DIscuz!

  1. Apache virtual host configuration

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

[root@apache ~]# systemctl restart httpd

  1. Import ecshop website source

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

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

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

  1. Preparing the database

  2. Installation 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 a web server IP

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

Guess you like

Origin blog.51cto.com/14489558/2447714