Mount a BitLocker partition on a Linux system

This post explains how to mount a BitLocker partition on a Linux system. You’ll need the BitLocker recovery key to do so, along with the device file (/dev/sd?) of the

Read More

Mount a partition from a full disk image file on Linux

This post explains how to mount a partition from a disk image file on a Linux system. Such a file may have been created using the dd command. The disk

Read More

Linux whole data disk encryption

This post give the main steps to achieve full data disk encryption. The disk password will be required during boot time. You will need the device name of the disk

Read More

How to create an encrypted file and open it

You’ll find in this post the basic steps to create an encrypted luks file and open it. You’ll need to perform the following steps to create it: The following steps

Read More

Create a Linux Program Launcher Icon

Two tools are now available in the GitHub repository located at https://github.com/ctheroux/LinuxUtilities-Users to create a program launcher for most Linux systems. The first version of them is a command-line version

Read More

How to install Pronterface on Ubuntu 16.04

To install Pronterface on Unbuntu, first install the dependencies. sudo apt-get install python-serial python-wxgtk3.0 python-pyglet \ python-numpy cython python-libxml2 python-gobject python-dbus \ python-psutil python-cairosvg libpython-dev git Then, download Pronterface git

Read More

Script to create a shared git project

This script creates a git project to be shared among the users of the Unix group $GIT_GROUP. Every git project will be created into the directory $REPOSITORIES_BASE_DIR. #!/bin/bash # Base

Read More

VirtualBox fails on startup

Result Code: NS_ERROR_FAILURE (0x80004005) / Kernel driver not installed (rc=-1908) are the errors displayed when the kernel driver needs to be recompiled. It usually happens when updates to Ubuntu are

Read More

Port forwarding using SSH

SSH port forwarding let you connect to a server using another server a relay. For example, if you host a web server in a DMZ behind your office router, you

Read More

Reset Unity Top Menu Bar Widget Panel

Sometimes, widget disappears from the Top Menu Bar Widget Panel of Unity. The Widget Panel can be reset using the following command: killall unity-panel-service

Read More

Make Linux use the hardware clock set to local time

Ubuntu sometimes assumes that the hardware clock of the computer is set to GMT. If the hardware clock is set to local time, set UTC=no in /etc/default/rcS.

Read More

Move and secure the MySQL data directory

By default, the data directory of MySQL is /var/lib/mysql. This can be a security issue, especially on a laptop. If your home directory is encrypted, you can easily secure you

Read More

Fix “The Update Information Is Outdated”

Sometimes, the message “The Update Information Is Outdated” is displayed when you click on a red warning red icon in the status bar. It happened to me last week. This

Read More

Change the Ubuntu login screen background?

Changing the login screen background is easy but not obvious. The image file you want to use as the login screen background must have a read access for everyone. Open

Read More

Make an Apache2 SSL server more secure

These easy steps will improve significantly the security of your Apache2 SSL server. Edit your /etc/apache2/mods-enabled/ssl.conf file and replace the SSLProtocol, SSLCipherSuite and SSLHonorCipherOrder parameters with the following values. SSLCipherSuite

Read More

How to Install libnfc for PN532 NFC Readers on Linux

Installing libnfc for PN532 based NFC reader is not exactly as described in the documentation. Some information is scattered in the documentation. This installation guide has been tested with the

Read More

How To Setup an Internet Gateway using Ubuntu

Setting up an Internet Gateway using Ubuntu is pretty straight forward. In order to do so, you will need: A computer with two network interfaces. One hooked to your WAN

Read More

Installing memcached to use it with php

Installing Memcached with php support in Ubuntu is a matter of a few steps: sudo apt-get install memcached php5-memcached sudo service apache2 restart You can test if memcached is active

Read More

phpMyAdmin session timeout

phpMyAdmin session timeout is controlled through two parameters. The first one can be found in /etc/php5/apache2/php.ini. It is called session.gc_maxlifetime. The other one can be found in the phpMyAdmin configuration

Read More

Issues after upgrading to Ubuntu 14.04.1

After upgrading to Ubuntu 14.04.01, I ran into two issues: One with Apache2 and one with Samba 4. Apache has been upgraded from 2.2.22 to 2.4.7. The content was no

Read More