RSS

Archive | Linux RSS feed for this section

VirtualHost browser cache

10. August 2008

0 Comments

Setting up a virtual host on PC, Mac or Linux isn’t difficult, but the browser cache problem drives me crazy. Apart from editing the /etc/hosts mappings and httpd.conf, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn’t clean the cache, so the result will be always add /xampp/index.php at the end of [...]

Continue reading...

15 Years Later, It’s Time for Wine?

19. June 2008

0 Comments

After 15 years’ development of Wine, we’ve been through many test and beta versions. Finally, a stable Wine is available to all the users. Wine is an open source implementation of the Windows application programming interface (API) on top of X, OpenGL and Unix that allows Windows applications to run on other operating systems, including Linux [...]

Continue reading...

Disable iPhone EDGE

12. March 2008

0 Comments

前一阵子试着用SFTP通过Wireless network连接到iPhone上, 研究file system的结构. 发现和MaxOS的却别不大, 而且相当的相近. 由于英国这边O2和Apple合作, 1.1.2版本后的Firmwire会不现实EDGE的设置, 如果不是签合共来的 - Jailbreak/Unlock, 那EDGE的开销可不是个小数目. 7.5英镑每兆。 那些说用第二张 Sim Card把EDGE设定界面弄出来再换成O2卡的方法基本上是没有用的. 另外一个就是用Mac的Property list editor 直接修改O2_UK.plist. 加一个 ‘AllowEDGEEditing’ key 和 value ‘true’ 到你的property list中, 然后保存, 上传这个文件到同样的位置并且覆盖原来的文件. 现在到General-> Network 就能看到EDGE的按钮再次出现. 最后随便输入一个用户名和密码就可以了, 目的是不让手机找到EDGE的网络. 以前用BossPrefs 虽然避免了数据的交换, 但是账户还是登陆了EDGE网络, 所以上面修改EDGE Login是最安全的方法.

Continue reading...

Install JDK5 on Ubuntu/Kubuntu

17. September 2006

0 Comments

Ubuntu 6.06 Sun Java5: Install it from the Applications -> Add/Remove… menu, or install the sun-java5-jdk package. Blackdown Java2 1.4 packages: Install the j2re1.4 package, available in the multiverse repositories. Install it from the Applications -> Add/Remove… menu, or install the j2re1.4 package. Kubuntu 6.06 Sun Java5: Load up Konsole, and type: sudo apt-get install sun-java5-jdk Accept the [...]

Continue reading...

关于Linux分区

31. August 2006

0 Comments

安装ubuntu / Kubuntu的时候可以选择有程序自己分区或者自定义分区。一般来说Linux的分区可以有以下几个: /boot 操作系统启动文件分区,一般分配大小在250MB-500MB左右 /usr 操作系存放软件的地方 /bin 存放标准系统实用程序 /home [...]

Continue reading...