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

How to rename a user in Linux

Simply issue this command: usermod -m -d /home/new-account-name -l new-account-name old-account-name It creates the home directory if it does not exists. It also copy the stuff of the old user

Read More

preinst: line 118: a2query: command not found

If you are getting the following errors while trying to install Apache on Trusty (Ubuntu 14.04), execute the commands below and try to re-install it. Preparing to unpack …/apache2_2.4.7-1ubuntu4_amd64.deb …

Read More

How To Restore Skype Status Bar Icon In Ubuntu 14.04

After installing Skype on Ubuntu 14.04, there is no icon in the status bar. To restore it, simply execute the following command: sudo apt-get install sni-qt:i386 . This procedure works

Read More

How to prevent SSHD to listen on an address family

It is possible to control on which address family sshd will listen to. In /etc/ssh/sshd_config, simply add AddressFamily any to listen to IPv4 and IPv6 addresses. This is the default.

Read More