you probably didn't install libapache2-mod-php5: sudo apt-get install libapache2-mod-php5
Category: Linux
Splitting and joining tar archives
This is just a note to myself about splitting a tar archive into multiple smaller files on the fly and joining them again. It's based on this answer to this question on stackoverflow. # create archives $ tar cz . | split -b 100GiB - /mnt/8TB/backup.tgz_ This uses the tar command to create a gzip-ed … Continue reading Splitting and joining tar archives
SyncThing as an alternative to BitTorrentSync (btsync)
A while ago I blogged about using BitTorrentSync as a privacy conscious alternative to the more popular cloud services like Google Drive or DropBox. BitTorrent recently released btsync version 2 which, apart from trying to sell you a so called PRO version, changed the user interface yet again and also changed the way you set … Continue reading SyncThing as an alternative to BitTorrentSync (btsync)
On expiring Dirvish images
Dirvish is a backup solution for Linux (and probably other unixoid OSes). I use it to make a daily backup of one server to a different server located in a different building (it's not the only backup solution we use but the most convenient one because we can access these files easily). Once set up, … Continue reading On expiring Dirvish images
mounting a Samba share
The Linux mount command can also access Samba (Windows) shares, but in contrast to the smbclient command it does not do a Netbios based lookup for machine names. So while smbclient //server/share will work, the corresponding mount -t cifs //server/share /mnt/point will tell you that it can't resolve the host name (unless you add the … Continue reading mounting a Samba share
Creating a new RAID 5
Another reminder to myself, so I don't forget it again. Warning: Use this on your own risk! You might lose all the data stored on any of the hard disk drives if you make a mistake! To create a new raid, all the disks must be partitioned first. To actually create the RAID we need … Continue reading Creating a new RAID 5
Using parted to partition a drive
This is just a reminder to myself so I don't forget again. Warning: Use this on your own risk! You might lose all the data stored on any of the hard disk drives if you make a mistake! On Linux hard drives > 2 GB must be partitioned with parted and a partition table in … Continue reading Using parted to partition a drive
Using a bar code scanner? Watch out for your keyboard layout!
We are using a bar code scanner to scan the serial numbers of all hard disk drives we buy. This is supposed to make it easier and less error prone to put them into an Excel list for tracking their whereabouts (we use quite a lot of drives for storing video data). Of course, when … Continue reading Using a bar code scanner? Watch out for your keyboard layout!
headless server fun
A new Ubuntu based server I have set up recently had a power failure which unexpectedly resulted in the box not booting again. There were actually two problems: fsck failed on the data mount because one of the data drives apparently had failed. It took forever but eventually prompted for user input "S" to skip … Continue reading headless server fun
Bittorrent Sync, a secure DropBox alternative
The company I work for recently had the requirement to securely exchange files between several computers, some on site, several others off site. This data consisted in part of sensitive data which is covered by the German Bundesdatenschutzgesetz. Somebody suggested using DropBox because it is so simple to use. I had to deny this request … Continue reading Bittorrent Sync, a secure DropBox alternative