If you are using CentOS 7 or later then if your SSH Connection is taking long time then, just restart following service. It resolves the issue. # systemctl restart systemd-logind
Author: S. Sharad
How to reset root password ?
Below are the steps to reset root password in Linux 7 ? 1. Reboot your machine and at Grub OS Selection Menu, choose the required OS which password needs to reset and press E to edit. 2. Edit the kernel line and replace ro to rw and also append init=/sysroot/bin/bash Read More …
Creating ISO file in Linux
There are two ways to create ISO file in Linux. Method 1 : Suppose you have any CD or DVD then you can create iso file using dd command as below. Please make sure that, while creating iso file the Read More …
Mounting iso file in Linux
ISO file is ditto image of CD or DVD. It is more specifically ISO9660 Format File. If you have any file then it can be mounted using mount command in linux. Below is example. Suppose you have data.iso is a iso Read More …
NMap : Network Audit Tool
Nmap is a tool for network exploration and many times used for security audit. It sends raw packets on target PC and then it determines many features of target PC such as MAC address, Open Ports, OS Detection etc. Below Read More …
Clearing ARP Cache
ARP stands for Address Resolution Protocol, which is used to find the media access control address of a network neighbour for a given IPv4 Address. You can view arp using following command. # arp You can clear the old cache Read More …
DNS Server : Creating Non Authoritative DNS Server
Creating Non Authoritative DNS Server is very simple task. Below are the steps to create the server. 1. First check activity on Port No. 53. DNS Server uses Port No. 53 # lsof -i :53 2. If nothing is acting on Port Read More …
Creating Fixed Disk Partition
There are many ways to create fixed partitions on hard drive. Most people prefer fdisk command to create partitions. In following example we have one hard drive /dev/xvdb. Our aim is to create three partitions on this disk of size 200 MB Read More …
Removing Software RAID Volumes
Consider following RAID-1 System. The target is to un-mount the drive and safely remove the partitions. The partitions are as under First un-mount the volume if it is mounted and then use the -S option with mdadm command as below. After Read More …
Managing Software RAID
Management of Software RAID basicaly involves adding and removing the faulty and failed drives from the array. To understand better consider following example. In above example, the drives /dev/xvdb1, /dev/xvdb5, /dev/xvdb6 seems to be clean and healthy. This is RAID Drive, it Read More …