LAMP架构安装Discuz
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LAMP架构安装Discuz相关的知识,希望对你有一定的参考价值。
5. 安装Discuz
5.1 下载Discuz安装包
wget http://101.44.1.3/files/112000000589504D/123.138.60.34/files/A120000000C21706/download.comsenz.com/DiscuzX/3.2/Discuz_X3.2_SC_UTF8.zip
5.2 解压上传文件到htdoc目录下
[[email protected] upload]# cp -R * /usr/local/httpd/htdocs/discuz/
5.3 网页访问:http://192.168.42.130/discuz/install/
安装向导
目录权限
[[email protected] discuz]# ps -ef | grep httpdroot 49902 1 0 07:30 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119266 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119267 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119268 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119269 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119270 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119271 49902 0 07:55 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119312 49902 0 08:01 ? 00:00:00 /usr/local/httpd/bin/httpd -k start daemon 119313 49902 0 08:01 ? 00:00:00 /usr/local/httpd/bin/httpd -k start [[email protected] htdocs]# chown -R daemon:daemon discuz/
正确权限配置
安装数据库
初始化数据库
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.0.90' IDENTIFIED BY 'mysql' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
进入论坛首页
以上是关于LAMP架构安装Discuz的主要内容,如果未能解决你的问题,请参考以下文章