Changes between Version 20 and Version 21 of install_debian
- Timestamp:
- Oct 3, 2007, 4:31:19 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
install_debian
v20 v21 72 72 * Choose "Congifure LVM" 73 73 74 * Create a volume group called vg_nameofserver075 76 * Create logical volumes in this volume group based on your needs. A dom0 will only need a 1GB root partition. A "normal" server might need a 1 GB root, 3GB /usr, 5 GB /varand 512 MB swap.74 * Create a volume group called `vg_`''nameofserver''`0` 75 76 * Create logical volumes in this volume group based on your needs. A `dom0` will only need a 1GB root partition. A "normal" server might need a 1 GB root, 3GB `/usr`, 5 GB `/var` and 512 MB swap. 77 77 78 78 * After returning to the main disk config menu, click on each logical volume that you create and specify how it should be formatted and mounted. … … 103 103 104 104 {{{ 105 # aptitude install ssh ntp date ntp-serverless emacs21-nox cron-apt iproute105 # aptitude install ssh ntp less emacs21-nox cron-apt iproute 106 106 }}} 107 107 … … 117 117 }}} 118 118 119 * Configure ssh to only accept connections with auth keys (unless this is a server that should be accessible by members). Edit /etc/ssh/sshd_config and uncomment/change th is line:119 * Configure ssh to only accept connections with auth keys (unless this is a server that should be accessible by members). Edit /etc/ssh/sshd_config and uncomment/change these lines: 120 120 121 121 {{{ 122 122 PasswordAuthentication no 123 ChallengeResponseAuthentication no 123 124 }}} 124 125 … … 181 182 }}} 182 183 183 * Add the following lines after the timeout line in /boot/grub/menu.1st184 * Add the following lines after the timeout line in `/boot/grub/menu.1st` 184 185 185 186 {{{ … … 191 192 192 193 {{{ 193 # kopt=root=/dev/m d0ro194 # kopt=root=/dev/mapper/vg_servername0-root ro 194 195 }}} 195 196 … … 197 198 198 199 {{{ 199 # kopt=root=/dev/m d0ro console=ttyS0,115200n8200 }}} 201 202 Refresh grub :203 204 {{{ 205 $update-grub206 }}} 207 200 # kopt=root=/dev/mapper/vg_servername0-root ro console=ttyS0,115200n8 201 }}} 202 203 Refresh grub's config file: 204 205 {{{ 206 # update-grub 207 }}} 208