1. download the Discuz installation package :~ $ Wgethttp: // response
1. download the Discuz installation package:
~ $ Wgethttp: // download.comsenz.com/DiscuzX/2.0/Discuz_X2_ SC _GBK.zip
2. create a bbs directory under the/var/www directory and copy all files under the previously decompressed upload directory to the bbs directory.
$ Cd/var/www/
$ Sudo mkdir bbs
$ Cd
$ CdDiscuz/
$ Sudo cp-a upload/*/var/www/bbs/
3. give the www folder 777 attribute in var
$ Sudo chmod-R 777/var/www
4. open your browser and enter:
Http: // server IP address/bbs/install/index. php
Note: If the page cannot be opened, restart apache in [Linux community www.Linuxidc.com.
$ Sudo/etc/init. d/apache2 restart
The "server IP address" comes from the following two situations:
1. if there is a space provider, the Username column and the password column must fill in the corresponding items given by the space provider respectively.
2. if you want to test it on your computer, enter root in Username, and enter the password you set when installing MySQL in the password column, in the "administrator" information column, you should enter the administrator password when you enter the computer.
In this example, the "server IP address" is http: // 127.0.0.1/bbs/install/index. php.
Copy it to the address bar and press enter to get the Discuz installation wizard:
This is Discuz! X2 installation wizard.
Click agree to start the installation, and some information will appear, including the current server type.
In this step, enter the created background information, including the administrator username and password.
Then fill in the corresponding installation.