Changes between Version 5 and Version 6 of install_debian_extras
- Timestamp:
- Nov 20, 2007, 7:51:57 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
install_debian_extras
v5 v6 139 139 140 140 {{{ 141 $ sudo apt -getinstall dmsetup cryptsetup141 $ sudo aptitude install dmsetup cryptsetup 142 142 }}} 143 143 144 144 * Create an encrypted file system for members: 145 145 146 * Now, unmount the partition (make sure there is no data on it that you care about).146 * Create the encrypted filesystem (be sure to switch to use which ever device you are using): 147 147 148 148 {{{ 149 $ sudo umount /home/members 150 }}} 151 152 * Create the encrypted filesystem: 153 154 {{{ 155 $ cryptsetup luksFormat /dev/mapper/vg_NAMEOFSERVER0-members 149 $ cryptsetup luksFormat /dev/sda5 156 150 }}} 157 151 … … 161 155 162 156 {{{ 163 echo crypt_members /dev/ mapper/vg_NAMEOFSERVER0-membersnone luks >> /etc/crypttab157 echo crypt_members /dev/sda5 none luks >> /etc/crypttab 164 158 }}} 165 159 … … 176 170 }}} 177 171 178 * Remove cryptdisks from the rc2.d directory - we do not want this to start automatically on boot! Instead we want to start it manually so the boot process doesn't hang waiting for a password. 172 * Add to fstab: 173 174 {{{ 175 echo /dev/mapper/crypt_members /home/members ext3 defaults 0 2 >> /etc/fstab 176 }}} 177 178 * Mount 179 180 {{{ 181 mount /home/members 182 }}} 179 183 180 184 == Add Nagios logging ==