tof:computer:vserver:upstart_ubuntu_lucid
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tof:computer:vserver:upstart_ubuntu_lucid [09/06/2010 15:11] – add vserver init task Christophe Boyanique | tof:computer:vserver:upstart_ubuntu_lucid [13/07/2010 11:58] (Version actuelle) – Christophe Boyanique | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Fix for running Ubuntu Lucid in vserver ====== | ====== Fix for running Ubuntu Lucid in vserver ====== | ||
| - | This tweak is inspired by http:// | + | This tweak is inspired by [[http:// |
| ===== Choose plain init style ===== | ===== Choose plain init style ===== | ||
| Ligne 27: | Ligne 27: | ||
| < | < | ||
| # mkdir / | # mkdir / | ||
| - | # for srv in console-setup | + | # for srv in console-setup dmesg failsafe-x hostname hwclock-save hwclock module-init-tools \ |
| mountall-net mountall-reboot mountall-shell mountall network-interface network-interface-security networking \ | mountall-net mountall-reboot mountall-shell mountall network-interface network-interface-security networking \ | ||
| plymouth-log plymouth-splash plymouth-stop plymouth procps rcS rsyslog-kmsg tty1 tty2 tty3 tty4 tty5 tty6 \ | plymouth-log plymouth-splash plymouth-stop plymouth procps rcS rsyslog-kmsg tty1 tty2 tty3 tty4 tty5 tty6 \ | ||
| upstart-udev-bridge ureadahead-other ureadahead; do mv / | upstart-udev-bridge ureadahead-other ureadahead; do mv / | ||
| / | / | ||
| + | </ | ||
| + | |||
| + | Be carefull to keep the '' | ||
| + | |||
| + | < | ||
| + | 20:00 < | ||
| + | 20:01 < | ||
| </ | </ | ||
| Ligne 63: | Ligne 70: | ||
| | | ||
| end script | end script | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Tweak sysinit configuration ===== | ||
| + | |||
| + | In ''/ | ||
| + | |||
| + | < | ||
| + | start on filesystem and net-device-up IFACE=lo | ||
| + | </ | ||
| + | |||
| + | by: | ||
| + | |||
| + | < | ||
| + | start on filesystem | ||
| </ | </ | ||
| Ligne 94: | Ligne 116: | ||
| # *.=debug; | # *.=debug; | ||
| # *.=notice; | # *.=notice; | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Tweak ssh configuration ===== | ||
| + | |||
| + | In ''/ | ||
| + | |||
| + | < | ||
| + | # replaces SSHD_OOM_ADJUST in / | ||
| + | #oom never | ||
| </ | </ | ||
| ===== Create the console device ===== | ===== Create the console device ===== | ||
| - | Missing of ''/ | + | Missing of ''/ |
| < | < | ||
| - | # mknod --mode=600 / | + | 19:57 <@Bertl> well, regarding |
| + | | ||
| + | 19:58 < | ||
| + | | ||
| </ | </ | ||
| + | |||
| + | I use '' | ||
| + | |||
| + | < | ||
| + | # mknod --mode=600 / | ||
| + | </ | ||
| + | |||
| + | |||
| + | If you want to troubleshot from outside the vserver you can use for example '' | ||
| + | |||
| + | < | ||
| + | # mknod --mode=600 / | ||
| + | </ | ||
| + | |||
| ===== Install dbus ===== | ===== Install dbus ===== | ||
tof/computer/vserver/upstart_ubuntu_lucid.1276089112.txt.gz · Dernière modification : 09/06/2010 15:11 de Christophe Boyanique
