Top Ad unit 728 × 90

Latest updates

recent

PACKAGE MANAGEMENT



'### TO INSTALL THE PACKAGES WITH RPM - AS PER LAB ###'
Get All the Packages from Server PC as per Lab
# mount <server_ip:location> <mount_point>
# mount 192.168.0.250:/var/ftp/pub/centos7/Packages /mnt
# mount (to check)
# cd /mnt (access mount point)
# ls (to check)
# rpm -ivh firefox* (to install - for example)
# rpm -q firefox (to check)
# rpm -e firefox (to remove)


'### TO INSTALL THE PACKAGES WITH YUM - AS PER LAB ###'
Open the DataBase file of YUM Server & Do the changes
as given below:-
# vim /etc/yum.repos.d/CentOS-Base.repo
-->Except 1st Paragraph, Remove all the Paragraphs
-->Remove MirrorList line
-->Remove # sign from baseurl line and do the changes as given below:-
baseurl=ftp://192.168.0.250/pub/centos7
enabled=1 <---Add this line Manually
:wq(Save & Quit the file)
# yum install firefox* (to install - for example)
# yum list firefox (to check)
# yum remove firefox (to remove)
# yum list installed (to check all installed apps)
PACKAGE MANAGEMENT Reviewed by Unknown on 6:52 PM Rating: 5
© 2007 - 2016. All Rights Reserved by Babashaheer Blog

Contact Form

Name

Email *

Message *

Powered by Blogger.