apt-listchanges

apt-listchanges is a small tool which shows changelog entries for Debian packages. You can install it from the repositories: aptitude install apt-listchanges In case you ever want to make changes to its configuration: dpkg-reconfigure apt-listchanges If configured correctly every aptitude upgrade will now show the corresponding changelogs for each package with the option to abort install. It’s even possible to mail the changelogs to a provided email address.

June 10, 2013

create and enlarge logical volume

lvcreate -L4G --name=disk vg0 mkfs.ext4 /dev/vg0/disk lvextend -L200G /dev/vg0/disk e2fsck -f /dev/vg0/disk resize2fs /dev/vg0/disk

June 7, 2013

Cuddle: bash download manager

I’ve always been looking for a command-line based download manager but the few available solutions didn’t satisfy my requirements. Today I stumbled upon Cuddle which code is somewhat old (files on SourceForge are from 2007) but seems to be the most simple and usable tool I have seen so fare. Cuddle makes use of Wget , provides a download queue, supports multiple downloads and allows the usage of wgets limit-rate feature....

June 7, 2013

Hetzner, Debian 7.0 Wheezy, Xen, LVM, Routing, zusätzliche IP-Adressen

## im Rescuesystem von Hetzner installimage #ruft den Installer von Hetzner auf # dort dann Debian > Debian-70-wheezy-64-minimal auswaehlen # folgende Config fuer Software-RAID 1 mit LVM verwenden DRIVE1 /dev/sda DRIVE2 /dev/sdb SWRAID 1 SWRAIDLEVEL 1 BOOTLOADER grub HOSTNAME HIER_NAME_EINSETZEN PART /boot ext2 512M PART lvm vg0 all LV vg0 root / ext4 50G LV vg0 swap swap swap 4G IMAGE /root/.oldroot/nfs/install/../images/Debian-70-wheezy-64-minimal.tar.gz # den Editor verlassen (zweimal Escape und abspeichern), dann wird installiert # danach reboot und login mit den Credentials vom Rescuesystem # (eventuell muss man ssh-keygen -f "/home/user/....

June 4, 2013

mount: unknown filesystem type 'LVM2_member'

root@server7 ~ # mount /dev/md1 /mnt/ mount: unknown filesystem type 'LVM2_member' root@server7 ~ # modprobe dm-mod root@server7 ~ # lvmdiskscan root@server7 ~ # vgchange -ay 2 logical volume(s) in volume group "vg0" now active root@server7 ~ # lvscan ACTIVE '/dev/vg0/root' [50.00 GiB] inherit ACTIVE '/dev/vg0/swap' [4.00 GiB] inherit root@server7 ~ # mount /dev/vg0/root /mnt/ root@server7 ~ #

June 4, 2013

Debian Sources List Generator

http://debgen.simplylinux.ch deb http://ftp.de.debian.org/debian stable main contrib non-free deb-src http://ftp.de.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://security.debian.org/ wheezy/updates main contrib non-free

June 2, 2013