Monday, November 28, 2016

How to check dependencies using rpm/yum in linux ?

Using rpm  :-      # rpm -qpR  <rpm>             >>  It means is required library  and the provider                                                                                  package is glibc .   --  Here in same way openssl package is provider  for

[root@test]# rpm -qa | grep glibc
[root@test]# rpm -qa | grep openssl

using Yum  :-     yum deplist  <package>

yum requires root privileges , but this will help to understand the rpm query command .

[root@test]# yum deplist kernel-tools-libs-3.10.0-693.2.2.el7.x86_64
package: kernel-tools-libs.x86_64 3.10.0-693.2.2.el7
   provider: glibc.x86_64 2.17-196.el7
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.17-196.el7
   provider: glibc.i686 2.17-196.el7


Friday, November 25, 2016

If your new to Linux/Unix and would like to know some basics follow the below topics which covers most of the basic topics . For All other technical stuff check under Linux tab

DAY:- 1
DAY :- 2
DAY :- 3
DAY:- 4

  How To Scan New Disks In Linux ?
  How to Add New Disk to Linux Virtual server ?  
  How to  Create a Filesystem in Linux ?(Pv/Vg/Lv Create) ?
  How to Extend a filesystem ?(Pv/Vg/Lv extend) ?
  How To Check FileSystem Usage ?

Day :- 6

How to Create soft link and hard link ?And its Difference ?
How to use Tail,Head,More,less Commands ?
How to Delete Files/Directories/Users and Groups ?

Day :-7

How to copy files within the server in Linux ?
How to copy files B/w the 2 different servers ?
SCP command examples ?
Rsync Command Examples ?

Day :- 8

How to check Memory/Cpu utilization ?
How to check Disk performance using Iostat Commands ?
How to check Connection B/w two servers ?
How to Capture the Packets ? (tcpdump command examples) ?

Day :- 9

Examples of traceroute,Telent and Netstat Commands ?
Ulimit configuration(nofile/nproc) in Linux?
How To Setup CronJob in Linux ?
Usage of Rpm/Yum Commands ?

Day:- 10

Find Command examples ?
DNS Configuration ?
Ping/Nslookup Command examples ?
How To Differentiate b/w  Virtual and Physical server ?

        (..........TO be Continued)