美文网首页
wecenter的lnmp安装

wecenter的lnmp安装

作者: zwb_jianshu | 来源:发表于2019-08-07 21:41 被阅读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 wecenter character set utf8 collate utf8_bin;
    grant all privileges on wecenter.* to mediawiki@localhost identified by 'wecenter';
    grant all privileges on wecenter.* to mediawiki@'%' identified by 'wecenter';
    FLUSH PRIVILEGES;
    

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

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

    四、浏览器访问ip/wecenter

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

    相关文章

      网友评论

          本文标题:wecenter的lnmp安装

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