WEBServeralso known asWWW(World WIDE WEB) server, mainlyfunctionis to provide onlineInformationBrowse Services. WWW isInternet Multimedia information query tool , is the Internet on the development of services in recent years, but also the fastest development and the most extensive services currently used.
1. Rpm-qa|grep httpd   Query service is installed.
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/V10HoZq923s0qn/ 1aulmpbaopwwwz6pwdwd4qulge77rzayj6cdxkb5ssw!/b/djsaeelnfaaa&bo=kwjcaaaaaaadapy! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:659px;height:66px; "/>
3.  cd/var/www/html /var/www/html is the general default Web hosting directory.
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/V10HoZq923s0qn/ Rgepxab0jzmkvfhm24eil57ekamhnowzvqbjpbfs7v4!/b/djeygul*faaa&bo=xaihaaaaaaadafo! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:604px;height:33px; "/>
4.vim index.html Create a new format HTML file in this directory. Content such as.
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/v10hozq923s0qn/abpqqezyqhvf4dme3jezy* jzjlo6agstbz.re6ybbyi!/b/dlrw2uroiqaa&bo=kwlgaqaaaaadahm! "style=" margin:0px;padding:0px;border-width:0px; border-style:none;vertical-align:top;width:659px;height:454px; "/>
5. Service httpd Restart Restart Service
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/V10HoZq923s0qn/ rojlwkttwwrv.h4ckzlsejrmvdvuop83ifxyngy4biu!/b/df6hgol0faaa&bo=ewj7aaaaaaadacc! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:635px;height:123px; "/>
6. Test on the browser. Input---http://172.16.109.86
650) this.width=650; "alt=" Picture "src=" http://b391.photo.store.qq.com/psb?/V10HoZq923s0qn/ vpld0xtjdzkkwkgvomtrthplfj0kggvglpmlwi9pmrc!/b/ddh1eumjfaaa&bo=hwijaqaaaaadakg! "style=" margin:0px;padding : 0px;border-width:0px;border-style:none;vertical-align:top;width:647px;height:265px; "/>
7. After changing the DNS address, test the domain name. Input----www.yzh.com
650) this.width=650; "alt=" Picture "src=" http://b394.photo.store.qq.com/psb?/V10HoZq923s0qn/. Qujvtl1gis0x0dq.jxvnh1skadif4kdgiomaptr1di!/b/ditx4.rjiqaa&bo=5ahraaaaaaadacs! "style=" margin:0px;padding:0 px;border-width:0px;border-style:none;vertical-align:top;width:484px;height:235px; "/>
8. Done.
This article is from "Heart far, road far." "Blog, be sure to keep this provenance http://yzh123.blog.51cto.com/9014017/1551747
Linux--web Server