Categories
- Android (5)
- Cloud Computing (10)
- Development (14)
- Linux (36)
- Uncategorized (38)
- WordPress (5)
Tags
Archives
-
Random Posts
Delicious Bookmarks
- Build a Killer Customized Arch Linux Installation (and Learn All About Linux in the Process) 2012/04/25
- openflow 2012/04/12
- sheepdog(牧羊犬):一种EBS的开源实现 2012/04/05
- HBase vs Cassandra: why we moved 2012/04/04
- High Availability for HDFS 2012/03/16
- Hypertable vs HBase II 2012/02/09
Google Reader Shares
- Hudson vs. Jenkins: Is it too soon to declare a winner?
- Galaxy Nexus 的 Super AMOLED 屏幕多了 HD,但少了 Plus
- Faenza Icon theme for Gnome 3.2 makes Ubuntu a little more eye candy
- Google 在台湾、香港及新加坡兴建自己的数据中心,一到两年后启用
- 既定的秩序是教育的结果
- Amazon S3 - 566 Billion Objects, 370,000 Requests/Second, and Hiring!
Links
Meta
Author Archives: Richard Huang
DD-WRT 自动翻墙、自动分流
前天家里的 ADSL modem 坏了,一个杂牌用了五年,嗯,还算不错。趁着记忆还没被别的内容取代,记下配置 DD-WRT 通过 OpenVPN 自动翻墙、(墙)内外分流的过程。当然,你也可以用 PPTP、L2TP/IPSec,但我只喜欢 OpenVPN。 第一步,确保你的无线路由器刷了有 openvpn 和 jffs 功能的 DD-WRT 固件包(参考:如何选择适合你的无线路由器的 DD-WRT 固件包)。注意,并非越新的版本就越好,比如最近 eko 编译的两个新版 svn17990(2011年12月8日) 和 svn18946(2012年4月7日) 的 jffs 都存在问题,所以我还是在使用2011年5月18日发布的 svn17084 版本。 第二步,做好 DD-WRT 的基本配置,包括 PPPoE、Router Name、NTP、wireless 等。 第三步,启用 jffs 第四步,配置自动翻墙、(墙)内外分流,即,只有被墙了的地址才走 VPN,其他仍走 ISP … Continue reading
Build and Install SPICE-GTK on Ubuntu
SPICE-GTK 0.11 on Ubuntu 12.04 64bit. 1. Prepare environment $ sudo apt-get install build-essential libspice-server1 libspice-protocol-dev libavcodec-dev libasound-dev libpng12-dev libfreetype6-dev libxrandr-dev libsdl-dev libnss3-dev libxfixes-dev intltool libssl-dev libgtk2.0-dev python-gtk-vnc python-gtk2 python-gtk2-dev libssl-dev libpulse-dev libpixman-1-dev libjpeg-turbo8-dev libsasl2-dev libusb-1.0-0 libusb-1.0-0-dev libgudev-1.0-dev gobject-introspection python-dev … Continue reading
Publish Packages on PPA
如果你希望把你制作的 deb 包分享给社区,你需要自己设立一个 repository,对大多数人来说,这有点太麻烦了。Ubuntu 提供了一项免费服务 PPA,你可以把自己的包上传至 PPA 上,分享给别人。 1. 注册一个 LaunchPad 帐号,比如帐号为 lpfoobar 2. 注册完毕、登录后,在你的 LaunchPad 页面上注册你的 GPG Key 和 SSH 公钥。 3. 点击 Create a new PPA,创建一个 PPA,比如名称为 myppa 4. 编译 deb 包,不能生成 binary 包,因为 PPA 只接受源码包,所以使用以下指令编译制作: $ dpkg-buildpackage … Continue reading
Customize CyanogenMod ROM
不知道还有多少人在坚持使用早期的 Android 设备,比如 HTC Dream (G1)、Magic (G2) 等。上个月某天午饭时,一个同事说她最近入手了 Sensation (G14),因为原先的那台 Hero (G3) 实在太慢了。嗯,想起了 Richard Jones 说的——Android is the new Windows. 多数情况下,用户不会去管操作系统,于是太多的硬件资源被不必要地占用了,而且还带来不稳定性。但 Android 的开放性使得用户可以对其进行裁减/定制,最原始的做法是直接从源码开始,不过这太麻烦了,另一种做法是修改已经存在的 ROM 安装包。 我依然在使用 G2,已经两年半了,机器里跑的是基于 CM 6.1.0 裁减之后的版本,速度和稳定性都是能接受的。下表(Table 1)列出了修改细节: Table 1. CyanogenMod ROM 程序包 用途 改变 AccountAndSyncSettings.apk 账户同步设置 … Continue reading
Posted in Android
2 Comments
Installing Debian from USB Stick
This post describes how to install Debian Testing (current Testing is Wheezy). The procedure for installing Debian Stable (current Stable is Squeeze) is same, only the download links are different. 1. Install the necessary tools on your computer which runs … Continue reading
Create a Xen Virtual Machine
This tutorial shows how to create a VM (virtual machine) on Xen and install CentOS 6.0. 1. Prepare Virtual Disk Image Xen supports to run VM on physical device or virtual disk image. Here I am going to use virtual … Continue reading
QEMU-KVM with SPICE Support on Ubuntu 11.10 64-bit
SPICE server requires 64-bit system. Make sure you are running Oneiric x86_64. 1. Remove AppArmor $ sudo invoke-rc.d apparmor stop $ sudo update-rc.d -f apparmor remove $ sudo apt-get autoremove –purge apparmor $ sudo reboot After the machine is rebooted, … Continue reading
iptables in Ubuntu
Since 7.10, Ubuntu uses UFW to manage firewall. Well, UFW is easier than iptables, but I prefer to use iptables directly. Keep it less layers. Stop and remove UFW: $ sudo invoke-rc.d ufw remove $ sudo update-rc.d -f ufw remove … Continue reading
Install a Windows Guest with SPICE
There are many choices for desktop virtualization (sometimes called desktop cloud): ICA – Citrix XenDesktop supports it PCoIP – VMWare View supports it RDP – Microsoft supports it SPICE – Red Hat (RHEV) supports it … … The last one, … Continue reading
Compile and Install SPICE Client on Ubuntu
Since 11.10 (Oneiric), Ubuntu includes SPICE client in its official repository. But how can we get SPICE client if we still use the old Ubuntu releases prior to Oneiric? The following describes how to compile and install a SPICE client … Continue reading