微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Linux服务器---论坛discuz

discus

discuz是一款免费的论坛管理系统,大量的使用了AJAX,内部有丰富的模板风格。     

1、下载discuz软件(https://cn.wordpress.org/download/releases/")

 

2、为discuz创建一个自己的数据库,我们起名为“discuz”

 

3、将discuz安装包解压,将其中的upload目录拷贝到apache的网页根目录“/var/www/html/” 

[root@localhost html]# tar xvf discus-3.1.tar      //解压

[root@localhost html]# cp -r discus-3.1/upload/ discus/          //重命令,这样方便从浏览器打开

 

4、修改discuz中config和data两个目录的权限为777,将config中的两个配置文件复制一份,名字去掉default

[root@localhost html]# chmod -R 777 discuz/data/

[root@localhost html]# chmod -R 777 discuz/config

[root@localhost html]# cd discuz/

[root@localhost discuz]# cp config/config_global_default.PHP config/config_global.PHP 

[root@localhost discuz]# cp config/config_ucenter_default.PHP config/config_ucenter_.PHP 

 

5、开始安装

1)在浏览器输入“127.0.0.1/discus/install”

image001.png

[root@localhost wordpress]# service httpd restart

停止 httpd                                              [确定]

正在启动 httpdhttpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

                                                          [确定]

2)环境检查。安装程序会检测所需要的环境,主要是PHPMysqL版本号,以及各个目录的读写权限。安装之前必须要把所有的“x”都解决掉,例如下图中文件读写权限就有问题,需要修改

image002.png

3)安装全部discuz

image003.png

4)设置数据库管理员

image004.png

5)安装成功

image005.png

6)在浏览器输入”127.0.0.1/discuz”就可以访问论坛,使用管理员的账户可以登录

image006.png

 

做了一个Linux学习的平台,目前出来一个雏形,各位可以参考使用
链接:https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ  密码:n7bk   


版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐