Fedora10 设置与宿主机共享文件

 

安装好内核镜像为fedora10linux系统,最好安装虚拟共享工具,以便是虚拟机上的linux系统更好的访问宿主机的资源,安装方法如下:

Install VMware Tools in a Linux Guest 

Before you begin, make sure the virtual machine is powered on and the guest operating system is running.

To install VMware Tools in a Linux guest

1

On the host, select VM > Install VMware Tools.

If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools. If the current version is installed, the menu item is Reinstall VMware Tools.

2

On the guest, log in as root.

3

If your Linux distribution does not automatically mount CD-ROMs, mount the VMware Tools virtual CD-ROM image.

 

a

If necessary, create the mkdir /mnt/cdrom/dev directory differently. If your CD-ROM drive is not /mnt/cdrom, modify the command to reflect the conventions used by your distribution.

4

Change to a working directory (for example, cd /tmpvmware-tools-distrib directory.

The location of this directory depends on where you placed it during the previous installation. Often it is placed in tar zxpf /mnt/cdrom/VMwareTools-.tar.gz

The value <yyyy> is the build number of the product release.

7

If necessary, unmount the CD-ROM image.

If your Linux distribution automatically mounted the CD-ROM, you do not need to unmount the image.

8

Run the VMware Tools installer.

Respond to the questions the command-line wizard displays on the screen. Press Enter to accept the default value. The configuration file, pvscsi, vmxnet3 Linux kernel modules.

If you reload the modules, networking on the virtual machine is interrupted.

10

Enter the following commands to restore the network:

11

Log out of the root account.

12

(Optional) Start your graphical environment.

13

In an X terminal, to start the VMware User process, enter the following command:

To change the default VMware Tools configuration options, see Open the VMware Tools Control Panel

 

 

现在补充三点:

1,安装完还不能共享文件 需要重启系统

2,重启后 如果已经共享文件后  但是在/mnt/hgfs里面看不到共享文件的  需要共享文件后  reboot系统

3,如果第二个还不行的 共享文件后 在重新安装vmtool 这样应该没问题了

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐