After upgrading Centos to 6.6, you may find that your eclipse crashes on opening any file.
Try opening eclipse using command line (console), and when it crashes, you may see an error similar to this:-

eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.

I was using Eclipse Luna, and this issue could happen with prior versions too. So, edit eclipse.ini Read More →

This HOWTO explains how to create a Gentoo Linux LiveUSB or, in other words, how to emulate an x86 or AMD64 Gentoo Linux LiveCD using a USB flash drive.


1 Introduction

1.1 The LiveUSB
1.2 Using dd command
1.3 Prerequisites

2 Preparing the USB flash drive (Manual Mode)

2.1 Partitioning the drive
2.2 Creating the filesystem
2.3 Installing a Master Boot Record

3 Copying Read More →

Suite à un petit challenge, je me suis intéressé aux différents outils qui existent sur la toile permettant de cracker une clé RSA (d’une longueur modeste bien sûr). Je ne vais pas revenir sur les principes fondamentaux de la cryptographie à clé asymétrique, vous trouverez sur Internet bien assez de tutoriels qui vous expliqueront en Read More →

Nous souhaitons retrouver au sein de notre arborescence, un ou plusieurs fichiers. Les commandes locate, find et which vont nous permettre d’effectuer cette tâche. On évoquera également leurs différences et la manière dont elles opèrent.
La commande locate permet de trouver très rapidement un fichier. Contrairement à ce que l’on pourrait penser locate ne vas pas Read More →

Introduction à l'ordonnancement des tâches
L'ordonnancement des tâches consiste à exécuter automatiquement une tâche (une application, une commande, ...) à intervalles de temps réguliers ou bien à des moments précis. Généralement ce type de procédé est utilisé pour automatiser des sauvegardes (on parle de backup), notamment à des heures où le système est le moins sollicité Read More →

Memory management is the heart of operating systems; it is crucial for both programming and system administration. In the next few posts I’ll cover memory with an eye towards practical aspects, but without shying away from internals. While the concepts are generic, examples are mostly from Linux and Windows on 32-bit x86. This first post Read More →

The alx driver which supports Atheros AR8162/AR8162

can not be build on Centos6.x.
The driver has not yet reached the main stream and package released in does not compile for Centos.
To solve this tedious problem you need to get the original Atheros driver (from Atheros), but after they were bought by Qualcomm this can not be Read More →

Every day when I finish work, I switch off my desktop computer. When I switch it on again the following morning, I can carry on where I left off. I switch on the computer, and all of my application windows are exactly where I left them. The web browser is still showing me the webpage Read More →

1. Introduction: What is a Daemon?
2. Getting Started
3. Planning Your Daemon
3.1 What Is It Going To Do?
3.2 How Much Interaction?
4. Basic Daemon Structure
4.1 Forking The Parent Process
4.2 Changing The File Mode Mask (Umask)
4.3 Opening Logs For Writing
4.4 Creating a Unique Session ID (SID)
4.5 Changing The Working Directory
4.6 Closing Standard File Descriptors
5. Writing the Daemon Code
5.1 Read More →

The key to use mysql++ on Ubuntu system is to find where the mysql++.h head files and the .so binary files.
First install mysqlclient and mysql++ on Ubuntu:

root# apt-get install libmysqlclient-dev libmysqld-dev libmysql++-dev libmysql++-doc libmysql++3

This will install the mysql head files in /usr/include/mysql, mysql++ head files in /usr/include/mysql, and and in /usr/lib.
These are all Read More →

1. Tasks of the Kernel
On a purely technical level, the kernel is an intermediary layer between the hardware and the software. The kernel can be regarded as an enhanced machine that, in the view of the application, abstracts the computer on a high level.
Viewing the kernel as a resource manager is justified when several programs Read More →

ZSH is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh.
ZHS is a shell for Unix systems that has been around since 1990 and is more sophisticated and configurable than most shells out there. There are Read More →

I discovered the Red Hat DevTools 1.1 for CentOS-5/6 ×86_64 and updated GCC tools on my CentOS 6.4 build machine from gcc version 4.4.7 to 4.7.
The devtools work great! I wished I had discovered them sooner. They use Software Collections (SCLs) that install all the tools under /opt directory without polluting any of the existing Read More →