#29 Installing a Samsung ML-2525W on Linux (February 14, 2012)
I've just successfully installed a printer Samsung ML-2525W on two Linux machines (Debian and Ubuntu).
Here is what I did. >>> read more
#28 Running mldonkey-server in headless server and bittorrent mode (February 11, 2012)
Here is a small howto (for Linux/Debian/Ubuntu) to set up mldonkey to serve large files (to "seed" files on a "seedbox" in the P2P terminology), for instance to seed scientific datasets . >>> read more
#27 Backing-up a Gmail IMAP account (January 23, 2012)
To backup an IMAP account (e.g. Gmail on imap.gmail.com), mbsync (from the isync software package) is a very good solution.
It backs-up all emails in a Maildir directory.
Prerequisite
Install isync: $ aptitude install isync
Configuration file
Create a file .mbsyncrc in your home directory. >>> read more
#26 Lightweight estimation of disk misalignment performance penalty (January 16, 2012)
Modern disks have a physical sector size that is larger than 512B, but the software chain (BIOS, OS, partitioning tools) generally assumes a sector size of 512B. As a result, first, I/O requests that are smaller than the physical sector size are actually translated to larger requests. >>> read more
#25 Notes on network printing with cups (December 01, 2011)
Cups is a printing software system that supports network printing. For instance, if a machine Timoleon is connected to a USB printer, one can access Timoleon over the network to print on the USB printer. The network printing facility also holds for network printers. >>> read more
#24 Installing Debian on Amazon EC2 (November 05, 2011)
It is not straightforward to install a Debian server on Amazon EC2. Indeed, Amazon provides as quick start Red Hat Linux, Suse Linux and their own Amazon Linux but not Debian linux.
Fortunately, RightScale provides a very good public AMI image of Debian Squeeze (the latest stable version of Debian). >>> read more
#23 A bug on linux for jmdns (August 26, 2011)
Here is a description of a bug I encountered while working with jmdns.
Problem
Aug 26, 2011 12:16:52 AM javax.jmdns.impl.HostInfo newHostInfo
WARNING: Could not intialize the host network interface on nullbecause of an error: beethoven: beethoven
java.net. >>> read more
#22 Linux on a DELL Latitude E4200 (August 02, 2011)
I run GNU/Linux (Debian/Ubuntu) on my DELL Latitude E4200.
Graphics
Graphics works perfectly with the "intel" driver of xorg. >>> read more
#21 Precisely measuring the maximal disk latency (July 12, 2011)
See also http://www.monperrus.net/martin/performance-of-amazon-elastic-block-store
The maximal end-to-end latency of a hard-drive is achieved with accessing a random sector (it includes transfer time). The program seeker.c published at http://www.linuxinsight.com/how_fast_is_your_disk. >>> read more
#20 Scheduler queue size and resilience to heavy IO (July 11, 2011)
My server regularly stalled, freezed and sometimes crashed under heavy write accesses (open-iscsi on root filesystem). I solved the problem by changing the scheduler and increasing the maximal I/O queue size (nr_requests). >>> read more
#19 IO scheduling for san and virtualization (July 10, 2011)
I recently encountered performance and reliability problems using iSCSI. One of the most efficient solutions was to set the I/O scheduler to "noop". Noop is the simplest elevator/scheduler in Linux. >>> read more
#18 Heads and sectors for partition alignment (July 01, 2011)
There are many cases where aligning the disk partitions yields better perfomance, for instance for database partitions, solid-state disks (SSD), and SAN storage with iSCSI. Here is the result of my Googling on this topic. >>> read more
#17 Performance of read-write throughput with iscsi (June 14, 2011)
I recently encountered some performance issues using iSCSI. I use the open-iscsi implementation on the client side. After hours of googling and trial and errors, here are some points related to the performance of iSCSI. >>> read more
#16 export animations to pdf in libreoffice-openoffice (May 22, 2011)
ExpandAnimations is a LibreOffice/OpenOffice.org extension to expand animations before exporting to PDF.
It is a fork of an excellent macro written by Matthew Neeley (see http://markmail.org/message/ewe336yoe6iennsf and https://gist.github.com/977752). >>> read more
#15 troubleshooting gnome-power-manager and gnome-power-preferences (March 26, 2011)
On a Gnome desktop on Linux, gnome-power-manager is responsible for handling battery events and physical events (laptop lid closed, power button pressed, etc). The tool gnome-power-preferences configures it.
In recent versions, gnome-power-* is built on top of Upower. >>> read more
#14 Performance of key-value databases with php (August 03, 2010)
I discovered recently the old key-value database paradigm and I am quite convinced. But what about the performance of different implementations? This document presents a comparison in the context of PHP. >>> read more
#13 Linux swap space on a regular file (June 22, 2010)
1/ creating the swap file of 512M (the size is set by parameter "count")
$ dd if=/dev/zero of=/swap count=1000000 2/ configuring as swap
$ mkswap /swap
3/ Adding "/swap none swap loop 0 0" to the file /ect/fstab
4/ Mounting the swap file. >>> read more
#12 Inquiry into a complex bug involving Xorg-Intel-Linux (June 21, 2010)
This document is a complete analysis of a challenging bug related to Xorg, an Intel graphics card and Linux. >>> read more
#11 backup from ext3 to vfat with qcow2 images (November 28, 2009)
It's difficult to backup data if the target filesystem of your backup is vfat (e.g. on the external hard drive of your sister), and the source is ext3. The reason is that vfat has much less features compared to ext3 (e.g. the group information). >>> read more
#10 backup from ext3 to vfat with rsync (November 16, 2009)
Rsync is great for backuping data. However, it requires some advanced options to get a smooth backup from an ext3 filesystem to a vfat/fat16/fat32 one (e.g. >>> read more
#9 using dejavu fonts with x11-xorg (September 11, 2009)
This document presents how to use DejaVu fonts with x11:
1. Ensure that the freetype module is loaded by X (Load "freetype" in the section "Module" of xorg.conf)
2. Add the directory containing the TTF files of Dejavu (FontPath "/usr/share/fonts/truetype/ttf-dejavu" in the section "Files")
3. >>> read more
#8 using computer modern type1 fonts with openoffice on linux (June 26, 2009)
You may want to use "Computer Modern" fonts with OpenOffice.org on Linux for several reasons:
* to have a latex look'n'feel
* to produce PDF files that only contain Type1 fonts (see http://cadlab.cs.ucla.edu/~kohcc/sigdacdrom/instruct/fonts. >>> read more
#7 report on using kvm for virtualization on linux (March 31, 2009)
I use kvm for running Windows XP on Linux and I am very happy :-) For me, it is the first fully satisfying virtualization experience.
First KVM is extremely fast, from the viewpoint of the virtual system (i.e. >>> read more
#6 lightweight powersave on linux with udev and cpufreq-set (March 28, 2009)
There is a number of tools to save power on Linux by throttling the CPU(s). Some are daemon based for example cpufreqd, powernowd, powersaved, cpudyn. Some are desktop based for example kpowersave or gnome-power-manager. >>> read more
#5 uploading files with curl and php (February 05, 2009)
To upload files with PHP from the command-line, you can use curl as follows.
curl -v -F filepassword=@myfile.png http://www.domain.com/upload.php
The equivalent HTML form is:
<form method="post" enctype="multipart/form-data" action="upload. >>> read more
#4 automounting usb flash drives on linux with udev and pmount (December 12, 2008)
Here is a solution for automounting usb flash drives / memory sticks on linux using only udev and pmount.
1. add a file automount.rules in /etc/udev/rules.d.
2. >>> read more
#3 Desktop search - a comparison of tools that crawl and extract and index your personal data on Linux (November 29, 2008)
I have been needing a desktop search software for a long time. There are many tools for that, but I could not figure out which one is the best. That's why I made this comparison. I mainly found that beagle is the best one. >>> read more
#2 Linux on a DELL Latitude E5400 (November 22, 2008)
I currently have a Dell Latitude E5400, and run Linux on it.
Graphics
(OK with default installation of Ubuntu 8.1 Intrepid)
Graphics works perfectly with the "intel" driver of xorg (at least as of X.Org version 1.4.2). >>> read more
#1 How to make any tunnel via any proxy (August 23, 2007)
Table of Contents
1. Problem
2. Motivations
3. Scheme of resolution
4. Tools used
5. Parameters
6. Solutions
6.1. Assistantless
6.2. With assistant
6.2.1. SSH access on assistant (you do not need to be root)
6.2.2. Root access on assistant
6.2.3. >>> read more