LinuxTechLab Blog

use regex

Bash Scripting: Learn to use REGEX (Part 2- Intermediate)

In our earlier tutorial, we learned to use regex with some basic concepts & we learned about meta-characters & learned to use those meta-chracters to create some easy but effective regex terms. We will...

SELinux

Beginner’s guide to SELinux

Hello Linux-fanatics, in this tutorial we will learn to use SELinux. Its been my experience that most Sys-Admins consider it a hassle & ends up disabling it. It is a great tool to help...

Surf anonymously: Learn to install TOR network on Linux

Tor Network is an anonymous network to secure your internet & privacy. Tor network is a group of volunteer operated servers. Tor protects internet communication by bouncing it around a distributed network of relay...

Apache reverse proxy as Load Balancer

How to use Apache reverse proxy as Load Balancer

Earlier we have learned about how we can configure apache as reverse proxy. As discussed earlier, Reverse proxy is a kind of a proxy that takes http or https request & transfers/distributes them to...

cloning disks

Cloning Disks using dd & cat commands for Linux systems

It always wise for a System Administrator to be prepared for the worst situation & having a backup/clones of servers, when such a day arrives will certainly make your job & life easy. Though...

apache as reverse proxy

How to use Apache as Reverse Proxy on CentOS & RHEL

Reverse proxy is a kind of proxy server that takes http or https request & transfers/distributes them to one or more backend servers. Reverse proxy is useful in many ways, like – It can...

regex basics

Bash Scripting: Learn to use REGEX (Basics)

Regular expressions or regex or regexp are basically strings of character that define a search pattern, they can be used for performing ‘Search’ or ‘Search & Replace’ operations as well as can be used...

router

Turning a CentOS/RHEL 6 or 7 machine into a router

In this tutorial we are going to learn to convert RHEL/CentOS 6 & 7 machines into a router by using NATting. Router as we know is layer 3 networking device that is used to...

let's encrypt on centos

Create a free Apache SSL certificate with Let’s Encrypt on CentOS & RHEL

Let’s Encrypt is a free, automated & open certificate authority that is supported by ISRG, Internet Security Research Group. Let’s encrypt provides X.509 certificates for TLS (Transport Layer Security) encryption via automated process which...

grep command with examples

Learning GREP command with examples

Grep is a very important & powerful Linux commands. It stands for ‘Global Regular Expression Print’ & is used for matching & printing a search pattern or a regular expression from a single or...

bash tips tricks

Important BASH tips tricks for Beginners

Hello Linux-Fanatics, this post is dedicated to those users who are just getting started with their Linux Journey. I am sharing some Bash tips tricks which will make you more familiar with BASH &...

apache tomcat installation

Complete guide for Apache TOMCAT installation on Linux

Apache Tomcat, also known as Tomcat server is an open source java servlet cotainer & provides a pure JAVA http webserver environmnet to run java code. It is very famous & widely used to...

date & time

Playing with Date & Time in RHEL/CentOS

In this tutorial, we are going to discuss how we can view or modify date & time values in our RHEL/CentOS 7 servers. We are going to discuss 3 commands which we can use...

glances monitoring

Real Time Linux server monitoring with GLANCES monitoring tool

Glances is an open source real time Linux monitoring system that aims at providing as much as information possible in as minimum as space possible. Glances is like top command but more refined with...

netstat with examples

NETSTAT Command: Learn to use netstat with examples

Netstat is a command line utility that tells us about all the tcp/udp/unix socket connections on our system. It provides list of all connections that are currently established or are in waiting state. This...

password protect apache

Password Protect APACHE Directory with Basic Authentication

In our earlier tutorials, we have discussed ‘how we can create a apache server’ ‘secure it using an SSL certificate’ & also learned ‘some tips for Hardening apache server’. In this tutorial, we are...