Posts

Showing posts with the label Linux

Install and Use Stratis to Manage Local Storage on RHEL8/CentOS8

Image
Stratis is a local storage management solution for Linux Operating System and aims to ease the work of a system administrator by advance storage options like  snapshots, thin provisioning, pool-based management, monitoring, Tiering , etc. apart from being very simple to use. Stratis is a user-space daemon that configures and monitors existing components from Linux’s device-mapper subsystem, as well as the XFS filesystem. Stratis Pool which is the central attraction of Stratis tool is a collection of one or more local disks or partitions. Once the pool is created, administrators can create volumes.

VDO – Virtual Data Optimizer - Compressing and Deduplicating Storage with VDO

Image
Red Hat Enterprise Linux 8 includes the Virtual Data Optimizer (VDO) driver, which optimizes the data footprint on block devices. VDO is a Linux device mapper driver that reduces disk space usage on block devices, and minimizes the replication of data, saving disk space and even increasing data throughput. VDO consists of two kernel modules and two commands: Kernel Modules: kvdo  – This module to transparently control data compression. uds – This module for deduplication. Commands:    vdo - This command is used to create, remove, start, and stop VDO volumes, as well as performing other configuration changes. vdostats  -This command is used to report on various aspects of VDO volumes, including effective reduction and physical volume utilization. Think of this as ‘df’ for VDO capacity.

RHEL / CentOS : How to install and configure telnet

Image
It’s not recommended to use telnet as it is not secure. The passwords are transferred using a plain text and any packet sniffer can easily track you. Nevertheless, it’s sometimes required to install telnet anyways. To check if you have telnet package already installed on your system, use : # rpm -qa | grep telnet telnet-server-0.17-59.el7.x86_64 telnet-0.17-59.el7.x86_64 In order to turn Telnet on make sure that you have the packages telnet-server and telnet installed: Installing telnet packages If the 2 required packages are not installed, install it using yum. # yum install telnet-server telnet

How to Install Ubuntu 20.04 LTS Desktop

Image
Install Ubuntu 20.04 LTS Desktop On Thursday, April 23rd, 2020, Canonical Ltd, the makers of Ubuntu Linux distribution officially released the long-awaited Ubuntu 20.04 version code-named “Focal Fossa”, it is an LTS (Long Term Support) version based on Linux kernel series 5.4, for which maintenance updates will be provided for 5 years until April 2025 and it will reach end-of-life in 2030. New Features in the Desktop Edition The new desktop features include a new graphical bootsplash (integrates with the system BIOS logo), refreshed Yaru theme, GNOME 3.36 , Mesa 20.0 OpenGL stack , BlueZ 5.53, PulseAudio 14.0 (prerelease), Firefox 75.0, Thunderbird 68.7.0, and LibreOffice 6.4. Concerning network configuration, netplan comes with many added features.

How to Upgrade Ubuntu 18.04 LTS to Ubuntu 20.04 LTS

Image
In this article we will demonstrate how to upgrade Ubuntu 18.04 LTS to 20.04 LTS. There are two ways to do it either via command line or GUI (Graphical Interface). To complete the upgrade smoothly, a stable internet is required on your Ubuntu system. Upgrade Ubuntu 18.04 LTS to 20.04 LTS via Command Line

How to install Ansible on RHEL8 / CentOS8

Image
In this article I am explaining Step-by-Step tutorial to install Ansible on RHEL/CentOS 8 Linux environment. We will setup a five-node environment with one controller node and two managed nodes. But before we start with the steps to install Ansible on RHEL8 or CentOS8, let us understand what is Ansible and how it works. ANSIBLE Ansible is the leading Open Source configuration management system. It makes it easy for administrators and operations teams to control thousands of servers from central machine without installing agents on them. Ansible is the simplest to use and manage when compared to other configuration management systems such as Puppet, Chef and Salt. It is easy to install, learn, and use. The only dependency required on the remote server is SSH service and Python.

CREATING BONDING OR TEAMING IN LINUX

Image
Network Bonding  There are almost six types of Channel Bond types are available. Here, we’ll review only two type of Channel Bond which are popular and widely used. Load balancing ( Round-Robin ) : Traffic is transmitted in sequential order or round-robin fashion from both NIC. This mode provides load balancing and fault tolerance. ​ Active-Backup : Only one slave NIC is active at any given point of time. Other Interface Card will be active only if the active slave NIC fails.​ ​

How to configure samba client in Linux Part2

Image
Samba Client Configuration Hello and welcome to part 2 of  configuring samba.In our previous tutorial we discussed how to configure samba server and then accessed linux samba share from windows.  In this second part we will learn how to configure samba client on linux and will demonstrate how to access linux samba server from linux with samba client configured on it. Assumption: We assume you have already configured samba server on linux as per instructions in our part 1 tutorial Client side Linux For using samba services  on Linux client machine you need to install it samba-client. [root@blogger Bhaskar]# yum install samba-client –y Here I am using CentOS 6.7 version of linux . So I need to start the service by using below command. [root@blogger Bhaskar]# service smb start To view/display the shared data use below command

How to configure samba server in Linux Part1

Image
Samba Server Configuration We welcome you to another exciting tutorial . We will learn how to make linux folder or directory shareable for linux and non linux servers. In this tutorial we will demonstrate sharing between linux and windows. . The functionality which provides this sharing between linux and windows  is samba tool.  This tool not only allows you to share file or directory but also you can share printers and configure it as domain controller.This will give you a start and later you can explore different possibilities/ ideas Introduction Samba is a package which run on *nix systems. It uses TCP/IP protocol to communicate when correctly configured and interact with windows file server as well. The daemon of samba is smb ( Server Message Block ) and it is also known as CIFS ( Common Internet File System ), this operates application layer network protocol. It listens on port number 137 , 138 and 139 .

Linux: LVM-An Introduction

Image
Have you ever wondered while your linux installation that how much space should you reserve for the system and user files ?  That’s a question that troubles many of us “How should i partition my disk drive ? ” Although you would get many suggestions on that but why to think about it if you have a better alternative…..LVM According to Wikipedia , logical volume management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes. In particular, a volume manager can concatenate, stripe together or otherwise combine partitions into larger virtual ones that administrators can re-size or move, potentially without interrupting system use. Let’s understand it with an example Say Samuel has the following partitions on his disk 1 2 3 4 /boot    /dev/sda1     512 Megabytes swap     /dev/sda2    256 Megabytes /        /dev/sda3      10 Gigabytes /home    /dev/sda4      30 Gigabytes

Redhat Enterprise virtualization- Installing RHEV-H

Image
To install Redhat enterprise virtualization hypervisor(RHEV-H) , You need a hardware with “virtualization Technology”(VT-X) enabled processors.Once you have such a hardware ,then you can start installing RHEV-H on it. You need to download the bootable “Redhat enterprise virtualization hypervisor” ISO image from Redhat website  with valid subscription. If you do not have one , Redhat is providing 60 days trail for RHEV . Just sign up using corporate email address and download the ISO. This article is going to demonstrate the “ redhat enterprise virtualization hypervisor ” installation with step by step screenshots. At the end of this article, we will see how we can install this hypervisor on top of VMware workstation for learning purpose.

openLDAP server and Cient installation and configuration step by step – RHEL7

Image
openLDAP directory service is based on a client-server model. LDAP transferred “Lightweight directory access protocol”   is a directory service protocol that runs on a layer above the TCP/IP stack. It provides a mechanism used to connect to, search, and modify Internet directories. The LDAP directory service is based on a client-server model. openLDAP is used to facilitate centralized user management. It eliminates users creation on each and every server, instead of creating users and there profile in all the servers we can create them in LDAP server and access from all the LDAP client machines.

Nagios core 4.1.1 Installation in RHEL7 / Centos 7

Image
What is Nagios..?? Nagios is an most popular and enterprise open source monitoring tool. Using this monitoring tool you can monitor any device in this world even UPS / Battery status. This tool will support almost all the scripting languages. Prepare your Linux server to install Nagios monitoring tool Nagios Version:   4.1.1 Prerequisites: Nagios code is written in C language so you required an gcc++ compiler packages to compile and install Nagios. Required wget package to download the nagios tool directly from web to server To untar  the package required Rar / Zip RPM’s Web / Apache / Httpd service to host the Nagios Install php and perl packages to run Nagios plugins

How to scan the new lun in AIX and RHEL?

How to scan the new LUN in AIX and RHEL? For AIX: Make sure you are taking the below output before scan for new lun/disk. #lspv #lspv|wc -l Now execute the below commands to scan the new lun/disk. #cfgmgr check the new lun/disk added to the box with the help of new outputs of the following compared with the old output. #lspv #lspv|wc -l For RHEL Linux: Make sure you are taking the following output before scan for new lun. (Knowing the newly added Lun size before we scan would be better) fdisk -l cat /proc/scsi/scsi cat /proc/scsi/scsi|grep -i host|wc -l multipath -l tail -50 /var/log/messages Now execute the below commands to scan the new lun. syntax:       echo "- - -" > /sys/class/scsi_host/host(n)/scan                     #echo "- - - " > /sys/class/scsi_host/host0/scan (Make sure the space is there between the hyphen in the echo command [ echo "- - -" ]  and  you should do this for all HBAs. check the new lu