美文网首页
discuz的lnmp安装

discuz的lnmp安装

作者: zwb_jianshu | 来源:发表于2019-08-07 21:48 被阅读0次

一、下载安装包

yum  install nginx php-fpm php-gd php-freetype mariadb-server -y
systemctl  restart  nginx
systemctl  restart  php-fpm
systemctl  restart  mariadb
systemctl  enable nginx
systemctl  enable  php-fpm
systemctl  enable  mariadb

二、数据库配置

create database discuz character set utf8 collate utf8_bin;
grant all privileges on discuz.* to mediawiki@localhost identified by 'discuz';
grant all privileges on discuz.* to mediawiki@'%' identified by 'discuz';
FLUSH PRIVILEGES;

三、上传discuz的安装包,解压至/usr/share/nginx/html/discuz下

tar xf    WeCenter_3-2-2.tar.gz -C  /usr/share/nginx/html/discuz
chown -R nginx.nginx   /usr/share/nginx/html/discuz

四、浏览器访问ip/wecenter

image.png image.png image.png image.png image.png image.png image.png image.png image.png

相关文章

网友评论

      本文标题:discuz的lnmp安装

      本文链接:https://www.haomeiwen.com/subject/ksczdctx.html