Build WordPress Blog system and discuz! forum system in httpd-2.2 and http-2.4 respectively
One
Here I use centos6.7 and centos7.2 to operate. Before building, the lamp environment needs to be built beforehand.
The so-called lamp environment refers to Linux, Apache (httpd), MySQL, PHP
When you are done, turn on httpd and MySQL services.
The index.php file is then created under the/var/www/html directory. Test PHP
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/29/wKiom1myfIjhKTrjAAAHC73uO7g969.png-wh_500x0-wm_ 3-wmp_4-s_665016526.png "title=" capture. PNG "alt=" Wkiom1myfijhktrjaaahc73uo7g969.png-wh_50 "/>
Second, build WordPress blog System
1. Download, unzip, copy wp-config-sample.php to wp-config.php, and modify the database name, user name, user password and IP address of the current virtual host in this article
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A4/DA/wKioL1myfH3SX-RWAABNBYPDDdU137.png-wh_500x0-wm_ 3-wmp_4-s_800619406.png "title=" Capture 1. PNG "alt=" wkiol1myfh3sx-rwaabnbypdddu137.png-wh_50 "/>650) this.width=650; src=" https://s2.51cto.com/wyfs02/ M00/a4/da/wkiol1myfizt7ss8aaaqgqrl3sg380.png-wh_500x0-wm_3-wmp_4-s_184820921.png "title=" Capture 2. PNG "alt=" Wkiol1myfizt7ss8aaaqgqrl3sg380.png-wh_50 "/>
2. Create a database (not required for tables) and authorize Wpuser users
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/A4/DA/wKioL1myffrDVB70AAA9Vz9pwtw623.png-wh_500x0-wm_ 3-wmp_4-s_3648152371.png "Title=" captures D. PNG "alt=" Wkiol1myffrdvb70aaa9vz9pwtw623.png-wh_50 "/>
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/06/29/wKiom1myfMCTWPDZAABgJtJfX3I887.png-wh_500x0-wm_ 3-wmp_4-s_4073245665.png "Title=" captures E. PNG "alt=" Wkiom1myfmctwpdzaabgjtjfx3i887.png-wh_50 "/>
3. The configuration phase is complete and can be experimented
650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A4/DA/wKioL1myfSWCWTPiAABrNijJAXM974.jpg-wh_500x0-wm_ 3-wmp_4-s_124711815.jpg "title=" wkiom1mug5uh9jtvaab6wqtu2kw313.jpg-wh_500x0-wm_3-wmp_4-s_1752542935.jpg "alt=" Wkiol1myfswcwtpiaabrnijjaxm974.jpg-wh_50 "/>
Note: Be sure to remember to turn off the firewall and Sellinux before you experiment, and be sure to write the IP address and the mapped hostname on the host computer.
Build WordPress Blog system and discuz! forum system in httpd-2.2 and http-2.4 respectively