System Administration & Configuration

How to organize your passwords using pass password manager

Objective Learn to organize your passwords using the "pass" password manager on linux Requirements Root permissions needed to install required packages Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction If you have the good habit to never use the same password for more than one purpose, you have probably already felt the...
Read More...

How to use special permissions: the setuid, setgid and sticky bits

Objective Getting to know how special permissions works, how to identify and set them. Requirements Knowledge of the standard unix/linux permissions system Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Normally, on a unix-like operating system, the ownership of files and directories is based on the default uid...
Read More...

Connect Your Android Phone To Linux with KDE Connect

Objective Install and configure KDE Connect on Linux and Android. Distributions This will work on nearly all Linux distributions. Requirements A working Linux install with Plasma and root privileges. Also, an Android device. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction KDE Connect is easily the best tool for...
Read More...

Create Encrypted Folders With Plasma Vault

Objective Install and use Plasma Vault to create encrypted storage directories. Distributions This will work on any distribution with Plasma 5.11 or higher. Requirements A working Linux install with Plasma 5.11 or better and root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction The Plasma desktop's new...
Read More...

Sideload Apps From Ubuntu To Your Android Device

Objective Sideload an Android app from Ubuntu to a mobile device. Distributions This guide is tailored to Ubuntu, but the same principles will work on any distribution. Requirements A working Ubuntu install with root privileges and an Android device. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Installing an app on...
Read More...

How to Run A VPN Client Automatically As A Service

Objective Connect to a VPN automatically on booth with a service. Distributions This will work on almost any Linux distribution. Requirements A working Linux install with root privileges and a VPN subscription. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction VPNs are great. They protect people from all sorts of...
Read More...

How to Encrypt and Decrypt Individual Files With GPG

Objective Encrypt individual files with GPG. Distributions This will work with any Linux distribution. Requirements A working Linux install with GPG installed or root privileges to install it. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Encryption is important. It's absolutely vital to protecting sensitive...
Read More...

Watch Sling TV With Firefox On Linux

Objective Play content from Sling TV in Firefox on Linux. Distributions This will work on any Linux distribution. Requirements A working Linux install with Firefox 52+ installed. Difficulty Easy. Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Sling TV is a popular alternative for cord cutters looking to be free of their cable bill...
Read More...

Get Your Weather Forecast From the Linux CLI

Objective Display the current weather forecast in the Linux command line. Distributions This will work on any Linux distribution. Requirements A working Linux install with an Internet connection. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction It's be convenient to be able to retrieve the latest weather forecast right...
Read More...

How to use GNU Stow to manage programs installed from source and dotfiles

Objective Easily manage programs installed from source and dotfiles using GNU stow Requirements Root permissions Difficulty EASY Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Sometimes we have to install programs from source: maybe they are not available through standard channels, or maybe we want a specific version of a software....
Read More...

How To Enable Jumbo Frames In Linux

Objective Configure Linux to use jumbo frames. Distributions This will work with any Linux distribution. Requirements A working Linux install with network connectivity and root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Are file transfers slow on your network? Are you constantly passing data between...
Read More...

Connect To Wifi From The Linux Command Line

Objective Configure WiFi using only command line utilities. Distributions This will work on any major Linux distribution. Requirements A working Linux install with root privileges and a compatible wireless network adapter. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction Lots of people like graphical utilities for...
Read More...

How To Create A VPN Killswitch Using Iptables on Linux

Objective Use iptables to block all Internet connections in the event your VPN is disconnected. Distributions This will work on any Linux distribution. Requirements A working Linux install with root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction If you're connected to a VPN, you need a killswitch. No,...
Read More...

How to Play World of Warcraft On Linux With Wine

Objective Install and run Word of Warcraft on Linux Distributions This will work with nearly all Linux distributions. Requirements A working Linux install with root privileges and a somewhat modern graphics card with the latest graphics drivers installed. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction World of...
Read More...

How to configure and use PDO for database access on Linux

Objective Learn how to configure and use PDO for database access: from error modes to fetch methods. Requirements A standard knowledge of MySQL and mysql command line client; Being familiar with the fundamental concepts of Object Oriented Programming PHP > = 5.1 Have a working MySQL/MariaDB database Difficulty MEDIUM Conventions
Read More...

How to Set A Custom Message of The Day on Linux

Objective Set a custom message of the day. Distributions This will work on any Linux distribution. Requirements A working Linux install with root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction When you fist log in to a terminal on a Unix system, Linux included, you are usually greeted by that system's...
Read More...

How to install missing ifconfig command on CentOS Linux

Objective The ifconfig command has been deprecated and thus missing by default on CentOS Linux. # ifconfig bash: /usr/sbin/ifconfig: No such file or directory The new and recommended alternative for examining a network configuration on CentOS Linux is ip command. For example to use ip command to display a network configuration run the following: # ip address The above ip command can be abbreviated to: # ip a If you still prefer to use ifconfig command you can easily install it as part of the...
Read More...

Create An Evil Twin Of Your Network With Fluxion

Objective Use Fluxion to create a evil twin access point to steal WiFi login credentials, demonstrating the need for user education. Distributions Kali Linux is preferred, but this can be done with any Linux distribution. Requirements A working Linux install with root privileges and two wireless network adapters. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as...
Read More...

Begin Mining Ethereum On Ubuntu 16.04 Xenial Xerus Linux

Objective Set up Ubuntu 16.04 for Ethereum mining. Distributions This guide was tested for Ubuntu 16.04, but many principles will hold true on other distributions. Requirements A working Ubuntu 16.04 installation with root privileges. You also need a modern GPU with more than 4GB of RAM. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged...
Read More...

Install Ring, a FOSS VOIP Skype alternative

Objective Install the Ring Free Software VIOP client. Distributions This guide covers Debian, Ubuntu, and Fedora, but Ring can be installed from source on other distributions. Requirements A working Linux install with root privileges. Difficulty Easy Conventions # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command $ - given command to be executed as a regular non-privileged user Introduction If you ask just about any Linux...
Read More...