1,安装数据库和Web服务器
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
$
sudoapt-getinstallapache2mysql-serverphp5php5-mysqlphp5-gdphpmyadmin
2,安装Zend框架
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
$
sudoapt-getinstallzend-framework
3,下载Discuz安装包
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
$
cd
~
$ mkdir discus
$ wgethttp: // download2 . comsenz . com / Discuz / 7.0 . 0 / Discuz_7 . 0 . 0_FULL_SC_GBK . zip
$ mkdir discus
$ wgethttp: // download2 . comsenz . com / Discuz / 7.0 . 0 / Discuz_7 . 0 . 0_FULL_SC_GBK . zip
4,解压
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
$
sudoapt-getinstallunzip
$ unzipDiscuz_7 . 0 . 0_FULL_SC_GBK . zip
$ unzipDiscuz_7 . 0 . 0_FULL_SC_GBK . zip
5,在/var/www下新建bbs目录,将前面解压出的upload目录下所有文件复制到 bbs目录中
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
cp–aupload
/
*
/
var
/
www
/
bbs
/
6, 给var中的www文件夹777属性,
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->
sudochmod-R
777
/
var
/
www
7,打开浏览器,输入:
http://服务器ip地址/bbs/install/index.php