Centos- deploy forum system discuz

Ali cloud server lease

Ali cloud the official website of
the steps Baidu,


Configuring basic environment
sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config 
setenforce 0
systemctl stop firewalld.service 
systemctl disable firewalld.service

LAMP installation and its associated tools
yum -y install unzip httpd mariadb-server mariadb php php-mysql gd php-gd
systemctl start httpd mariadb   //启动
systemctl enable httpd mariadb   //开机自启

Download Source Package discuz website
wget http://download.comsenz.com/DiscuzX/2.5/Discuz_X2.5_SC_UTF8.zip
unzip Discuz_X2.5_SC_UTF8.zip              //解压
cp -rf upload/* /var/www/html            //复制       
chown -R  apache.apache  /var/www/html/*   //修改属主和属组

Preparing the database
[root@iZ2zec80npifriwj6sy0m4Z ~]#  mysql
MariaDB [(none)]> create database discuz ;

IP Access Server Installation

Here Insert Picture Description

Successful installation

Here Insert Picture Description

Published 13 original articles · won praise 92 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_46299169/article/details/104781365