Skip to content

Instantly share code, notes, and snippets.

@InformatiQ
InformatiQ / debootstrapvm
Created February 7, 2013 10:34
creating a debian VM
* qemu-img create -f raw debian-disk.raw 8G
* fdisk debian-disk.raw
** create 1 primary partition
* kpartx -av debian-diak.raw
* mkfs.ext3 /dev/mapper/$disk
* mount /dev/mapper/$disk /mnt/debian
* debootstrap wheezy /mnt/debian
* chroot /mnt/debian
* apt-get install grub2 vim linux-image-amd64 udev openssh-server
* create fstab
APT::Get::Assume-Yes "true";
APT::Get::force-yes "true";
Acquire::https {
Verify-Peer "false";
Verify-Host "false";
}
dpkg-source -x mplayer_version-revision.dsc
# adhoc
* put all debs in a folder
* dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
# mini-dinstall
* http://wiki.freegeek.org/index.php/Debian_Package_Repositories
# reprepro
* http://www.debian-administration.org/articles/286
### Keybase proof
I hereby claim:
* I am informatiq on github.
* I am rhanna (https://keybase.io/rhanna) on keybase.
* I have a public key whose fingerprint is 04D0 FD94 F589 DC1F EF4A 699B 5FAD E117 27D5 B74D
To claim this, I am signing this object:
librato -- failed to send metrics : Did not recognize your adapter specification (libruby-1.9.1.so.1.9: cannot open shared object file: No such file or directory - /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext/parser.so).\n
/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:13:in `<module:Ext>'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:12:in `<module:JSON>'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/json-1.8.1/lib/json/ext.rb:9:in `<top (required)>'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'\n
\t/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/multi_json-1.10.1/lib/multi_json/adapters/json_gem.rb:1:in `<top (requi
# Pitch Perfect
## Content
A pitch is not a presentation. In a presentation your audience are there to listen and have been prepared to spend time listening to you and only you, while in a pitch you are fighting for their attention and a place in their memory. Your pitch will hopefully last for more than one minute, but you do not get more than one minute to convince them to listen to you further.
* Less is more
The longer you talk the less attention you get.
Get the most important points across in the first minute.