| | 1 | = Install a vserver = |
| | 2 | |
| | 3 | Place holder... |
| | 4 | |
| | 5 | {{{ |
| | 6 | 0 ottorene:~# lvcreate --name zimmerman_root --size 1G vg_ottorene0 |
| | 7 | Logical volume "zimmerman_root" created |
| | 8 | 0 ottorene:~# mkfs -t ext3 /dev/mapper/vg_ottorene0-zimmerman_root |
| | 9 | mke2fs 1.41.2 (02-Oct-2008) |
| | 10 | Filesystem label= |
| | 11 | OS type: Linux |
| | 12 | Block size=4096 (log=2) |
| | 13 | Fragment size=4096 (log=2) |
| | 14 | 65536 inodes, 262144 blocks |
| | 15 | 13107 blocks (5.00%) reserved for the super user |
| | 16 | First data block=0 |
| | 17 | Maximum filesystem blocks=268435456 |
| | 18 | 8 block groups |
| | 19 | 32768 blocks per group, 32768 fragments per group |
| | 20 | 8192 inodes per group |
| | 21 | Superblock backups stored on blocks: |
| | 22 | 32768, 98304, 163840, 229376 |
| | 23 | |
| | 24 | Writing inode tables: done |
| | 25 | Creating journal (8192 blocks): done |
| | 26 | Writing superblocks and filesystem accounting information: done |
| | 27 | |
| | 28 | This filesystem will be automatically checked every 23 mounts or |
| | 29 | 180 days, whichever comes first. Use tune2fs -c or -i to override. |
| | 30 | 0 ottorene:~# echo /dev/mapper/vg_ottorene0-zimmerman_root /var/lib/vservers/zimmerman ext3 defaults 0 2 >> /etc/fstab |
| | 31 | 0 ottorene:~# mkdir /var/lib/vservers/zimmerman |
| | 32 | 0 ottorene:~# mount /var/lib/vservers/zimmerman |
| | 33 | 0 ottorene:~# vserver zimmerman build -m debootstrap --context 101 --hostname zimmerman --interface eth0:209.234.253.170/27 --initstyle plain -- -d lenny -m http://ftp.us.debian.org/debian -- --include less,psmisc,lsof,socat,emacs22-nox,emacs22-bin-common,emacs22-common,liblockfile1,emacsen-common,bsdmainutils,locales --keyring=/usr/share/keyrings/debian-archive-keyring.gpg |
| | 34 | }}} |