Viewing the system environment
#lsb_release-alsb VERSION::BASE-4.0-AMD64:BASE-4.0-NOARCH:CORE-4.0-AMD64:CORE-4.0-NOARCH:GRAPHICS-4.0-AMD64: Graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchdistributor ID:CentOSDescription:CentOS Release 6.5 ( Final) Release:6.5codename:final#uname-r2.6.32-431.el6.x86_64#python-vpython 2.6.6
Shutting down firewalls and SELinux
#/etc/init.d/iptables Stop#setenforce 0
1. Yum Installation lamp Architecture
#yum Install httpd httpd-devel mysql-server mysql-devel mysql-libs mysql php php-devel php-mysql
2. Download WordPress website Source code
#wget https://cn.wordpress.org/wordpress-4.5.3-zh_CN.tar.gz
3, copy WordPress website source code to the site publishing directory
#tar XF WORDPRESS-4.5.3-ZH_CN.TAR.GZ#CD wordpress#cp-arf */var/www/html/#/etc/init.d/httpd restart
4. Create DATABASE and authorized users
#mysql mysql> CREATE DATABASE wordpress;mysql> grant all on wordpress.* to ' wps ' @ ' localhost ' identified by ' sa123456 ';mysql> flush privileges;
5. Web Installation Wizard
#firefox http://172.16.30.1 &
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/89/57/wKioL1gQUDrxurtWAADtRuGw1fU848.jpg "title=" 1.1. JPG "alt=" wkiom1gqtxij-kg3aadtrugw1fu273.jpg "/>
Figure 1.1
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M00/89/57/wKioL1gQTXjzfQmCAADUJocu54A368.jpg "title=" 1.2. JPG "alt=" wkiol1gqtxjzfqmcaadujocu54a368.jpg "/>
Figure 1.2
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M01/89/59/wKiom1gQTXnTJjWpAADj0WZj6lY837.jpg "title=" 1.3. JPG "alt=" wkiom1gqtxntjjwpaadj0wzj6ly837.jpg "/>
Figure 1.3
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/89/57/wKioL1gQT1Gxm96sAARuDvlBaZQ704.png "title=" 1.4. PNG "alt=" Wkiol1gqt1gxm96saarudvlbazq704.png "/>
Figure 1.4
Note: The username and password are used to manage the background of the website.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/89/57/wKioL1gQTXmR7NjxAACFQYRgS_U469.jpg "title=" 1.5. JPG "alt=" wkiol1gqtxmr7njxaacfqyrgs_u469.jpg "/>
Figure 1.5
Note: User name and password to login website background
This article is from the "top of the Purple Forbidden" blog, please make sure to keep this source http://zjzd86.blog.51cto.com/6124664/1865863
Use the lamp (YUM) architecture to build a personal blog (WordPress) site