1. to install the database and Web server sudoapt-getinstallapache2mysql-serverphp5php5-mysqlphp5-gdphpmyadmin for Ubuntu10.04, remember the MySql password. In addition, you can install MySQL to the graphic Management Interface: sudoapt-getinstallmysql-admin * 2, and install the Zend framework sudoapt-getinst.
1. Install the database and Web server for Ubuntu10.04
Sudo apt-get install apache2 mysql-server php5 php5-mysql phpmyadmin
Remember the MySql password in this step.
In addition, you can install MySQL on the graphic management interface:
Sudo apt-get install mysql-admin *
2. Install the Zend framework
Sudo apt-get install zend-framework
3. Download The Discuz installation package
$ Cd ~
$ Mkdir discuz
$ Cd discuz
$ Wget http://download.comsenz.com/Discuz/7.2/Discuz_7.2_FULL_ SC _GBK.zip
4. decompress the package
$ Sudo apt-get install unzip
$ Unzip Discuz_7.0.0_FULL_ SC _GBK.zip
5. Create a bbs directory under/var/www and copy all the files under the previously decompressed upload directory to the bbs directory.
$ Cd/var/www/
$ Sudo mkdir bbs
$ Cd ~
$ Cd discuz/
$ Sudo cp-a upload/*/var/www/bbs/
6. Set the www folder 777 attribute in var.
$ Sudo chmod-R 777/var/www
7. Open the browser and enter:
Http: // server IP Address/bbs/install/index. php
Note: If the page cannot be opened, restart apache.
$ Sudo/etc/init. d/apache2 restart