LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


I leave notes here that I find particularly worth remembering myself.
Old

Multipath on Debian Lenny and Intel Modular Server (MFSYS25)

Posted 08-16-2010 at 03:56 AM by bittner (Notes on Linux)
Updated 09-13-2010 at 05:33 AM by bittner (added link to FAI discussion)

The Intel Modular Server is a complete server system designed to simplify a complex fail-safe IT environment. One characteristic is that it provides virtual disks and two storage controllers for redundancy. Systems that use those virtual disks have two physical paths to access their disk(s). (NOTE: This is not a RAID solution against disk defects, but safeguards against a breakdown of a storage controller!)

When you install and boot Linux on such a machine you will see both paths...
LQ Newbie
Posted in Uncategorized
Views 14082 Comments 0 bittner is offline
Old
Rating: 3 votes, 3.67 average.

Howto fix long boot delay with "Starting MTA:" (Common Issue)

Posted 06-10-2010 at 01:20 PM by bittner (Notes on Linux)
Tags debian, exim4, mta

A common issue when setting up servers in a lab is that the Mail Transfer Agent (MTA) delays the boot process waiting for a very long timeout. In the forums on the web this reads as ...
  • "boot process slow when 'Starting MTA' offline"
  • "Can I get rid of MTA?"
  • "Starting MTA delay"
  • "I see a line saying Starting MTA: It takes ages until Debian comes."

The issue is typically related to an unsuccessful reverse DNS lookup that the Mail Transfer Agent...
LQ Newbie
Posted in Uncategorized
Views 46806 Comments 0 bittner is offline
Old

Howto automate interactive Debian package installations (debconf preseeding)

Posted 06-08-2010 at 08:44 AM by bittner (Notes on Linux)
Updated 06-08-2010 at 07:59 PM by bittner

Fully automatic installations make sense when you need to install a vast number of machines. For Debian (but not limited to it) there is the FAI project that helps you with those kind of undertakings.

When FAI uses Debian packages (i.e. .deb files) for installation the automatic installation process gets into trouble when such a package asks for manual configuration interactively. Really, this is not specific to FAI: The Debian installer (the installation wizard guiding you through...
LQ Newbie
Posted in Uncategorized
Views 9783 Comments 0 bittner is offline
Old

Shortest command to calculate the sum of a column of output

Posted 06-02-2010 at 07:27 AM by bittner (Notes on Linux)

I had to calculate the Installed-Size for a .deb control file recently. Here is the solution I came up with:

Code:
dpkg-deb -c mypackage.deb | sed -e 's/.*root\s*//' -e 's/\s*2010-.*$//' | xargs | tr ' ' + | bc
What it does? The code tries to construct a calculation string and feeds it to the command line calculator bc as follows:
  1. use dpkg-deb to get the file size information out of the Debian package
  2. sed away all characters before and after the
...
LQ Newbie
Posted in Uncategorized
Views 7756 Comments 2 bittner is offline
Old

Howto build your own Debian repository

Posted 06-01-2010 at 06:04 AM by bittner (Notes on Linux)
Updated 06-07-2010 at 08:08 AM by bittner (added reference (background reading))

If you write software for Linux and you write them for Debian systems (Debian, Ubuntu, and others) you may want to provide your software as .deb installation packages. And one day eventually you will want to set up a repository so others can download and install your software without fuzz.

If you look at a Debian mirror (e.g. http://ftp.debian.org/debian/) you will find out one day that packages and meta information is split up into two main directories on the root level:
  • dists
...
LQ Newbie
Posted in Uncategorized
Views 19613 Comments 1 bittner is offline

  



All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration