Introduction

Rpm is one of the most advanced Gnu/Linux package manager. Created by Red Hat, it is used in many distributions, as for example Fedora and derivatives like Rhel and CentOS.

Packages to be installed with this package manager have the .rpm extension and are basically archives which contain the files provided by a library or an application plus information needed for the package to be installed and run correctly, such as its dependencies. In this tutorial we will learn how to use rpmrebuild, a very powerful tool which let us modify an existing rpm package without having to rebuild it from source code.

Objective

Install DeVeDe and Brasero, and use them to make DVD player compatible DVDs.

Distributions

This will work on just about every Linux distribution.

Requirements

A working Linux install with root privileges and a DVD burner.

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Objective

Install Calibre and use it to remove ebook DRM.

Distributions

This will work on any Linux distribution.

Requirements

A working Linux install with root privileges.

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

DRM sucks. There, now that that's out of the way, you can focus on getting rid of it from all of your ebooks. It's pretty hard to deny that DRM has a negative impact on ebooks. You can't share them. You can't use them across devices. In short, it prevents you from using your legally purchased property the way you want.

Calibre is one of the best ebook tools out there. It's much more than a reader and a library. Calibre even helps you author your own ebooks. In addition to all that, it lets you remove DRM and convert your ebooks between formats. Think of it like a cross between Kodi and Handbrake, but for ebooks.

Symptoms

When trying to install a DEB file package using the apt linux command the following error massage may occur:
# apt install package_name.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package package_name.deb
E: Couldn't find any package by glob 'package_name.deb'
E: Couldn't find any package by regex 'package_name.deb'

Objective

Create a custom desktop file to launch a program graphically.

Distributions

This will work on all Linux distributions.

Requirements

A working Linux install with a graphical desktop

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Have you ever installed a program from an outside source and wished that it had a convenient entry in your desktop environment's menu? More often than not, Linux applications installed through any channel other than a software repository don't include a proper desktop entry. Don't worry, though. They're actually quite simple to create for yourself.

The entries that you see in your desktop environment's program menu come from simple plain text configuration files with the .desktop extension. These files all follow a very basic pattern, and they're not too long to write in just a few minutes.

Objective

Learning how to use the partclone utility to backup a partition

Requirements

  • Root permissions
  • Partition to backup must be unmounted

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

If you ever used Clonezilla to create a backup of your operating system, you have already experienced the power of the partclone. Unlike other tools like dd, partclone knows how to interact with specific filesystems, therefore it can create much smaller backups, cloning only the used space in the partition. In this tutorial we will learn how to use partclone from command line.

Objective

The objective is to install Electron Cash the Bitcoin-Cash wallet on Linux

Operating System and Software Versions

  • Operating System: - Debian 9.3
  • Software: - Electron Cash 3.0

Requirements

Privileged access to your system will be required.

Difficulty

EASY

Conventions

Objective

The objective is to download, verify and install Electrum Litecoin wallet on Linux

Operating System and Software Versions

  • Operating System: - Debian 9.3 or later
  • Software: - Electrum-LTC-2.9.3.1 or later

Requirements

Privileged root access will be required to perform the installation.

Difficulty

EASY

Conventions

Objective

The objective is to download, verify and install Electrum bitcoin wallet on Linux

Operating System and Software Versions

  • Operating System: - Ubuntu 17.10 or later
  • Software: - Electrum-3.0.3 or later

Requirements

Privileged root access will be required to perform the installation.

Difficulty

EASY

Conventions

Learning how schedule and manage tasks using the at program

Requirements

  • Root permissions to start the atd daemon
  • Having the at program installed

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

During the administration of a system, being able to schedule a task for a later execution it's one crucial ability: to perform a backup of a database for example, or perhaps to run a maintenance script. Less known than cron or anacron, the at program let us do this in a pretty easy way: in this tutorial we will learn how to use it and how it is different from the programs mentioned above.

Objective

Write a basic systemd service.

Distributions

This will work on any distribution running systemd.

Requirements

A working Linux install with systemd and root privileges.

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Systemd is nearly unavoidable. It has permiated so many aspects of the Linux ecosystem that it's necessary for any Linux admin to know at least the basics of how it works. One of the major selling points of systemd is the ease of writing service files. They aren't scripts. Instead, they're basic configuration files. While they can grow to be complex, they are usually very simple.

Objective

The objective is to create an offline digital and paper bitcoin wallet using Linux operating system, VirtualBox and Electrum Bitcoin wallet. The outcome of this tutorial will be a paper with written keywords which can be used to access your bitcoins. We will also create an encrypted version of virtual machine as a digital backup to be stored digitally on a secure medium which will provide a convenient access to your bitcoins if necessary.

Operating System and Software Versions

  • Operating System: - Debian 9 GNU/Linux
  • Software: - Electrum 3.0.3 or higher, VirtualBox Version 5.2.2 r119230

Requirements

Privileged access to your host operating system will be required to install Virtual Box virtualization software.

Difficulty

MEDIUM

Conventions

Objective

Install Lynis and use it to scan for vulnerabilities.

Distributions

Lynis is available for most major distributions.

Requirements

A working Linux install with root privileges.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Lynis is a tool for performing an automated audit of your system. It's not a virus scanner or an antivirus. Instead, it checks certain criteria on your system to see how it's configured. By evaluating the system configuration, Lynis can give you an idea what areas are reasonably secure, and which ones need additional hardening.

Objective

Use DNSenum to scan your server to see which information is publicly available.

Distributions

This works best with Kali Linux, but can be done on any distribution with Perl.

Requirements

A working Linux install. Root is required if you need to install DNSenum.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

It's important to regularly test any public-facing server to see which information it's making available. That information is important to attackers. They can use it to put together a picture of your server, what's running on it, and which exploits might work against it.

Install DNSenum

If you're running Kali, you already have DNSenum, so there's no need to worry. If you're running something else, make sure that you have Perl(You probably do). You also need a couple of Perl libraries to get the full functionality.
$ sudo apt install libtest-www-mechanize-perl libnet-whois-ip-perl

Objective

The following article provides some useful tips on how to find all files within any specific directory or entire file-system containing any specific word or string.

Difficulty

EASY

Conventions

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: