linux

vnStat – a brilliant open source console-based network traffic monitor for Linux

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s).
Features:
Quick and simple to install and get running.
Gathered statistics persists through system reboots.
Can monitor multiple interfaces at the same time.
Several output options.
Summary, 5 minute, hourly, daily, monthly, weekly, yearly, top days.
Optional png image output (using libgd).
Data retention duration is fully user configurable on the fly.
Months can be configured to follow billing period.
Light, minimal resource usage.
Same low cpu usage regardless of traffic.
Can be used without root permissions.
Online color configuration editor.
humdi.net/vnstat/

Hardware Probe Tool for Linux

This project really deserves a post, just came across with it and will definitively use it. The HW PROBE project aim to collect hardware details of Linux-powered computers over the world and help Linux users and developers to collaboratively debug hardware related issues.
github.com/linuxhw/hw-probe

There are other very useful tools on their main git repository, if you need to collect more specific hardware details, these tools will come very useful.
github.com/linuxhw

How to Install Google Authenticator on Ubuntu Server

Install Google Authenticator:

sudo apt-get install libpam0g-dev make gcc wget autoconf libtool libpng-dev automake autotools-dev pkg-config libltdl-dev m4
cd ~
git clone https://github.com/google/google-authenticator-libpam.git
cd google-authenticator-libpam
./bootstrap.sh
./configure
make
sudo make install

Install qrencode:

cd ~
wget https://fukuchi.org/works/qrencode/qrencode-4.0.2.tar.gz
tar -xf qrencode-4.0.2.tar.gz
cd qrencode-4.0.2/
./configure
make
sudo make install
sudo ldconfig

[Linux]Ubuntu LTS default kernel

LTS Enablement Stacks
The Ubuntu LTS enablement (also called HWE or Hardware Enablement) stacks provide newer kernel and X support for existing Ubuntu LTS releases. These enablement stacks can be installed manually but are also available when installing with Ubuntu LTS point release media. These newer enablement stacks are meant for desktop and server and even recommended for cloud or virtual images.

Ubuntu 16.04 LTS – Xenial Xerus
The 16.04.2 and newer point releases will ship with an updated kernel and X stack by default for the desktop. Server installations will default to the GA kernel and provide the enablement kernel as optional.

The 16.04 HWE Stacks will follow a new Rolling Update Model as documented at the following location:

https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack

It is highly recommended to read the above documentation before executing the following commands, as the HWE model has changed in 16.04.

Installing the HWE stack is simple:

DESKTOP

sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04

SERVER

sudo apt-get install --install-recommends linux-generic-hwe-16.04