其他

Discuz建站

2018-03-26  本文已影响0人  懂事的观众

Discuz建站

1.discuz运行环境搭建

sudo apt-get install apache2
sudo apt-get install php
sudo apt-get install php-dom
sudo apt-get install php-mysql
sudo apt-get mariadb
sudo mysql
>>grant all on *.* to user@'%' identified by '123456';
>>create database discuz;
>>exit

2.下载Discuz

#官网:http://www.discuz.net/forum.php
wget http://download.comsenz.com/DiscuzX/3.3/Discuz_X3.3_SC_UTF8.zip
#解压
unzip ./Discuz_X3.3_SC_UTF8.zip

3.部署Discuz

sudo rm -rf /var/www/html/*
sudo mv ~/upload/* /var/www/html/
sudo chmod -R 777 /var/www/html
#重启Apache
sudo service apache2 restart
上一篇下一篇

猜你喜欢

热点阅读