Linux Resources

Install Terminator on Ubuntu 20.04

This article covers how to Install and Use Terminator, the Terminal Multiplexer. In fact, The terminator is similar to the built-in terminal with added features. You can arrange Terminals in a grid, Tab, Drag and drop re-ordering the terminal, use keyword shortcuts, create and save profiles. It is inspired by programs such as gnome-multi-term, quad console, and so on.

For more information about Terminator, visit its documentation.

How to Install terminator on your Linux system ?

For kali Linux:

$ sudo apt-get install terminator

For Ubuntu:

$ sudo apt install terminator

For Arch Linux:

$ sudo pacman -S terminator

For CentOS:

$ sudo yum install terminator

Set / Unset Environment Variables in Linux

This article covers how to set and unset both local and persistent environment variables in Linux. In fact, every time you start a shell session in Linux, the system goes through configuration files and sets up the environment accordingly. Environment variables play a significant role in this process.

Environment variables are a set of key value pairs stored on your Linux and used by processes in order to be able to perform specific operations. with the export command but also by modifying some system files to make them persistent.

How to Set Environment Variables on Linux using export ?

The easiest way to set environment variables is to use the export command:

$ export VAR="value"

How to Unset Environment Variables on Linux Using unset command ?

To unset an environment variable, use the unset command with the following syntax:

$ unset <variable>

Common Set of Environment Variables on Linux:

  • USER : the current username of the user using the system;
  • EDITOR : the program run to perform file edits on your host;
  • HOME : the home directory of the current user;
  • PATH : a colon separated list of directories where the system looks for commands;
  • PS1 : the primary prompt string (to define the display of the shell prompt);
  • PWD : the current working directory;
  • _ : the most recent command executed on the system (by the user)
  • MAIL : the path to the current user’s mailbox;
  • SHELL : the shell used in order to interpret commands on the system, it can be many different ones (like bash, sh, zsh or others);
  • LANG : the language encoding used on the system;
  • DESKTOP_SESSION : the current desktop used on your host (GNOME, KDE)
  • HISTFILESIZE : number of lines of command history stored in the history file;
  • HISTSIZE : number of lines of history allowed in memory;
  • UID : the current UID for the user.

Install an SSL Certificate in Tomcat for a Java project in Linux

This article covers how to generate CSR files and install CA signed SSL certificates in Tomcat for Java projects.

The need to create a self-signed certificate ?

  • It allows you to learn to create a keystore and certificate, which is good practice for getting an actual SSL/TLS certificate provided by a Certificate Authority.
  • It allows you to use a certificate right away and make sure it works successfully.
  • It's free.

Zstandard - An Open-Source Data Compression Algorithm for Ubuntu Linux system

This article covers how you can install zstd and how to use it on your Ubuntu Linux system. In fact, Zstandard is a fast compression algorithm, providing high compression ratios. It also offers a special mode for small data, called dictionary compression.

Working with System Locales in Linux

This article covers how to set a system and view the locale on Linux. In fact, Locale settings usually consist of at least a language code, a country/region code, time / date format, numbers format setting, currency format setting, Color setting, and so on.

To view the information regarding the currently installed locale use the following command on the terminal:

$ locale

For more information, see the locale, update-locale and localectl man pages with the below commands respectively:

$ man locale
$ man update-locale
$ man localectl

Generate CSR (Certificate Signing Request) in Linux ?

This article covers the process of creating a CSR file in any Linyx system which is very necessary before applying for an SSL certificate from a Certificate Authority(CA). In fact, Certificate Signing Request(CSR) is a block encrypted text which is given to Certificate Authority when applying for SSL Certificate. Generation of Certificate Signing Request(CSR) for Secure Sockets Layer(SSL) is common in Linux on various distributions. 

CSR is generated on the server, it stores information relating to the organization, domain name, country, a city which is to be included in the certificate.  The CSR Certificate can be used on any website whenever it is necessary to encrypt communications. To generate an SSL certificate, CSR certificate has to be generated. To obtain a self-signed SSL Certificate, it is necessary to create CSR, after generating submit it to a certificate authority to acquire an SSL Certificate. 

Search by typing a one letter Word Term Here