标签:
LAMP=Linux+Apache+Mysql+PHP
安装Apache web服务器
yum install -y httpd
安装数据库服务器
yum install -y mysql mysql-server
安装PHP
yum install -y php php-common php-mysql php-gd安装PHP优化,此优化能提速几倍的速度
yum install -y php-xcache
下载并解压缩UTF8 discuz
cd wget http://download2.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip unzip Discuz_X3.2_SC_UTF8.zip
安装论坛
cd Discuz_X3.2_SC_UTF8 cp -r readme /var/www/htmlreadme cp -r upload /var/www/htmlupload cp -r utility /var/www/htmlutilty
启动服务器
service httpd start service mysqld start
创建mysql root用户和创建discuz数据库
mysqladmin -u root password xxxxxx
登陆
mysql -u root -p enter your password:xxxxxx >create database discuz; >bye
64bit CentOS搭建基于LAMP架构的discuz 3.2论坛
标签:
原文地址:http://blog.csdn.net/cpuwolf/article/details/45694905