Schnellzugriff » 
Home 
Linux / Unix « Previous Entries

wget untar on the fly

Freitag, Januar 21st, 2011

Downloading and extracting large tarballs usually takes plenty of time. Extracting tarballs during the their transfer reduces the waiting time because you a) don’t need to do wait for the transfer to finishes before starting the extraction and b) the machine doesn’t have to read the tarball from the disk while simultaneously writing to it.
One [...]

Posted in Administration, Linux / Unix | Kommentare deaktiviert>

Converting MBR Partition Tables to GPT

Donnerstag, September 23rd, 2010

MSDOS MBR Partition Tables make it impossible to use Partitions larger than 2 TiB. This is a pitfall you maybe will be faced with after expension of a RAID array. The only solution is to convert the MBR Partition Table to GPT (GUID Partition Table).
This can be done quite easily by using GPT fdisk.
GPT fdisk [...]

Posted in Administration, Linux / Unix | 1 Comment »>

Solr Multicore: Installation, Configuration

Donnerstag, September 9th, 2010

If you start Solr with the default configuration, there will be only one instance running. That’s enough if you have only one website which you want to index but if you have several websites, you probably don’t want them to share an index as you then would get search results from both websites.
Luckily Solr already [...]

Posted in Administration, Linux / Unix, Solr | Kommentare deaktiviert>

Redmine, Apache, Subversion: Could not read status line

Donnerstag, September 9th, 2010

If you use a combination of Redmine.pm, Apache and SVN and are wondering about error messages telling you "COPY of ‘foobar’ : Could not read status line: connection was closed by server" or "COPY of ‘foobar’ : Could not read status line: secure connection truncated" you probably will want to switch to apache2-mpm-prefork to get [...]

Posted in Administration, Linux / Unix, redmine | 1 Comment »>

How-to: Debian: Automatically mounted loopback images with dm-crypt, LUKS, pam_mount

Donnerstag, Juni 17th, 2010

How to create encrypted loopback images with dm-crypt and LUKS + automatically mounting them after login with pam_mount
I recommend using debian squeeze for this scenario as lenny includes a very old version of libpam-mount and I had lots of problems when I tried using it.
Using only the libpam-mount package and its dependencies from squeeze maybe [...]

Posted in Administration, Linux / Unix, Sicherheit | Kommentare deaktiviert>

Debian Lenny: pam_mount, files and loop devices

Donnerstag, Juni 17th, 2010

When I was trying to automatically mount an encrypted image at login using pam_mount, I encountered a strange problem:
I wasn’t able to find any errors in my configuration (at least none connected to this behaviour), but mount.crypt was unable to mount the image.
Enabling debugging in pam_mount.conf.xml (<debug enable="1" />) revealed the command used for mounting:
pam_mount(misc.c:272) [...]

Posted in Administration, Linux / Unix | Kommentare deaktiviert>

suPHP und PHP Opcode Caches

Samstag, August 29th, 2009

Eigentlich ist suPHP eine nette Sache. Das Apache Modul mod_suphp sorgt in Kombination mit einem SetUID Binary dafür, dass PHP-Skripte mit den Berechtigungen des Benutzers, dem sie gehören, ausgeführt werden. Damit das funktioniert muss man in Binär-Distributionen wie etwa Debian Linux nicht mehr tun, als dass Modul zu installieren, einen Blick auf dessen Konfiguration zu [...]

Posted in Linux / Unix, PHP, Webserver | Kommentare deaktiviert> « Previous Entries

© 2007 - 2009 Thorsten Boock