discuz论坛框架
安装Apache,装上discuz论坛框架
1. 安装httpd
1. yum -y install httpd
2. 启动httpd
1. service httpd start
3. 设置开机自启
1. chkconfig httpd on
4. 安装PHP
1. yum -y install php
5. 安装php——mysql
1. yum -y install php-mysql
6. 安装maria DB数据库
1. yum -y install mariadb-server mariadb
7. 启动 maria DB
1. systemctl start mariadb
8. 开机自启 Maria DB
1. systemctl enable mariadb
9. 进入mysql
1. mysql
10. 创建用户名和密码(用户名 root 密码123456 主机 localhost 数据库名字 kunpeng)
1. GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'IDENTIFIED BY '123456' WITH GRANT OPTION;CREATE DATABASE kunpeng;flush privileges;
11. 安装discuzl
1. 下载
1. wget http://download.comsenz.com/DiscuzX/3.3/Discuz_X3.3_SC_UTF8.zip
12. 移动discuz源码至www下的html中
1. mv ./Discuz/upload/* /var/www/html/
13. 修改discuz源码权限
1. chmod -R 777 /var/www/html/*
14. 重启httpd
1. service httpd restart
15. 进入首页
1. xxx/install
- 点赞
- 收藏
- 关注作者
评论(0)