Showing posts with label dd. Show all posts
Showing posts with label dd. Show all posts
Friday, 24 May 2013
Wednesday, 22 May 2013
LVM crypt disks on Linux/AWS
- dd if=/dev/urandom of=/keys/xvdm.key bs=1024 count=4
- dd if=/dev/urandom of=/keys/xvdn.key bs=1024 count=4
- cryptsetup --verbose -y luksFormat /dev/xvdm /keys/xvdm.key
- cryptsetup --verbose -y luksFormat /dev/xvdn /keys/xvdn.key
- cryptsetup luksOpen /dev/xvdm cryptm --key-file /etc/xvdm.key
- cryptsetup luksOpen /dev/xvdn cryptn --key-file /etc/xvdn.key
- pvcreate /dev/mapper/cryptm /dev/mapper/cryptn
- Add entries to /etc/crypttab for reboots and test somehow
- cryptm /dev/xvdm /etc/xvdm.key luks
- cryptn /dev/xvdn /etc/xvdn.key luks
Complete LVM setup and add entries to /etc/fstab.
Hint: don't make one, single typo...ever.
Thursday, 14 March 2013
Subscribe to:
Posts (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
CRITICAL: AWS now offers internal VPC DNS! Below is no longer necessary AFAIK. Woo hoo! http://aws.amazon.com/about-aws/whats-new/2014/...
-
build sudo apt-get install git gcc sudo apt-get install automake autoconf git clone git://github.com/rriley/tsunami-udp.git cd tsunam...
-
From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c4 Assumptions: jEdit was installed into /Applications directory. Close any...