《虚拟机相关配置》由会员分享,可在线阅读,更多相关《虚拟机相关配置(2页珍藏版)》请在金锄头文库上搜索。
1、1.安装vmware tool 配置操作进入rootmkdir vmtooltar -zxvf VMwareTools-10.3.23-16594550.tar.gz cp -dr VMware Tools/ /vmtoolcd /cd mvtoolcd VMware Tools/ls打开vmtool找到压缩包tar -zxvf 压缩包名字cd vmware-tools.distrib./vmware-install.pl2. yum本地配置rehl6.4进入rootmkdir /media/cdrommount -t iso9660 -o loop /dev/cdrom /media/cdr
2、omls /media/cdromcd /etc/yum.repos.d touch rhel-media.repovi rhel-media.repomedianame =rehl6baseurl =file:/media/cdromenabled =1gpgcheck =0 gpgkey=file:/media/cdrom/RPM-GPG-KEY-redhat-releaseyum makecache+rehl8.1mkdir /media/cdrommount /dev/sr0 /media/cdromcd /media/cdromls观察挂载是否成功cd /etc/yum.repos.dvim rhel-media.repoyum clean allBaseOSname=BaseOSbaseurl=file:/media/cdrom/BaseOSgpgcheck=0enabled=1AppStreamname=AppStreambaseurl=file:/media/cdrom/AppStreamgpgcheck=0enabled=1yum clean allyum makecache