标签:人工 一个 零基础 linux seconds dns tar 实现 font
京东商城是专业的数码网上购物商城,主要产品包括数码、家电、手机、电脑配件、网络产品等数万种商品。
京东商城是我比较喜欢的一个网站,UI/UE方面做得非常棒,从他们网站的细节就可以看出来,虽然我一直没有网购的经历,但是以后如果要网购,而同时京东上面有我想买的商品,我可能会考虑在京东商城买东西。
出于对京东商城的喜欢,因此简单的分析了一下他们的服务器情况
从X-Cache: MISS from www.360buy.com可以看出,京东的主站应该是采用了Squid反向代理
C:/Users/caihuafeng>curl -I www.360buy.com
HTTP/1.0 200 OK
Cache-Control: public, max-age=600
Content-Type: text/html; charset=gb2312
Last-Modified: Wed, 05 Aug 2009 10:20:41 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Date: Wed, 05 Aug 2009 10:20:41 GMT
X-Cache: MISS from www.360buy.com
Content-Length: 83486
X-Cache: MISS from www.360buy.com
Connection: close
京东的主站有两台web服务器
C:/Users/caihuafeng>nslookup www.360buy.com
服务器: ns.crcbj.com
Address: 61.233.9.9
非权威应答:
名称: www.360buy.com
Addresses: 211.151.68.196
60.29.252.21
用nmap检测出服务器211.151.68.196用的是FreeBSD的操作系统,但是用curl -I抓取的http header里面有ASP.NET的字样,一般ASP.NET是不能运行在FreeBSD操作系统下的,难道ASP.NET真的可以运行在FreeBSD或其它的非windows操作系统吗?Google了一下,终于找到了答案,通过一个叫做mono的软件就可以实现,这真的是一个重大的发现,以前知道京东是用ASP.NET开发的,没有想到却是运行在FreeBSD操作系统下面的。
You need to use an open source implementation of the Microsoft .NET architecture called mono.
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell, the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications.
Mono can be run on
* Linux
* FreeBSD
* UNIX
* Mac OS X
* Solaris
* Windows operating systems
Via:http://www.cyberciti.biz/faq/how-to-use-aspnet-on-linux-solaris-freebsd/
检测京东主站的操作系统,连服务器运行了16.999 days都统计出来了,说明京东的服务器在16.999天以前曾经重启过
[root@CentOS_Test_Server ~]# nmap -O www.360buy.com
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-08-06 00:10 CST
Warning: Hostname www.360buy.com resolves to 2 IPs. Using 211.151.68.196.
Warning: OS detection will be MUCH less reliable because we did not find at least 1 open and 1 closed TCP port
Interesting ports on 211.151.68.196:
Not shown: 1676 filtered ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain(打开了53端口,主要是用于DNS服务)
80/tcp open http
8888/tcp open sun-answerbook
Device type: general purpose
Running: FreeBSD 4.X
OS details: FreeBSD 4.5-RELEASE (or -STABLE) through 4.6-RC (x86)
Uptime 16.999 days (since Mon Jul 20 00:14:45 2009)
Nmap finished: 1 IP address (1 host up) scanned in 121.576 seconds
京东商城的搜索用的有可能是lucene,因为抓取它们网站的header显示Apache-coyote/1.1的字样
C:/Users/caihuafeng>curl -I search.360buy.com/Search
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=006837CC3C733EB2686B2D142BB51170; Path=/
Content-Type: text/html;charset=GB2312
Content-Length: 16998
Date: Wed, 05 Aug 2009 10:24:13 GMT
Connection: close
Set-Cookie: BIGipServerbeta_360buy_soxue=2383063232.20480.0000; expires=Wed, 05-
Aug-2009 10:00:08 GMT; path=/
再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow
标签:人工 一个 零基础 linux seconds dns tar 实现 font
原文地址:https://www.cnblogs.com/skiwnxhw/p/10326149.html