Changes between Version 1 and Version 2 of jazz/09-09-12
- Timestamp:
- Sep 12, 2009, 4:44:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/09-09-12
v1 v2 1 1 = 2009-09-12 = 2 2 3 == Debian ==3 == Debian / Ubuntu == 4 4 5 5 * [http://www.h-online.com/open/news/print/114175 Debian switches to Upstart] … … 7 7 * 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. 8 8 * 看樣子為了讓開機速度加快,或者解決到一些傳統 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] 17 description=Ubuntu 9.10 Karmic Koala 18 users=mbp 19 root-users=mbp 20 location=/home/chroot/karmic 21 type=directory 22 run-setup-scripts=true 23 run-exec-scripts=true 24 }}} 25 {{{ 26 ~$ schroot -c karmic 27 }}} 28 * 從這篇文章也學到 lsbrelease 的一些新用法 29 {{{ 30 ~$ lsb_release -is 31 Debian 32 ~$ lsb_release -ds 33 Debian GNU/Linux 5.0.3 (lenny) 34 ~$ lsb_release -rs 35 5.0.3 36 ~$ lsb_release -cs 37 lenny 38 }}} 9 39 10 40 == Vim 密技 ==