linux6.2+建本地yum+gnome

1.mount /dev/cdrom /media/cdrom

2.vi /etc/yum.repos.d/dvd.repo

[dvd]

name=install dvd

baseurl=file:///media/cdrom/Server    #repodata/repomd.xml

enabled=1

gpgcheck=0


3.yum clean all

yum list


4.yum grouplist


5.yum groupinstall "X Window System"


6.yum groupinstall "Desktop"


7.startx


8.vi /etc/inittab

你可能感兴趣的:(Install,yum)