claim: I just write this article for fun,if you were a geek, skip it.
We visit various of website everyday, while how does it work?
Each website is served by a server, maybe a super computer. When you visit, say, www.newyorktime.com, the browser translate the domain name to the Ip address of that server. By TCP/IP protocal, you contact with server got the webpage.
If you had a domain, how to write a web page?
log into that server machine by your account and password.
cd ~
You are in home directory ,where you can see a html directory. Chmod 711 html and the directory under it. This command made these directory excutable for anyone.
- put the *.html in your html directory.
- chmod 644 *.html 4 means 100 readable, unwritable, unexcutable.
- type : yourdomain./~youraccount in webbrowser, you should see the webpage that you just created.
没有评论:
发表评论