首页 > 代码库 > lAMP

lAMP

yum install httpd httpd-devel -y

yum install mysql mysql-server mysql-devel -y

yum install php php-devel  php-mysql -y

下载http://download.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip 解压到/var/www/html  upload 即论坛代码  

vim phpinfo.php  插入

<?php

phpinfo();

?>

启动HTTPD  MYSQL   网页打开 phpinfo.php  没出错环境没问题

打开upload  将不可写文件授权  chomd o+w   

刷新下一步 授权用户  grant alll on discuz.* to root@localhost identified by ‘123456‘

lAMP