close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Apr 16, 2009, 6:51:58 PM (17 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v9
|
v10
|
|
| 6 | 6 | * [待測試] [http://wiki.xensource.com/xenwiki/LiveCD Xen Live CD 2.0] 的 [http://livexen01.worldweb.com.br/release-0.8.2/xenlivecd-0.8.2.tar.gz build script(ISO Generator)] - 瞭解 isolinux 是如何下參數啟動 xen hypervisor 呢?? 一樣是靠 mboot.c32 嗎?? |
| 7 | 7 | |
| 8 | | * [想法] 每次 DRBL Server 升級,都會忘記要跑 re-deploy,想說為什麼不能每次只要有跑 apt-get 就像 localepurge 一樣都會去執行對應的 script 呢?? 今天研究了一下,原來作法並不難,只要在 /etc/apt/apt.conf.d/ 中放一個 script 就可以了。 |
| | 8 | * [想法] 每次 DRBL Server 作小升級,都會忘記要跑 re-deploy,想說為什麼不能每次只要有跑 apt-get 就像 localepurge 一樣都會去執行對應的 script 呢?? 今天研究了一下,原來作法並不難,只要在 /etc/apt/apt.conf.d/ 中放一個 script 就可以了。 |
| 9 | 9 | {{{ |
| 10 | 10 | localepurge: /etc/apt/apt.conf.d/99-localepurge |
| | 11 | }}} |
| | 12 | * [改良] 擺一隻 99drbl 在 /etc/apt/apt.conf.d/ 就可以在每次 apt-get install 之後,每次幫忙跑 re-deploy |
| | 13 | {{{ |
| | 14 | # cat > /etc/apt/apt.conf.d/99drbl << EOF |
| | 15 | DPkg |
| | 16 | { |
| | 17 | Post-Invoke {"if [ -x /opt/drbl/sbin/drblpush ] && [ $(ps w -p "$PPID" | grep -c remove) != 1 ]; then /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf ; else exit 0; fi";}; |
| | 18 | }; |
| | 19 | EOF |
| 11 | 20 | }}} |
| 12 | 21 | |