Author Archives: Sean

HowTo: Speed up ubuntu boot process – the way you can feel it.

This HowTo is for those who complaint ubuntu boot-up speed is pretty slow but not willing to install any alternative tools to speed up. The way I use here is not the altimate solution by any means but it does make differences and it does work. Everything done below is by tuning the boot process itself and because everyone’s computer might be different, there is a little risk that something below might break your system. Take your own judgment before you perform a change and always good to do a backup for the /etc dir.
 
**This HowTo is mainly for laptops and desktops, not for servers.**
 
Suggestions for this HowTo:
1. I hope you learn something from here but not just a simple copy. So please, **DO NOT** follow exactly what I did and copy to your box. Read the descriptions of services and use your own judgment to determine if you need to keep them on or not. For instance, I turned GDM off on mine to boot to console, but if you do not feel confortable to see console at all, you should keep GDM or KDM on to boot directly to GUI.
2. If you have a question about a boot up service and not really sure what it does, post a question here and see if anybody can help you. Ask before you do if you don’t know. The bottom line to be safe is to leave a service on rather than turn it off if you do not understand.
3. If you see a boot up service that you have but not in here, let us know what it does just like what I did here – give some descriptions and suggestions on whether it should be on or off on a normal laptop or desktop environment.
 
Color reference : service I turned on
service I turned off 

Continue reading

官方提供的集成fckeditor到mt中的方法

在fckeditor的网站上发现的,链接点这里
 
这一个的集成方法比较好,可以让日记主要内容、更多日记内容、日记关键字,都集成fckeditor。
 
其实对比以前的方法,在edit_entry.tmpl文件的<head>与</head>中间,加入
<script type="text/javascript" src="你的fckeditor的js地址"></script>
<script type="text/javascript">
window.onload = function()
 {
 var oFCKeditor = new FCKeditor( ‘text’ ) ;
  oFCKeditor.Height = "400" ;
  oFCKeditor.Width = "580" ;
  oFCKeditor.CheckBrowser = true ;
  oFCKeditor.ReplaceTextarea() ;
 
  pFCKeditor = new FCKeditor( ‘text_more’ ) ;
  pFCKeditor.Height = "400" ;
  pFCKeditor.Width = "580" ;
  pFCKeditor.CheckBrowser = true ;
  pFCKeditor.ReplaceTextarea() ;
}
    </script>
 
就可以实现了如果需要让关键字也增加格式

Continue reading

这些大网站都用什么操作系统与 Web 服务器 ?

Google
用哪些软件做 Web Server?
除了有两个节点操作系统看出来是 Linux 外,其他的都是未知的. Web 服务器用的都是 GWS ? 我估计是 Google Web Server 的缩写.

Yahoo!
操作系统都是 FreeBSD. 其他的都不可知.Yahoo! 的网络安全据说是一级棒!

微软
操作系统全是 Windows 2003(如果使用 Linux 会被笑死) , 看来 Windows 2000 已经退出微软自己的舞台.Web 服务器用的是Microsoft-IIS/6.0.

eBay
操作系统用:Windows Server 2003 /2000, Web服务器用 Microsoft-IIS/6.0 (5.0). 对这个检测有些怀疑.eBay 大规模使用 Windows ?

GNU.org
操作系统全是 Debian Linux(没错,Debian 是 GNU 正宗传人). Web 服务器: Apache/1.3.31 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 , 也有的配置是:Apache/1.3.26 (Unix) Debian GNU/Linux mod_python/2.7.8 Python/2.1.3.GNU.org 对 Python 用的比较多的.

看看国内的一些公司.

阿里巴巴
操作系统是 Linux . Web 服务器: Apache/1.3.29 (Unix) mod_alibaba/1.0 Resin/2.1.13 .
(+mod_gzip/1.3.26.1a). mod_alibaba 模块估计是专门定制的.

Sina
操作系统是 FreeBSD. Web 服务器都是 Apache/2.0.54 .

百度
操作系统是 Linux , Web 服务器: Apache/1.3.27. 整齐划一.

搜狐
操作系统居然是 SCO UNIX ,Web 服务器信息: Apache/1.3.33 (Unix) mod_gzip/1.3.19.1a
看来业界传闻”Sohu 的技术力量最差”并不夸张.

网易
操作系统:Linux. Web 服务器信息: Apache/2.0.5x

这些数据是在Netcraft得到的.

分析一下上述数据,可以得到的基本信息如下:

1. Linux vs FreeBSD 半斤八两.很多公司用 Linux , FreeBSD 也不乏拥趸.但开源操作系统做 Web 应用是首选已经是一个既定事实.
2. 关于 Apache ,虽然 Apache 目前还是推荐使用 1.3 版本. 但是很多公司还是使用了 2.0 版.而 Apache.org 自己也全在使用 Apache 2.0 .甚至是 2.2 .
3. Mod_gzip 被一些公司有选择的使用.
4. 技术实力强的公司定制自己专用的模块.

这些判断的前提是 Netcraft 的探测是正确的并且具备代表性.

1月30日之前免费的网络电话,推荐

今天刚刚发现的,强烈推荐阿。该网站有中文支持:)
只要免费注册,下载VBUZZER软件,就能实现用户间的通话了。春节期间用Vbuzzer拨打中国,美国,英国,澳大利亚等20个国家、地区的电话都是免费的。

注册地址
https://www.vbuzzer.com/account/signup.php
注意,邮箱必须有效,否则不能激活。

免费的国家和地区:
http://www.vbuzzer.com/chinesenewyear.php
打大陆和香港手机坐机都免费,有的国家只是坐机免费。

比如,拨打中国电话,就打
011+86+区号(没有0)+电话号码,
2006-01-14_22-21-55.jpg