Server-side Deployment
Preparatory work
First , you should prepare a Web server that can parse the PHP Web page to support the database, where Apache, PHP, and MySQL components should conform to discuz! The minimum requirements of the system, where the previous source code compiled to build the lamp platform for example, the default home page is set to index.php.
Mysql
Create a data file, initialize the database
650) this.width=650; "title=" 1.png "src=" Http://s5.51cto.com/wyfs02/M01/76/90/wKiom1ZWh5vRJQixAABWQ693-jY326.png " alt= "Wkiom1zwh5vrjqixaabwq693-jy326.png"/>
Adjustment MySQL user Read and write access to the database directory and optimize the path
650) this.width=650; "title=" 2.png "src=" Http://s5.51cto.com/wyfs02/M00/76/90/wKiom1ZWh-njhu_VAAF0Kttoei8366.png " alt= "Wkiom1zwh-njhu_vaaf0kttoei8366.png"/>
Add permissions to start the database service
650) this.width=650; "title=" 3.png "src=" Http://s4.51cto.com/wyfs02/M02/76/8F/wKioL1ZWiHOxmec4AADFsxY5hdk146.png " alt= "Wkiol1zwihoxmec4aadfsxy5hdk146.png"/>
Compiling and installing PHP
Note: If the following error occurred, the reason: The system is missing Libtool , if there is no error, the normal installation
650) this.width=650; "title=" 1.png "src=" Http://s5.51cto.com/wyfs02/M01/76/90/wKioL1ZWiUmBzOtiAACjrb77Fqs419.png " alt= "Wkiol1zwiumbzotiaacjrb77fqs419.png"/>
The above error resolution is as follows, hangs the system installation CD, installs the related rpm Package can
650) this.width=650; "title=" 2.png "src=" Http://s5.51cto.com/wyfs02/M02/76/90/wKiom1ZWiQ2DZ361AALfiK76Xes198.png " alt= "Wkiom1zwiq2dz361aalfik76xes198.png"/>
Establish php.ini file
650) this.width=650; "title=" 3.png "src=" Http://s2.51cto.com/wyfs02/M02/76/90/wKioL1ZWiZmDwjpKAACuEmUsvXE463.png " alt= "Wkiol1zwizmdwjpkaacuemusvxe463.png"/>
Add Optimization module
650) this.width=650; "title=" 5.png "src=" Http://s1.51cto.com/wyfs02/M01/76/90/wKioL1ZWib3yQslvAACakgfLHrI663.png " alt= "Wkiol1zwib3yqslvaacakgflhri663.png"/>
httpd.conf Configure the adjustment and restart the service
and add the following content
650) this.width=650; "title=" 6.png "src=" Http://s4.51cto.com/wyfs02/M01/76/90/wKiom1ZWieeSrLF2AAItLKcldo4427.png " alt= "Wkiom1zwieesrlf2aaitlkcldo4427.png"/>
Write the test page below to see the effect
650) this.width=650; "title=" 7.png "src=" Http://s2.51cto.com/wyfs02/M00/76/90/wKiom1ZWimDygfxRAAGePQ2N8yQ977.png " alt= "Wkiom1zwimdygfxraagepq2n8yq977.png"/>
Test PHP Web pages can access MySQL Database
650) this.width=650; "title=" 8.png "src=" Http://s2.51cto.com/wyfs02/M02/76/90/wKioL1ZWix_wG90bAAJZNPdMMMo598.png " alt= "Wkiol1zwix_wg90baajznpdmmmo598.png"/>
Deployment PhpMyAdmin system
Unpacking and copying to the site Directory
650) this.width=650; "title=" 1.png "src=" Http://s5.51cto.com/wyfs02/M00/76/90/wKioL1ZWjEXAaL69AAFKKU7yDk4150.png " alt= "Wkiol1zwjexaal69aafkku7ydk4150.png"/>
setting up a configuration file config.inc.php, and add the key
650) this.width=650; "title=" 22.png "src=" http://s2.51cto.com/wyfs02/M02/76/90/wKiom1ZWjBvA7xUXAAFybgJ1x1Y371.png "alt=" Wkiom1zwjbva7xuxaafybgj1x1y371.png "/>
Access PhpMyAdmin of the Web Management Interface
650) this.width=650; "title=" 3.png "src=" Http://s3.51cto.com/wyfs02/M01/76/90/wKioL1ZWjJ-wJDJAAAFl21wOKQM784.png " alt= "Wkiol1zwjj-wjdjaaafl21wokqm784.png"/>
Modify the administrator user password to 2008.cn then log into the system
650) this.width=650; "title=" 4.png "src=" Http://s1.51cto.com/wyfs02/M02/76/90/wKiom1ZWjG3QmkQMAAFcwjc4OIo632.png " alt= "Wkiom1zwjg3qmkqmaafcwjc4oio632.png"/>
Deployment and application of the lamp platform (i)