Linux--web Server

Source: Internet
Author: User
Tags web hosting


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

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.