Changes between Version 5 and Version 6 of install_debian_extras


Ignore:
Timestamp:
Nov 20, 2007, 7:51:57 PM (18 years ago)
Author:
Jamie McClelland
Comment:

updating to reflect the new method (based on xen domU's)

Legend:

Unmodified
Added
Removed
Modified
  • install_debian_extras

    v5 v6  
    139139
    140140{{{
    141 $ sudo apt-get install dmsetup cryptsetup
     141$ sudo aptitude install dmsetup cryptsetup
    142142}}}
    143143
    144144 * Create an encrypted file system for members:
    145145
    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):
    147147
    148148{{{
    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
    156150}}}
    157151
     
    161155
    162156{{{
    163 echo crypt_members /dev/mapper/vg_NAMEOFSERVER0-members none luks >> /etc/crypttab
     157echo crypt_members /dev/sda5 none luks >> /etc/crypttab
    164158}}}
    165159
     
    176170}}}
    177171
    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{{{
     175echo /dev/mapper/crypt_members /home/members ext3 defaults 0 2 >> /etc/fstab
     176}}}
     177
     178 * Mount
     179
     180{{{
     181mount /home/members
     182}}}
    179183
    180184== Add Nagios logging ==