Monday, November 28, 2016

How to check dependencies using rpm/yum in linux ?

Using rpm  :-      # rpm -qpR  <rpm>

  
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)             >>  It means libc.so is required library  and the provider                                                                                  package is glibc .
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)   --  Here in same way openssl package is provider  for libcrypt.so.
libcrypto.so.10(libcrypto.so.10)(64bit)



[root@test]# rpm -qa | grep glibc
glibc-common-2.17-196.el7.x86_64
glibc-2.17-196.el7.x86_64
glibc-2.17-196.el7.i686
[root@test]# rpm -qa | grep openssl
openssl-libs-1.0.2k-8.el7.x86_64
openssl-1.0.2k-8.el7.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
[root@test]#



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
  dependency: libc.so.6(GLIBC_2.14)(64bit)
   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

[root@test]#

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
DAY:-5

  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)