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
Category Archives: Linux
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
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
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
My Must-Have PPAs
Within a release life cycle, Ubuntu only maintains the minor upgrades of the applications installed in the release. If you want to keep your applications up-to-date and catch their major upgrades, you have to do the upgrades by yourselves, or … Continue reading
Enable VNC Server on Fedora 15
Install: $ sudo yum install tigervnc-server Configure: $ sudo vi /etc/sysconfig/vncservers VNCSERVERS=”1:huangys 2:root” VNCSERVERARGS[1]=”-geometry 1024×768″ VNCSERVERARGS[2]=”-geometry 1024×768″ Set password(s) for user(s): According to the above configuration, we need to set passwords for two users: huangys, root. Logged in as huangys, … Continue reading
Remote Desktop Access with NX
We connect to remote machines, whatever physical or virtual machines, through SSH in most cases, but occasionally we do need to live with graphical desktop. Yes, VNC is always used here, but.. urh.. VNC is too slow! NX is another … Continue reading
Vim
安装: $ sudo apt-get install vim vim-gnome exuberant-ctags 如果发现 GVim 的中文菜单无法显示,是因为 Ubuntu 中文操作系统的字符集写作 UTF-8,而 GVim 中认定的是 UTF8,做以下字符连接即可: $ cd /usr/share/vim/vim72/lang $ sudo ln -s menu_zh_cn.utf-8.vim menu_zh_cn.utf8.vim 安装完基本的 Vim 就可使用了,但要真正用好 Vim,还要根据需求对它进行配置自定义。已经有很多人分享了很好的配置经验,在 Google 中搜索 vimrc 可以找到很多资料。我发现了一个大牛配置,可以拿来学习和作为自己的配置参考。我个人不太喜欢大量地自定义快捷键,还是使用通用的比较好。
Mount Remote Windows Share
I’m using CentOS 5.5. Make sure your Linux has Samba client installed. If not, run the below to install it: # yum install samba-client Now mount Windows share: # mount -t cifs //win_server/share -o username=theuser,password=thepwd /mnt/winshare -t cifs: file system … Continue reading
Subversion
1. 安装 从 tarball 安装: $ tar jxvf subversion-1.5.7.tar.bz2 $ cd subversion-1.5.7 $ ./configure –prefix=/opt/subversion –with-apxs=/opt/apache/bin/apxs –with-apr=/opt/apache/bin/apr-1-config –with-apr-util=/opt/apache/bin/apu-1-config $ make clean $ make $ sudo make install 如果在 Debian/Ubuntu 系: $ sudo apt-get install subversion libapache2-svn 2. 版本库 Subversion 支持单版本库,也支持多版本库。采用单一版本库管理所有项目,或者为每个项目建立一个独立的版本库,都是允许的,不过这两者的做法都有些极端。推荐的做法是,将关联度高的项目放在同一个版本库中管理。 … Continue reading
Ubuntu 9.10 Quick Guide
1. partitioning If you’re using alternative image to install Ubuntu from ISO without CD, you’ll find that the problem of unable partitioning hard disk is solved. That problem exists in both 8.10 and 9.04 releases. In the installation wizard, there … Continue reading