ownCloud webdav auth on apache with php FCGId

If you’re running ownCloud on a server with FCGId you might wonder why login to the web interface work flawlessly but your sync client keeps saying that the provided credentials aren’t correct. The problem is, that the webdav auth done via remote.php (this is actually used by the sync client) is not able to process the credentials because of FCGId. The following .htaccess in the root folder fixed this problem for me, you need to enable mod_rewrite for this to work....

June 25, 2013 · 1 min

byobu

byobu basically is a wrapper for screen or tmux and is available via the repositories. You don’t have to mess around with the various screen/tmux options anymore since byobu provides an easy to use interface. Added bonus: byobu displays status notifications like time, RAM usage or uptime in its footer. One can add or remove more notifications by pressing F9 and selecting “Toggle status notifications”.

June 20, 2013 · 1 min

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 · 1 min

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 · 1 min

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 · 1 min

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 · 2 min

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 · 1 min

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 · 1 min