2月 202017

自從今年(2015)的4月更新完後,拙者的Windows Update就癱瘓掉了
每次點選檢查更新後,沒多久肯定會跑出錯誤代碼 8007000E
一切都是微軟為了Windows10的布局啊!!!! Continue reading »

2月 182017

Update .gitmodules with the path to the new repository
Remove the corresponding line from the “.git/config” file
Delete the corresponding directory in the “.git/modules/external” directory
Delete the checked out submodule directory itself (unsure if this is necessary)
Run git submodule init and git submodule update
Make sure the checked out submodule is at the correct commit, and commit that, since it’s likely that the hash will be different
After doing all that, everything is in the state I would expect.

  发表于 13:16  Tagged with:
1月 222017

By: Ryan Frankel Posted: May 9, 2016


TL; DR: We assess two of the most popular web servers: NGINX and Apache, on six key points of comparison (performance for static vs. dynamic content, OS support, security, flexibility, documentation, and support). We’ll find that the two are worthy competitors, but Apache’s .htaccess file makes it particularly appealing to shared hosting customers. Meanwhile, NGINX reigns supreme for dynamic content support, and due in part to its more advanced feature offerings, is most popularly used by VPS and dedicated hosting users. Finally, we’ll go over our recommendations for hosting your next web app project.

There was a time (~late 90s-2011) when the Apache web server served around 60 percent — and at times even more — of the world’s websites. That percentage has since fallen below 35 and is still dropping at quite a significant rate. Meanwhile, Microsoft’s IIS web server has held a somewhat steady, slightly increasing, share of the market, reaching 30 percent today. Third place is held by a competitor called NGINX (pronounced “engine-x”), which currently serves around 16 percent of all sites, and that rate is steadily growing by about one percent each year.

I’ll note that some web surveyors place the market shares of Apache and NGINX much higher, considering IIS a lesser competitor. Reality likely resides somewhere in the middle, but the overall trends are clear. Considering only the busiest sites on the Web, Apache holds about 46 percent of the market share, but that portion drops by about four percent annually; NGINX holds a strong second place with 24 percent of the market share and is growing at a rate of about three percent each year. Clearly NGINX is enticing the world’s biggest web properties with something! Continue reading »

1月 222017
January 28, 2015


Apache and Nginx are the two most common open source web servers in the world. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to provide a complete web stack.

While Apache and Nginx share many qualities, they should not be thought of as entirely interchangeable. Each excels in its own way and it is important to understand the situations where you may need to reevaluate your web server of choice. This article will be devoted to a discussion of how each server stacks up in various areas. Continue reading »

1月 222017

by Rod Smith, [email protected]
Last Web page update: 3/11/2011
The GNU libparted library is an extremely important partitioning tool for Linux and some other operating systems (OSes). Programs such as the text-mode GNU Parted (aka parted) and the GUI GNOME Partition Editor (aka GParted) are built atop libparted, as are the partitioning tools employed by many Linux distributions’ installation routines.

Unfortunately, although libparted has many very useful features, it also has some bugs and limitations. Some of these motivated me to write my own partitioning tool for GUID Partition Table (GPT) disks, GPT fdisk. Another issue motivates this Web page: GParted sometimes claims that disks have no partitions, even though other tools, such as the Linux kernel and the fdisk utility, clearly see partitions on the disk. This problem has been cropping up a lot lately on Web forums. Continue reading »

1月 222017

Cylinder 柱面数 表示硬盘每面盘面上有几条磁道。
Head 磁头数 表示磁盘共有几个磁头,也就是几面盘面。
Sector/Track 扇区数 表示每条磁道上有几个扇区。
逻辑区块 Block:逻辑区块 是在 partition 进行 filesystem 的格式化时,所指定的最小存储单位。Block 的大小为 Sector 的 2 的次方倍数。磁头一次可以读取一个 block。

看 fdisk -l 的输出例子:

Disk /dev/vm_storage_pool_vg/vm4: 19.3 GB, 19327352832 bytes
255 heads, 63 sectors/track, 2349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014b4f

Device Boot Start End Blocks Id System
/dev/vm_storage_pool_vg/vm4p1 * 1 66 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/vm_storage_pool_vg/vm4p2 66 588 4194304 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/vm_storage_pool_vg/vm4p3 588 2350 14154752 8e Linux LVM

这里有 255 个磁头,每个磁道有 63 个扇区,一个盘片有 2349 个磁道。

一个扇区的大小是 512 bytes。

计算一下,255 * 63 * 512 * 2349 = 19321182720 bytes,和 19327352832 有点差距(为什么?)。

看 Units 这一行,16065 = 255 * 63,是 Sector/Track 和 Head 的乘积,它再乘以 Sector 大小(512 bytes) 即是 Units,它表示一个垂直 Cylinder 的字节数。

另外,fdisk -l 使用 cylinders,加上 -u 表示使用 sectors。

-u When listing partition tables, give sizes in sectors instead of cylinders. Continue reading »

1月 042017





而中国虽然2003年就启动CNGI建设,但是十多年过去了, IPv6发展仍然是中间(网络)强、两端(终端和信源)弱,流量主要集中在教育网CERNeT2上。目前中国的IPv6用户在世界仅排第50位,甚至落后于印度、越南,国内只有千分之三用户可以用IPv6。



•完成China Net和CN2骨干网升级改造。
































•强化物联网/工业互联网中IPv6应用:摆脱对于IPv4 NAT的技术依赖。



未来人与人、人与物、物与物间的信息交换与共享需求的逐渐增大,万物互联时代IP地址的支撑至关重要。对于中国整体而言,早期由于技术上的落后,没有申请到大量的IP地址,很多单位都是用私有地址,出口上再用公有地址转换,现在,IPv6协议给我们带来了非常大的机会。而广电在三网融合大环境下,网络、宽带建设的需求下,也必须加快IPv6部署步伐。中国互联网协会理事长、中国工程院邬贺铨院士认为”国际上IPv6 的采用正在起飞,中国不能错过这一机会!必须赶上。而广电网络作为国家互联网内容的主要提供者,在互联网内容安全管理承担了主要责任,应当成为IPv6战略的主要推进者。”在政策的号召以及业务推进需求背景下,相信2017年,我国IPv6部署将加快,商业应用和普及将迈向新的阶段。

来源:科讯广电网 王建利  2017-1-6

  发表于 02:40  Tagged with:
11月 272016

by Charles Chow | August 29, 2016

If you recently updated your Nexus phone to Android 7.0 Nougat, but somehow you can’t use your phone’s Wi-Fi network, and you might have tried factory reset or flash the factory image, and Wi-Fi still can’t come back alive, here is the method that fix it.

This No Wi-Fi issue happened at the first time Android N developer preview roll out, if you owned a Nexus 5X or Nexus 6, joined the Android Beta problem, then flash the Android N DP image to your phone, your phone will lose the Wi-Fi MAC address and Android system will get the MAC address with value 02:00:00:00:00:00, and this is the reason why the Wi-Fi network can’t be enabled after a fully phone re-flash. So you can check the Wi-Fi MAC address under Settings -> About phone -> Status, if you see the “02:00:00:00:00:00” under Wi-Fi MAC address, follow these step to fix the problem. Continue reading »