移除
声卡
打印机
USB 控制器
网络适配器
内存
1024 M
CPU
1 个处理器
2 个内核
虚拟化引擎全部开启
CD/DVD
使用 ISO 映像文件
映像文件为 CentOS-7-x86_64-DVD-2009.iso
点击
完成
已经准备好创建虚拟机
%%%%%
虚拟机创建完毕
虚拟机创建完毕
——————————
VMware 虚拟机怎么进 BIOS 设置第一启动项
除了
打开电源时进入固件
虚拟机启动时也说了:
Press F2 to enter SETUP F2 进入 BIOS 设置
F12 for Network Boot F12 用于网络引导
ESC for Boot Menu ESC 选择启动设备
没人注意过的虚拟“主板”
除了 F2 进入 BIOS 设置第一启动设置
F10 保存设置第一启动设备为硬盘
还可以在此界面按下 ESC 在启动菜单手动选择启动设备:
启动菜单
这边我们选择的光盘启动。
——————————
VMware 16 + CentOS 7、GNOME、配置 ibus 中文输入
%%%%%
倒计时界面选择第一项安装 CentOS 7
Install CentOS 7
%%%%%
按回车开始安装
按 键开始安装过程:
key to begin the installation process." height="524" src="http://www.kaotop.com/file/tupian/20220509/dd9cf2bcd280444caf859b9cc7b9bd9d.png" width="734" />
Press the key to begin the installation process.
正在启动
Staring installer, out moment...
进入安装界面 这其实是一个 Live 系统
选择安装过程中使用的语言 这边选择:
中文
简体中文
欢迎使用 CentOS 7
继续后跳到安装配置主界面:
安装信息摘要
关于安装主界面:
本地化
日期和时间
键盘
系统支持的语言
软件
安装源
软件选择
系统
安装位置
KDUMP 内核崩溃转储机制
网络和主机名
SECURIY POLOCY 安全策略
主界面
%%%%%
本地化
配置好日期和时间 点击完成:
日期和时间
键盘布局 默认:
键盘布局
语言支持 安装界面选择什么语言这边就默认什么语言系统:
简体中文 (中国)
不过还是勾选支持 英语/English (United States)
English (United States)
本地化设置完毕:
本地化设置
%%%%%
软件
安装源 默认就好 sr0 是第一个光驱 除非你要联网镜像服务器下载安装:
默认 sr0
当然 你对镜像文件有没有什么毛病也不是很放心 所以可以选择校验:
介质校验
正在校验介质 请稍后:
正在校验介质 请稍后
这玩意儿实在是有点慢了:
正在校验介质
校验完毕 此介质正常 可以用于安装:
此介质正常
当然你也可以选择本地磁盘上的 ISO 文件如果你的硬盘上有 *** 作系统分区的话:
本地 ISO 文件
然后就可以选择本地 *** 作系统上的 ISO 映像文件 明白为什么说这是 Live 系统上的安装程序了吗?
[root@CentOS ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 472M 0 472M 0% /dev
tmpfs 487M 0 487M 0% /dev/shm
tmpfs 487M 8.4M 478M 2% /run
tmpfs 487M 0 487M 0% /sys/fs/cgroup
/dev/sda1 8.8G 5.0G 3.5G 59% /
tmpfs 98M 40K 98M 1% /run/user/0
/dev/sr0 1.5M 1.5M 0 100% /run/media/root/VMware Thinprint
[root@CentOS ~]# umount -a
umount: /run/user/0: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /sys/fs/cgroup/systemd: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /sys/fs/cgroup: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /run: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /dev: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@CentOS ~]# mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
[root@CentOS ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 472M 0 472M 0% /dev
tmpfs 487M 8.4M 478M 2% /run
tmpfs 487M 0 487M 0% /sys/fs/cgroup
/dev/sda1 8.8G 5.0G 3.5G 59% /
tmpfs 98M 36K 98M 1% /run/user/0
/dev/sr0 56M 56M 0 100% /mnt
[root@CentOS ~]# ls /mnt
manifest.txt run_upgrader.sh VMwareTools-10.3.23-16594550.tar.gz vmware-tools-upgrader-32 vmware-tools-upgrader-64
[root@CentOS ~]# cp /mnt/VMwareTools-10.3.23-16594550.tar.gz ~
cp: overwrite ‘/root/VMwareTools-10.3.23-16594550.tar.gz’? y
[root@CentOS ~]# ls ~
anaconda-ks.cfg Desktop Documents Downloads initial-setup-ks.cfg Music Pictures Public Templates Videos VMwareTools-10.3.23-16594550.tar.gz
[root@CentOS ~]#
VMwareTools-10.3.23-16594550.tar.gz:
解压到当前目录下:
[root@CentOS ~]# tar -xzvf VMwareTools-10.3.23-16594550.tar.gz
vmware-tools-distrib/
vmware-tools-distrib/bin/
vmware-tools-distrib/bin/vm-support
vmware-tools-distrib/bin/vmware-config-tools.pl
/* 实在太长 全部省略 */
[root@CentOS ~]# ls
anaconda-ks.cfg Documents initial-setup-ks.cfg Pictures Templates VMwareTools-10.3.23-16594550.tar.gz
Desktop Downloads Music Public Videos vmware-tools-distrib
[root@CentOS ~]# ls vmware-tools-distrib/
bin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl
[root@CentOS ~]#
到了最关键的一步了 安装 只需要记住一个技巧:
有 [no] 输 no
有 [yes] 的输 yes
两者都无便回车默认
最后一个绝对 no
下面该输入的都用 C 语言注释格式说明了:
[root@CentOS ~]# ./vmware-tools-distrib/vmware-install.pl /* 执行安装脚本 */
The installer has detected an existing installation of open-vm-tools packages
on this system and will not attempt to remove and replace these user-space
applications. It is recommended to use the open-vm-tools packages provided by
the operating system. If you do not want to use the existing installation of
open-vm-tools packages and use VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] yes /* 输入 yes */
INPUT: [yes]
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] yes /* 输入 yes */
INPUT: [yes]
Uninstalling the tar installation of VMware Tools.
manageSELinux uninstall: Unable to remove vmtools_t permissive mapping.
There was an error configuring the SELinux security context for VMware Tools.
Please make certain that SELinux is configured correctly.
Stopping services for VMware Tools
Stopping vmware-tools (via systemctl): [ OK ]
The removal of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin] /* 输入 回车 */
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d] /* 输入 回车 */
INPUT: [/etc/rc.d] default
What is the directory that contains the init scripts?
[/etc/rc.d/init.d] /* 输入 回车 */
INPUT: [/etc/rc.d/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin] /* 输入 回车 */
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools] /* 输入 回车 */
INPUT: [/usr/lib/vmware-tools] default
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes /* 输入 yes */
INPUT: [yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default /* 输入 回车 */
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes /* 输入 yes */
INPUT: [yes]
The installation of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes /* 输入 yes */
INPUT: [yes]
You have chosen to install VMware Tools on top of an open-vm-tools package.
You will now be given the option to replace some commands provided by
open-vm-tools. Please note that if you replace any commands at this time and
later remove VMware Tools, it may be necessary to re-install the open-vm-tools.
The file /usr/bin/vmware-hgfsclient that this program was about to install
already exists. Overwrite? [no] no /* 输入 no */
INPUT: [no]
The file /usr/bin/vmhgfs-fuse that this program was about to install already
exists. Overwrite? [no] no /* 输入 no */
INPUT: [no]
Initializing...
Making sure services for VMware Tools are stopped.
Stopping vmware-tools (via systemctl): [ OK ]
The module vmci has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes /* 输入 yes */
INPUT: [yes]
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
Skipping configuring automatic kernel modules as no drivers were installed by
this installer.
Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.
/* 在这里会等一段时间安装 下一个是最后一个 */
The configuration of VMware Tools 10.3.23 build-16594550 for Linux for this
running kernel completed successfully.
VMware Tools installed on top of open-vm-tools has not added anything of
significance or potential benefit. VMware Tools is not needed.
Would you like to recover the wasted disk space by uninstalling VMware Tools at
this time? (yes/no) [yes] no /* 一般来说最后一个一定要输入 no */
INPUT: [no]
Enjoy,
--the VMware team
[root@CentOS ~]#
虚拟机增强工具安装完成!
剩下的善后大家自己完成吧
无非是添加了块网卡、光驱读取的 ISO 文件、电脑里复制解压的一堆东西
安装成功后虚拟机就会支持铺满屏幕:
以及窗口缩放自适应:
剪贴板共享:
最重要的拖拽复制:
这样就不用通过网络或者 USB 设备来虚拟机实体机之间传输数据了!
忘了说 GUI 图形界面的 CentOS 7 自带 ntfs-3g 支持读取 ntfs 分区:
一次卸载 VMware Tools
[root@CentOS ~]# vm
vmcore-dmesg vmware-namespace-cmd
vmhgfs-fuse vmware-rpctool
vmmouse_detect vmware-toolbox-cmd
vmstat vmware-uninstall-tools.pl
vm-support vmware-user
vmtoolsd vmware-user-suid-wrapper
vmware-checkvm vmware-vgauth-cmd
vmware-config-tools.pl vmware-vmblock-fuse
vmware-hgfsclient vmware-xferlogs
[root@CentOS ~]# vmware-uninstall-tools.pl
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
Stopping vmware-tools (via systemctl): [ OK ]
The removal of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully. Thank you for having tried this software.
[root@CentOS ~]#
一次普通用户安装示例 最后一步选择 yes 也无伤大雅:
[lilian@CentOS vmware-tools-distrib]$ su root
密码:
[root@CentOS vmware-tools-distrib]# ./vmware-install.pl
The installer has detected an existing installation of open-vm-tools packages
on this system and will not attempt to remove and replace these user-space
applications. It is recommended to use the open-vm-tools packages provided by
the operating system. If you do not want to use the existing installation of
open-vm-tools packages and use VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] yes
INPUT: [yes]
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
INPUT: [/etc/rc.d] default
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
INPUT: [/etc/rc.d/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin]
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
INPUT: [/usr/lib/vmware-tools] default
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
INPUT: [yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
INPUT: [yes]
The installation of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes
INPUT: [yes]
You have chosen to install VMware Tools on top of an open-vm-tools package.
You will now be given the option to replace some commands provided by
open-vm-tools. Please note that if you replace any commands at this time and
later remove VMware Tools, it may be necessary to re-install the open-vm-tools.
The file /usr/bin/vmware-hgfsclient that this program was about to install
already exists. Overwrite? [no] no
INPUT: [no]
The file /usr/bin/vmhgfs-fuse that this program was about to install already
exists. Overwrite? [no] no
INPUT: [no]
Initializing...
Making sure services for VMware Tools are stopped.
Stopping vmware-tools (via systemctl): [ 确定 ]
The module vmci has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer.
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes] yes
INPUT: [yes]
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
Skipping configuring automatic kernel modules as no drivers were installed by
this installer.
Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.
The configuration of VMware Tools 10.3.23 build-16594550 for Linux for this
running kernel completed successfully.
VMware Tools installed on top of open-vm-tools has not added anything of
significance or potential benefit. VMware Tools is not needed.
Would you like to recover the wasted disk space by uninstalling VMware Tools at
this time? (yes/no) [yes] yes
INPUT: [yes]
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
Stopping vmware-tools (via systemctl): [ 确定 ]
The removal of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully. Thank you for having tried this software.
[root@CentOS vmware-tools-distrib]#
评论列表(0条)