44232111 发表于 2017-2-6 10:55:57

centos 6.7搭建Discuz!X3.3论坛记录


[*]最小化安装系统

[*]优化系统关闭防火墙等

[*]安装mysql

[*]安装PHP7.0.14 开启GD库   开启OPcache

[*]安装论坛


1.2参见我的百度经验不详述
3.安装mysql
yum -y install mysql mysql-server mysql-devel
4.安装PHP7.0.14 开启GD库   开启OPcache
更新源
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

安装php7.0.14 GD OPcache支持
yum -y install php70w php70w-opcache php70w-mysql php70w-gd

修改附件尺寸为20M
sed -i 's#upload_max_filesize = 2M#upload_max_filesize = 20M#g' /etc/php.ini

将mysqld httpd服务加入开机启动
chkconfig mysqld on
chkconfig httpd on

启动mysqld http服务
service mysqld restart
service httpd restart

5.安装论坛
cd /var/www/html
wget wget http://download.comsenz.com/DiscuzX/3.3/Discuz_X3.3_SC_GBK.zip
解压
unzip Discuz_X3.3_SC_GBK.zip
进入WEB页面,访问http://ip/upload
利用向导安装至结束(注意数据库密码为空).

页: [1]
查看完整版本: centos 6.7搭建Discuz!X3.3论坛记录