Page 1 of 212

Color in bash

This is the line defining my bash prompt in .bashrc, using some colors:

PS1=’\[\e[0;32m\][\u@\H\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m\]]\[\e[1;32m\]\$\[\e[m\] \[\e[0m’

This is what my prompt looks like:

If I’m not wrong, the characters in bold give the content of the prompt, the other ones are color-codes.

I currently haven’t found out how to use this prompt by default for all users, even existing . . . → Read More: Color in bash

Installing Archlinux with software raid1, encrypted filesystem and LVM2

On the web, you’ll find how to setup ArchLinux with LVM, or with RAID, or with encryption, but not with the combination of these three technologies.  This article explains the different steps I took to setup these three technologies with ArchLinux.

Required skills:

Sound understanding of Linux (ArchLinux specifics may be useful…) and raid, lvm2, partitioning, encryption.

The story

During . . . → Read More: Installing Archlinux with software raid1, encrypted filesystem and LVM2

My experience with Arch Linux x86_64

My laptop currently runs the 64-bit version of Arch Linux.

The last time (some years ago, I must admit) I tried to run a 64-bit Linux distribution, I was disappointed by the issues that existed with some Firefox plugins, Skype and some other 32-bit applications.

Some weeks ago, as I had to reinstall my laptop and thought it’s . . . → Read More: My experience with Arch Linux x86_64

My Arch Linux configuration files

As most of you probably don’t know, my prefered Linux distro is Arch Linux.  I use it on almost every computer I have:

On my desktop computer (Intel Core 2 Duo with embedded Intel Graphics Card)
On my laptop (Acer 5920G)
On my server (AMD Athlon X2) – a virtualized instance of Arch Linux
On my girlfriend’s laptop (Asus M51SE) . . . → Read More: My Arch Linux configuration files

VirtualBox setuid/packaging error

If you encounter the following error running VirtualBox as a user under openSUSE: Error -10 in SUPR3HardenedMain, then execute chkstat -set /etc/permissions.easy to set correct file permissions on the VirtualBox . . . → Read More: VirtualBox setuid/packaging error

Arch Linux: faster pacman

Instead of using pacman,I use pacman-color.
Instead of using pacman-color, I use powerpill.
Instead of using powerpill, I use yaourt.
Well, that’s the chain of wrappers around pacman I use:
yaourt->powerpill->pacman-color->pacman

This provides colorized output and parallel (thus faster) package downloads.

Simply change in /etc/yaourtrc:
PacmanBin = /usr/bin/powerpill
and in /etc/powerpill.conf:
PacmanBin = . . . → Read More: Arch Linux: faster pacman

Show icons in Fedora 12 / Gnome 2.28 menus

gconftool-2 –type boolean –set /desktop/gnome/interface/buttons_have_icons true
gconftool-2 –type boolean –set /desktop/gnome/interface/menus_have_icons . . . → Read More: Show icons in Fedora 12 / Gnome 2.28 menus

Endian Firewall Community 2.3

This week-end, I managed to reconfigure my complete home network to use a virtualized instance of Endian Firewall 2.3 Community.  And it rocks.

You simply download the ISO file, install it in a new VM, connect to its web interface, and that’s all.  Or almost.  I think even people without much knowledge of TCP/IP would be able . . . → Read More: Endian Firewall Community 2.3

Eclipse 3.5.1 strange button behaviour on Linux

To solve Eclipse 3.5.1′s strange button behaviour in wizard on Linux, execute:

export GDK_NATIVE_WINDOWS=true

before launching eclipse or add it to . . . → Read More: Eclipse 3.5.1 strange button behaviour on Linux

First part of LPIC 1 passed!

Yesterday (July 23rd, 2009) I took and passed the LPI Level 1 Exam 101, with a global score of 580 (from min 200 to max 800, required passing score 500).

Here are my results for the different topics

System Architecture: 75%
Linux Installation and Package Management: 72%
GNU and Unix Commands: 57%
Devices, Linux Filesystems, Filesystem Hierarchy Standard: 80%

There’s a second . . . → Read More: First part of LPIC 1 passed!

Page 1 of 212