Detecting which system manager is running on Linux System

Objective

There are multiple system managers which can by possibly running on your Linux system. The current most common system managers are SysV (init), Systemd and Upstart. You may find this short guide to be of use to you, if you are unsure which, system manager is running on your Linux system.

Requirements

Privileged access to your Linux system is required.

Difficulty

EASY

Conventions

Read more

Ansible installation on CentOS 7 Linux

Objective

The following guide describes simple to follow steps on how to install the open-source automation engine Ansible on CentOS Linux.

Operating System and Software Versions

  • Operating System: – CentOS 7 Linux
  • Software: – Ansible 2.2 ( EPEL ) & Ansible 2.4 ( Source )

Requirements

Privileged access to your CentOS Linux system will be required to perform the Ansible installation.

Difficulty

MEDIUM

Conventions

Read more

How to perform a faster data compression with pbzip2

Introduction

What if you would be able to perform a data compression four times faster, with the same compression ratio as you normally do. Pbzip2 command line utility can easily accomplish this as it gives you an option to select number CPU and amount of RAM to be used during the compression process.

Regular tar and bzip2 compression

We all know the regular command to perform tar and bzip2 directory compression. The below command will tar and compress our sandbox directory FOOBAR. We are also prefixing the below command to get exact time for how long will it take to output compressed file FOOBAR.tar.Bbz2 from 242MB FOOBAR directory:

# time tar cjf FOOBAR1.tar.bz2 FOOBAR/

real    0m20.030s
user    0m19.828s
sys     0m0.304s

From the above time output we can see that it took about 20 seconds to create following compressed file:

# ls -lh FOOBAR1.tar.bz2 
-rw-r--r-- 1 root root 54M Mar 10 20:25 FOOBAR1.tar.bz2

Read more

How to install latest Firefox Browser on Debian 9 Stretch Linux

Objective

Debian Linux comes with Firefox ESR (Extended Support Release) version, which in some rare scenarios may not adequately fit your needs. The objective is to replace the Debian’s default Firefox ESR with the latest bleeding edge Firefox.

Operating System and Software Versions

  • Operating System: – Debian 9 Stretch

Requirements

Privileged access to your Debian Linux system will be required.

Difficulty

EASY

Conventions

Read more

How to setup a Static IP address on Debian Linux

Objective

The objective is to configure a static IP address on Debian Linux server.

Please note that for Desktop installations it is recommended to use GUI tools, such as network-manager. If you wish to configure your network interfaces directly via /etc/network/interfaces file on your Desktop, make sure you disable any other possibly interfering network configuration daemons. For example, the below commands will disable network-manager:

# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service

Operating System and Software Versions

  • Operating System: – Debian 9 (Stretch)

Requirements

Privileged access to your Debian Linux system is required.

Difficulty

EASY

Conventions

Read more

How to install Logstash On Debian Linux

How to install Logstash On Debian Linux

How to install Logstash On Debian Linux

Objective

The following guide describes a basic installation of Logstash on Debian Linux.

Operating System and Software Versions

  • Operating System: – Debian 9 (Stretch)
  • Software: – Logstash 5.2

Requirements

Privileged access to your Debian system will be required.

Difficulty

EASY

Conventions

Read more

How to install Elasticsearch On Debian Linux

Objective

The objective is to provide you with a simple to follow steps on how to install Elasticsearch on Debian Linux. The guide does not delve into Elasticsearch configuration as this is a tale for another time.

Operating System and Software Versions

  • Operating System: – Debian 9 (Stretch)
  • Software: – Elasticsearch 5.2.0

Requirements

Privileged access to your Debian system will be required

Difficulty

EASY

Conventions

Read more

How to check Redhat version

Objective

The objective of this guide is to provide you with some hints on how to check system version of your Redhat Enterprise Linux (RHEL). There exist multiple ways on how to check the system version, however, depending on your system configuration, not all examples described below may be suitable. For a CentOS specific guide visit How to check CentOS version guide.

Requirements

Privileged access to to your RHEL system may be required.

Difficulty

EASY

Conventions

Read more

mount usb drive kali linux

How to mount USB drive on Kali Linux

mount usb drive kali linux

Objective

The procedure on how to mount USB drive on Kali Linux is no different from any other Linux distribution. Kali Linux was used by this guide to provide you with simple to follow steps on how to mount USB drive on Linux.

Operating System and Software Versions

  • Operating System: – Kali Linux

Requirements

Privileged access to your Kali Linux system will be required.

Difficulty

EASY

Conventions

Read more

Learning Linux Commands: netstat

Introduction

netstat command is a useful command to reveal a network status of your system. It allows a system administrator to keep track of any network connections by querying their status, origin and destination.

Furthermore, netstat is the all-in-one networking monitoring tool as it can also be used to display route tables, interface statistics, masquerade connections, as well as multicast memberships. ss command is a future successor of the netstat command.

Read more