Centos 7 Install Wordpress (a)-----install Apache

Source: Internet
Author: User
Tags install wordpress

Today suddenly want to install a Wordpress in the Linu to get a blog to play, so again began to toss.


Below is also available under Centos 7:

Http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1611.iso

Install Linux This I will not repeat the said, their own blog search under, or find Baidu it.

After installing CentOS 7, we have to pay attention to the configuration of the IP address, if it is installed desktop version, then the direct mouse click OK, if the use of CRT connection, I also give a picture below.

To change the IP address:

1, first check the name of the local network card

ifconfig

2, re-configure the network card address.

Vi/etc/sysconfig/network-scripts/ifcfg-exxx (The X on the back of E is your network card name)

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/92/A4/wKioL1kBmArTuaKGAAA6jOMXS-o608.png-wh_500x0-wm_ 3-wmp_4-s_457641404.png "title=" 22.png "alt=" Wkiol1kbmartuakgaaa6jomxs-o608.png-wh_50 "/>

3. Restart the network card service

systemctl Restart Network.service

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/92/A6/wKiom1kBmfuDeY0HAAAMISozJ1M447.png-wh_500x0-wm_ 3-wmp_4-s_2550402998.png "title=" 23.png "alt=" Wkiom1kbmfudey0haaamisozj1m447.png-wh_50 "/>

OK, now we can be sure to install Apache, in fact, install Apache is installed httpd service

The command is as follows:

Yum Install httpd-y

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/92/A6/wKiom1kBnCqilbk7AACCAGlHYsM722.png-wh_500x0-wm_ 3-wmp_4-s_3320044810.png "title=" Yum install httpd-y.png "alt=" Wkiom1kbncqilbk7aaccaglhysm722.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/92/A6/wKiom1kBnD_AbAwMAAC68AnshPo300.png-wh_500x0-wm_ 3-wmp_4-s_3116076093.png "title=" Yum install httpd-y 2.png "alt=" Wkiom1kbnd_abawmaac68anshpo300.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/92/A6/wKiom1kBnE6Acw6nAACCEiFwehU691.png-wh_500x0-wm_ 3-wmp_4-s_2355252259.png "title=" Yum install httpd-y 3.png "alt=" Wkiom1kbne6acw6naacceifwehu691.png-wh_50 "/>

See the above figure, we know that the installation is complete, the next thing we have to do is to turn off the firewall, and then you can test.

systemctl stop firewalld.service >>>>>>> shut down the firewall

systelctl Restart Httpd.service >>>>>>>>> restart httpd service

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/92/A7/wKiom1kBnN-AjtzHAAAOwknaRuI229.png-wh_500x0-wm_ 3-wmp_4-s_2303341646.png "title=" Systemctl stop Firewalld.service.png "width=" "height=" "border=" 0 "hspace=" 0 " Vspace= "0" style= "width:500px;height:50px;" alt= "Wkiom1kbnn-ajtzhaaaowknarui229.png-wh_50"/>

Then we'll test it on the other machine. http://192.168.x.x see the picture as shown on the successful installation.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/92/A7/wKiom1kBnXqCadg7AAMNQ5AgwWo478.png-wh_500x0-wm_ 3-wmp_4-s_2690601071.png "title=" test. png "alt=" wkiom1kbnxqcadg7aamnq5agwwo478.png-wh_50 "/>




This article is from the "Last Bus" blog, so be sure to keep this source http://hznethome.blog.51cto.com/722914/1920063

Centos 7 Install Wordpress (a)-----install Apache

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.