System Administration & Configuration

How to Rip DVDs With VLC

VLC is a popular open source media player, and it's earned its reputation as one of the best. Aside from playing your media files and DVDs, it can do other useful things, like streaming video and ripping DVDs for backups. This guide will help you use VLC to make digital backups of your DVDs on Linux. In this tutorial you will learn: How to Install VLC How to Rip a DVD to Your Hard Drive With VLC
Read More...

Install ARCH Linux on ThinkPad X1 Carbon Gen 7 with encrypted filesystem and UEFI

In this article we will be installing Arch Linux on ThinkPad X1 Carbon Gen 7 Laptop. This tutorial contains installation instructions, basic configuration as well as some post-install tuning of Arch Linux to get you started. Most of the instructions are Arch Linux installation generic hence with a simple modifications this tutorial can be used for any UEFI system installations. However, some points are specific to ThinkPad X1 Carbon Gen 7 therefore basic Linux Administration skills are...
Read More...

Easy way to import/export passwords on Chrome/Chromium browser using flag switches

Either you have reinstalled your computer or simply wish to make a backup copy of your Chrome/Chromium browser passwords this article will help you to do just that. The Google Chrome/Chromium Import/Export feature is missing by default, mostly due to the security reasons. In this tutorial you will learn: How to export passwords How to import passwords
Read More...

How to setup the rsync daemon on Linux

In a previous article we saw some basic examples of how to use rsync on Linux to transfer data efficiently. As we saw, to synchronize data with a remote machine we can use both a remote shell as ssh or the rsync daemon . In this article we will focus on the latter option, and we will see how to install and configure rsyncd on some of the most used Linux distributions. In this tutorial you will learn: How to install and configure the rsync daemon
Read More...

Examples on how to use Rsync for local and remote data backups and synchonizations

Rsync is a very useful tool which allows Linux system administrators synchronize data locally or with a remote filesystem via the ssh protocol or by using the rsync daemon . Using rsync is more convenient than simply copying data, because it is able to spot and synchronize only the differences between a source and a destination. The program has options to preserve standard and extended filesystem permissions, compress the data during transfers and more. We will see the most used ones in this...
Read More...

Install the Latest Nvidia Linux Driver

Most of the modern Linux Desktop systems come with Nvidia driver pre-installed in a form of the Nouveau open-source graphics device driver for Nvidia video cards. Hence depending on your needs and in most of the situations there is no need for an additional Nvidia Linux Driver installation procedure. The only reason could be that you wish to squeeze as much power as possible from the Nvidia VGA card and in that case you may attempt to install the official proprietary Nvidia Linux driver . Some...
Read More...

How to Convert to and From MP3 on Linux

MP3 is still easily the most widly used and widely supported digital audio file format. As a result, working with MP3 tends to be simple, especially on Linux. There was a time when it was still a proprietary format, and required additional packages, but now, converting your MP3 files is a breeze. In this tutorial you will learn: How to Install SoundConverter How to Convert To MP3 How to Convert From MP3
Read More...

Hard drive shredding on Linux

When we delete a file from a filesystem, the data is not physically removed: the operating system simply marks the area previously occupied by the file, as free and makes it available to store new information. The only way to make sure data is actually removed from a device is to override it with other data. We may want to perform such operation for privacy reasons (maybe we plan to sell the device and we want to be sure the new owner cannot access our data), or maybe to prepare a device for...
Read More...

How to install and configure Dropbear on Linux

The dropbear suite provides both an ssh server and a client application (dbclient), and represents a light alternative to OpenSSH . Since it has a small footprint and uses system resources very well, it is generally used on embed devices, with limited memory and processing power (e.g routers or embed devices), where optimization is a key factor. It provides a lot features, like, for example, X11 forwarding , and it is fully compatible with the OpenSSH public key authentication. In this...
Read More...

How to recover deleted files with foremost on Linux

In this article we will talk about foremost , a very useful open source forensic utility which is able to recover deleted files using the technique called data carving . The utility was originally developed by the United States Air Force Office of Special Investigations, and is able to recover several file types (support for specific file types can be added by the user, via the configuration file). The program can also work on partition images produced by dd or similar tools. In this tutorial...
Read More...

How to create a simple encrypted Two-Way SSH tunnel

Why would you need to create a simple Two-Way SSH tunnel? In your Linux system administration job have you ever found your self in a situation in which you cannot SSH to a any of your servers/hosts that may be behind a firewall, NAT or otherwise obstructed from an easy access. In order to gain the access, you would need to reconfigure the firewall or create VPN which could be an enormous overhead just because you need to execute few commands from now and then. With Two-Way SSH tunnel you can...
Read More...

How to Convert Video Formats on Linux

There are a few ways to convert video files on Linux. If you're a fan of command line tools, check out our FFMPEG video conversion guide . This guide is going to focus on HandBrake, a powerful graphical video conversion tool to covert video from and to many formats such as MP4, AVI, WebM and many more. In this tutorial you will learn: How to Install HandBrake How to Use Video Conversion Profiles How to Convert a Video
Read More...

How to setup NRPE for client side monitoring

Nrpe, or Nagios Remote Plugin Executor, is the client side service of a monitoring setup. The monitoring server will send commands to the client, which listens passively when got no work to do. Upon incoming command, the nrpe checks it's local configuration, and executes the plugin configured with the command, then sends back the results to the server for processing. You can read more about the server side installation in the Nagios installation guide , while this guide will focus on the...
Read More...

How to build a docker image using a Dockerfile

Docker skills are high in demand mainly because, thanks to the Docker we can automate the deployment of applications inside so-called containers , creating tailored environments that can be easily replicated anywhere the Docker technology is supported. In this tutorial we will see how to create a Docker image from scratch, using a Dockerfile . We will learn the most important instructions we can use to customize our image, how to build the image, and how to run containers based on it. In this...
Read More...

Restore pfsense configuration backup from console using USB drive

This article will describe a process on how to restore pfsense configuration backup from console using USB drive. In this tutorial you will learn: How to identify USB drive on pfsense system How to mount USB drive/stick How to restore pfsense backup
Read More...

Most common custom SSH Configurations of the OpenSSH Server

The Openssh set of utilities let us create secure, encrypted connections between machines. In this tutorial we will take a look at some of the most useful options we can use to change the behavior of sshd , the Openssh daemon in order to make your Linux system administration job easier. In this article we assume the existence of an already running and accessible server. If you want to know more about Openssh installation, you can take a look at this article on how to install SSH server on...
Read More...

Install and Configure MySQL Workbench on Ubuntu Linux

MySQL workbench is a graphical application which let us manage data and perform administrative tasks on MySQL databases. In this tutorial we will see how to install the program on Ubuntu 18.04 (Bionic Beaver) and we will perform a brief tour of some of its most basic functionalities to make your Linux system administration job easier. In this tutorial you will learn: How to install and configure MySQL workbench How to create a schema and a table via MySQL workbench How to crate an E.R diagram...
Read More...

How to Stream Video From VLC

Most Linux users are at least familiar with VLC, and a good portion of them have it installed. What many don't know is that VLC can handle much more than just playing your videos. In addition to its many other options, VLC can easily stream a video over your network. In this tutorial you will learn: How to Set Up a VLC Stream How to Connect to a VLC Stream
Read More...

How to Save Space with Symlinks and Mount Points

When you're stuck with limited storage space, there's always the option of purchasing more storage, but what if you can't. Devices like Chromebooks and some laptops are fairly limited. Thankfully, Linux has a few tricks to help to make your Linux system administration job easier. Because Unix-like systems treat everything as a file, you can easily use symbolic links and mounted partitions to maximize space. In this tutorial you will learn: How to Use Symbolic Links at /home How to Use Symlinks...
Read More...

How dd command works in Linux with examples

Dd is a very powerful and useful utility available on Unix and Unix-like operating systems. As stated in its manual, its purpose is to convert and copy files. On Unix and Unix-like operating systems like Linux, almost everything is treated as a file, even block devices: this makes dd useful, among the other things, to clone disks or wipe data. The dd utility is available out of the box even in the most minimal installation of all distributions. In this tutorial we will see how to use it and...
Read More...