Skip to main content


Showing posts from 2019

Install Cisco AnyConnect on Ubuntu

Hi   In this post i will show how to  install Cisco AnyConnect on Ubuntu 19.10. First download soft from below link or from site Once archive file  downloaded, extract it:     $ tar xvf anyconnect-predeploy-linux-64-3.1.14018-k9.tar.gz cd extracted folder:     $ cd anyconnect-3.1.14018/vpn/ install  Cisco AnyConnect using this command:     $ sudo ./ After installing you can open application. If application not opening. You have to install libpangox-1.0-0 to solve problem:     $ sudo apt-get install libpangox-1.0-0 That's all.

Linux basic shell commands

Hi everyone In this post i will write about basic shell commands. cp - copy files and directories mv - move files and directories mkdir - create directories ln - make soft and hard links grep - print lines that match patterns touch - create, change and modify timestamps of a file wc - printing newline, word and byte counts for files fdisk - manipulate disk partition table df - manipulate disk partition table free - Display amount of free and used memory in the system top - display Linux processes ps - report a snapshot of the current processes jobs - show jobs running paused jobs in bg mount - mount a filesystem mkfs - build a Linux filesystem ls - list directory contents

My RHCSA certificate

Hi every one.     I created this post last week before my RHCSA exam. Firstly i want write how i become RHCSA. I got some certificates including sport related certificates. My first certificate was CCNA for geting this it took for me about 3 years. Last year of my bachelour degree i began interesting in networking. Of course why , because i fill in lov ewith command promt. From networking it took me to the world of open source . First distro i installed on my pc was Ubuntu . I still you Ubuntu. Beacuse it has most friendly interface. From that time firstly i interested in LPIC certificates which one i got last year. While passing my CompTIA Linux+. Be honestly i made mistake getting this certificate. Itself its not bad cert . While preparing this certificate you learn a lot. Also i read Sanders RHEL cert guide. Which helped me a lot passing my RHCSA.      Let's talk about exam day. Whole night i was unable sleep. In my dreams i only see "lvreduce" command. Which was my ni

Linux Boot

     In this article, I am going to explain the booting process in detail. I can assure you that, you will get a clear idea about the Linux booting process after reading this post. I would like to divide the Linux booting in the following 5 steps: From power up/reset to login prompt, we can mainly divide the Linux booting process in to five areas. The BIOS , Stage I boot loader , Stage II boot loader , Kernel and Init . These are the important areas behind a booting process. Let us start the Linux booting process with BIOS. Step 1. BIOS (Basic Input Output System) POST-power on self test which bios loads  checking for hardware . Step 2. Stage 1 boot loader (MBR) Master Boot Record , is the first place where boot loaders begins to start. MBR is a 512 byte sector located in the first sector of hard disk.  MBR contains both program code and partition table details. Please see the image added below: When allocating disk space for a

How To Reset root pass in RHEL 7 & CentOS 7

        Hi every one in this post i will show you, how to reset  forgot root password in RHEL_7 & CentOS_7 . Short record of the prosses i will post later.     In previous post i used "init=/bin/sh" for resetting but now i will show another way of resetting root pass. Let's begin      First in grub loader menu tab  'e'  enter edit boot options from here go to line beginig with 'linux16' in this line delete words 'rhgb', 'quite' and add  'rd.break' press 'Ctrl+x'  and we boot in emergency mode where system mount to "sysroot" . Enter below commands: mount -o remount,rw /sysroot       #remount as read write /sysroot chroot /sysroot      #change root folder to sysroot passwd   #for resetting root password touch /.autorelabel         #for selinux   exit    #twice enter exit     After above steps, you will success reset root password. 

Resetting the root password on RHEL 7 Systems

How to Reset Root Passwords on RHEL 7 and CentOS 7 Linux Systems If you have forgotten your root password on a RHEL 7 server or a CentOS 7 server, you can reset your root password as long as you have access to the GRUB 2 bootloader. (The following example was performed on a RHEL 7.5 server) To access the GRUB 2 bootloader, boot your system and wait for the GRUB 2 menu to appear: Boot System and wait for GRUB 2 menu Boot your system and wait until the GRUB2 menu appears. On some systems you may need to press the "Escape" key to access the GRUB 2 menu. Highlight OS Entry Highlight your Operating System and then press " e " to edit. Find line beginning linux Find the line beginning with linux . In this example the line begins linux16 . Manually Edit Line Using the arrow keys and the delete key, manually delete the following entries rhgb and quiet from the line. Next, append the following statement to the end of the line init=/bin