Changes between Version 1 and Version 2 of jazz/09-09-12


Ignore:
Timestamp:
Sep 12, 2009, 4:44:05 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/09-09-12

    v1 v2  
    11= 2009-09-12 =
    22
    3 == Debian ==
     3== Debian / Ubuntu ==
    44
    55 * [http://www.h-online.com/open/news/print/114175 Debian switches to Upstart]
     
    77  * Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.
    88  * 看樣子為了讓開機速度加快,或者解決到一些傳統 Linux /sbin/init 造成的問題,開機程序又再重新改寫了。
     9
     10 * [http://blog.sourcefrog.net/2009/09/setting-up-ubuntu-chroot-for.html setting up an Ubuntu chroot for development testing using schroot and debootstrap]
     11  * Q: schroot 跟 chroot 有什麼不同呢? A: schroot 是給一般使用者用的,不需要 root 權限!!
     12{{{
     13#!sh
     14/etc/schroot/schroot.conf
     15
     16[karmic]
     17description=Ubuntu 9.10 Karmic Koala
     18users=mbp
     19root-users=mbp
     20location=/home/chroot/karmic
     21type=directory
     22run-setup-scripts=true
     23run-exec-scripts=true
     24}}}
     25{{{
     26~$ schroot -c karmic
     27}}}
     28  * 從這篇文章也學到 lsbrelease 的一些新用法
     29{{{
     30~$ lsb_release -is
     31Debian
     32~$ lsb_release -ds
     33Debian GNU/Linux 5.0.3 (lenny)
     34~$ lsb_release -rs
     355.0.3
     36~$ lsb_release -cs
     37lenny
     38}}}
    939
    1040== Vim 密技 ==