Sunday, January 3, 2016

RHEL7 - yum repo




[root@ashok yum.repos.d]# cat /tmp/a | awk '{$1=""; print $0}'
 rpm -ivh httpd-2.4.6-40.el7.centos.x86_64.rpm
 rpm -ih httpd-2.4.6-40.el7.centos.x86_64.rpm
 rpm -i httpd-2.4.6-40.el7.centos.x86_64.rpm
 ls -l bind*
 rpm -ivh bind-9.9.4-29.el7.x86_64.rpm
 rpm -ivh bind-libs-9.9.4-29.el7.x86_64.rpm
 yum search bind
 yum clean all
 yum repolist
 pwd
 cd /etc/yum.repos.d/
 ls
 cat CentOS-CR.repo CentOS-fasttrack.repo CentOS-Sources.repo kern.repo
 clear
 ls
 vi kern.repo
 yum repolist
 yum search bind
 ls
 mv CentOS-CR.repo CentOS-fasttrack.repo CentOS-Sources.repo kern.repo
 mv kern.repo kern.repo.oldie
 yum repolist
 yum search bind
 yum search bind | more
 yum search bind.x86_64
 yum install bind
 pwd
 cd -
 ls -l httpd-tools-2.4.6-40.el7.centos.x86_64.rpm
 more /boot/grub2/grub.cfg
 ls -l /etc/grub2.cfg
 more ../boot/grub2/grub.cfg
 more /boot/grub2/grub.cfg
 more /etc/yum.conf
 pwd
 ls
 cd -
 ls
 more CentOS-Base.repo
 yum repolist
 yum list yum*
 yum list httpd
 yum list bind
 yum list installed
 yum list installed | wc -l
 yum grouplist
 yum list 'http*'
 yum list 'http'
 yum list http
 yum list httpd
 yum search all 'web server'
 yum info httpd
 yum provides /var/named
 yum provides /var/www/html/
 yum update httpd
 yum list kernel
 uname -r
 uname -a
 yum group list
 yum group info "identiry management server"
 yum group info "identiry Management Server"
 yum group info "identity Management Server"
 yum group install "Infiniband support"
 yum history
 history
 yum.repos.d]#

[root@ashok yum.repos.d]#

No comments:

Post a Comment