Wise people learn when they can; fools learn when they must - Arthur Wellesley

Thursday 25 May 2017

RHEL6 – 35 – NFS


RHEL6–35–NFS

Which packages are required to run NFS?

nfs-utils & rpcbind

How to know about the required NFS packages installed in RHEL system?

[root@rhel6-test1 ~]# rpm -qa rpcbind
rpcbind-0.2.0-11.el6.x86_64

[root@rhel6-test1 ~]# rpm -qa |grep -i nfs
=====Nothing in O/P=====================

Saturday 6 May 2017

RHEL6 – 33 –RESET DEFAULT PERMISSIONS & OWNERSHIP

RHEL6 – 33 –RESET DEFAULT PERMISSIONS &                 OWNERSHIP

Well, it is very interesting to reset default perms of files and dirs. Also resetting the default ownership.

How to reset the default permission for files of particular package?

[root@rhel6-test1 ssh]# rpm --setperms <package name>


How to reset the default ownership for files of particular package?

[root@rhel6-test1 ssh]# rpm --setugids  <package name>

Wednesday 3 May 2017

RHEL6 – 32 -YUM


RHEL6 – 32 -YUM


As we had seen earlier in last post that how to install RPM packages. YUM is also a way to do same. If both have same purpose then what is need of yum?

YUM is preferable way to install RPM packages, because its capability to resolve dependency.

YUM is the primary tool for getting, installing, deleting, querying, and managing Red Hat Enterprise Linux RPM software packages from official Red Hat software repositories, as well as other third-party repositories. YUM is used in Red Hat Enterprise Linux versions 5 and later.