Docker Part 1

Create, Start, stop and remove containers

This tutorial is related to creating, starting, stopping and removing containers.

Containers are small in size compared to virtual machines, even you can run containers within seconds. Containers don’t need virtualization host or hypervisor.

Create or run a container

If you an image on your host then docker will . . . → Read More: Docker Part 1

How to configure DNS server on linux (CentOS /RHEL)

DNS (Domain Name System) used to covert internet names (Websites/server names) to IP address. It is the hierarchical naming system to get information about networked resources. The hierarchical structure is organized in the domain which holds the information of host and others in the resource records.

DNS Hierarchy

On the top of the . . . → Read More: How to configure DNS server on linux (CentOS /RHEL)

RAID (Redundant Array of Independent Disk) Fundamentals and Configuration

In late 1980’s, the rapid adoption of computers for the business processes increased the growth of applications and databases which increased the demand for the storage capacity. That time data was stored in large expensive disks called Single Large Expensive Drive (SLED). The single disk does not provide performance and flexibility.

. . . → Read More: RAID (Redundant Array of Independent Disk) Fundamentals and Configuration

Logical Volume Management (LVM on CentOS)

Generally, the disk has multiple partitions because it provides separation between data types but it does not offer flexibility. It is not possible to dynamically grow partitions when running out of space.

LVM provides greater flexibility. You can extend and resize volumes. LVM has several layers where lower layer consists of . . . → Read More: Logical Volume Management (LVM on CentOS)

Scheduling tasks on Linux machine(CentOS)

Sometimes you need to run certain tasks on certain time. You can configure tasks to run in future. Cron helps you to run jobs scheduled times. Cron daemons look every minute whether there is a job to do.

By default cron service started by default. because some systems tasks are running through cron like logrotate, . . . → Read More: Scheduling tasks on Linux machine(CentOS)

Process Management in Linux

Everything which happens on linux server is a process. For that reason, process management is a key skill for the administrators. Process can be classified into two parts –

shell jobs (starts from the command line) Service Daemons

When the process starts, It can use multiple threads.


When the user types a . . . → Read More: Process Management in Linux

Create own package repository in CentOS or RHEL

If you learned package management in my last post, yum requires an internet connection to each and every host to update the package which can consume lots of bandwidth. If you have a limited amount of bandwidth, then you can create your own repository server to update other machines.

Creating repository requires some steps which . . . → Read More: Create own package repository in CentOS or RHEL

Package Management in CentOS and create own respository

Package management is an important task for administrators. Using this post, you will learn package management using rpm command and yum. Packages can be delivered into two primary ways –

Some source code pre-compiled binary files

Now we are more dependent on packages generally bundled, actually, one file wraps up with everything needed to make . . . → Read More: Package Management in CentOS

Managing Disk Storage using fdsik

Managing disk storage is the day to day task for the Linux administrators. Few tasks are –

Adding new disks create partitions formatting partitions mount and umounting partitions

Suppose you have recently added a new disk in your server or system, use the following steps to create partitions, format partition and mount the partition to . . . → Read More: Managing Disk Storage using fdsik

Disk Quota on Linux Machine

Yesterday I was discussing Disk Quota on Linux Machine with my students. I know that no one is master, so we have to share our knowledge with other. I decided to write this post who are not good in Linux or learning Linux Administration.

Sometimes Disk space can be limited, and . . . → Read More: Disk Quota on Linux Machine