First, need to know before installation
1. The experiment needs to be installed on the premise that the lamp architecture is successfully built.
Installing Apache can refer to http://blog.51cto.com/13641879/2109342
Installing MySQL can refer to http://blog.51cto.com/13641879/2109344
Installing PHP can refer to http://blog.51cto.com/13641879/2109345
2, the installation forum needs to prepare Discuz_x2.5_sc_utf8.zip forum Package
3, because it is installed in the virtual machine, need to use the package is from the host in the use of shared folders in the way of sharing to Linux, shared folders can refer to my manual compilation and installation of Apache this blog, with detailed instructions
4, 192.168.10.10 for the virtual machine Linux IP address, 192.168.10.20 for the host VMNET1 network card IP address, virtual machine and host to communicate with the virtual machine network adapter is set to host-only mode
Second, start the experiment
1, first in the database to create a database called BBS, the BBS database inside all the table permissions granted to Bbsuser, and set the password admin123, and then refresh the database
2, the Forum compressed package Discuz_x2.5_sc_utf8.zip extracted to the/opt directory and named Dis, because the compression package is. zip format, so use the Unzip command decompression,-d specifies the decompression path to/opt/dis
3, go to/opt/dis decompression directory, copy the upload file to/usr/local/apache/htdocs/bbs page home location, and named BBS, this step is equivalent to set up a virtual directory of the Forum
4, go to/usr/local/apache/htdocs/bbs this directory, the four important documents belong to the group daemon
5, open the host browser, address bar input 192.168.10.10/bbs, appear discuz Forum Installation Wizard, agree to license agreement
The following screen appears, click Next
Select New Installation and click Next
Fill in the database information, database name, database user name password in the first step has been specified, complete click Next
Start installation
After the installation is complete reopen 192.168.10.10/bbs, the following interface is the successful
Browser address bar Input 192.168.10.10/bbs/admin.php can enter the Forum Administrator login screen
Enter the administrator user name and password to log in, login successful interface as follows
Forum Construction completed
Install discuz! forum under Lamp architecture