Visit Counter

Tuesday, April 30, 2019

How to share a folder in Windows OS to Oracle Linux 6 on VMware Workstation Pro 15



Share folder from Windows OS to Oracle linux 6 OS.

1. Create a folder on Desktop like (jdk)
2. Go to properties of jdk folder.
3. Click on Sharing Tab.
4. Click on Share button.
5. Select Everyone from list and then click on Add button.
6. Click on share button.



Now go to VMware Station

1. Select the Virtual Machine and right click on it.
2. Click on Setting.
3. Click on Option Tab.


















4. Select the share folder.

5. Select the always enable option

6. Select the share folder like jdk.

7. Go to VM menu.

8. Click on Install Vmware Tools. It will show the folder which have many files and folders.

9. Install the vmware-install.pl script (Follow the below instruction)

10. Once u installed the vmware-install.pl (Reboot the machine).

11. After Reboot machine you have to go to computer on desktop.

12. Go to mnt directory then hfgs directory then u find your sharing folder like jdk.






[root@wls vmware-tools-distrib]# ls -l
total 392
drwxr-xr-x.  2 root root   4096 Sep  4  2018 bin
drwxr-xr-x.  5 root root   4096 Sep  4  2018 caf
drwxr-xr-x.  2 root root   4096 Sep  4  2018 doc
drwxr-xr-x.  5 root root   4096 Sep  4  2018 etc
-rw-r--r--.  1 root root 142493 Sep  4  2018 FILES
-rw-r--r--.  1 root root   2538 Sep  4  2018 INSTALL
drwxr-xr-x.  2 root root   4096 Sep  4  2018 installer
drwxr-xr-x. 14 root root   4096 Sep  4  2018 lib
drwxr-xr-x.  3 root root   4096 Sep  4  2018 vgauth
-rwxr-xr-x.  1 root root 223540 Sep  4  2018 vmware-install.pl

[root@wls vmware-tools-distrib]# ./vmware-install.pl
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]

INPUT: [yes]  default

In which directory do you want to install the common agent library files?
[/usr/lib]

INPUT: [/usr/lib]  default

In which directory do you want to install the common agent transient files?
[/var/lib]

INPUT: [/var/lib]  default

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]

INPUT: [yes]  default

The installation of VMware Tools 10.3.2 build-9925305 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]

INPUT: [yes]  default

Initializing...


Making sure services for VMware Tools are stopped.




Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

INPUT: [no]  default

Searching for a valid kernel header path...
Detected the kernel headers at
"/lib/modules/2.6.32-100.28.5.el6.x86_64/build/include".
The path "/lib/modules/2.6.32-100.28.5.el6.x86_64/build/include" appears to be
a valid path to the 2.6.32-100.28.5.el6.x86_64 kernel headers.
Would you like to change it? [no]

INPUT: [no]  default

Using kernel build system.
make: Entering directory `/tmp/modconfig-yFJakW/vmci-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-yFJakW/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-yFJakW/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-yFJakW/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-yFJakW/vmci-only/vmci.ko.unsigned
  NO SIGN [M] /tmp/modconfig-yFJakW/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-yFJakW/vmci-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-yFJakW/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/modconfig-yFJakW/vmci-only'

Using kernel build system.
make: Entering directory `/tmp/modconfig-qygZZU/vmci-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-qygZZU/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-qygZZU/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-qygZZU/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-qygZZU/vmci-only/vmci.ko.unsigned
  NO SIGN [M] /tmp/modconfig-qygZZU/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-qygZZU/vmci-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-qygZZU/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory `/tmp/modconfig-qygZZU/vmci-only'
Using kernel build system.
make: Entering directory `/tmp/modconfig-qygZZU/vsock-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/notify.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/notifyQState.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/stats.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/util.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/linux/vsockAddr.o
  CC [M]  /tmp/modconfig-qygZZU/vsock-only/driverLog.o
  LD [M]  /tmp/modconfig-qygZZU/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-qygZZU/vsock-only/vsock.mod.o
  LD [M]  /tmp/modconfig-qygZZU/vsock-only/vsock.ko.unsigned
  NO SIGN [M] /tmp/modconfig-qygZZU/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-qygZZU/vsock-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-qygZZU/vsock-only'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/modconfig-qygZZU/vsock-only'

Using kernel build system.
make: Entering directory `/tmp/modconfig-fdc3EW/vmxnet3-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3_drv.o
  CC [M]  /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3_ethtool.o
  CC [M]  /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3_shm.o
  LD [M]  /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3.mod.o
  LD [M]  /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3.ko.unsigned
  NO SIGN [M] /tmp/modconfig-fdc3EW/vmxnet3-only/vmxnet3.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-fdc3EW/vmxnet3-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-fdc3EW/vmxnet3-only'
cp -f vmxnet3.ko ./../vmxnet3.o
make: Leaving directory `/tmp/modconfig-fdc3EW/vmxnet3-only'

Using kernel build system.
make: Entering directory `/tmp/modconfig-X6rTIo/pvscsi-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-X6rTIo/pvscsi-only/pvscsi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-X6rTIo/pvscsi-only/pvscsi.mod.o
  LD [M]  /tmp/modconfig-X6rTIo/pvscsi-only/pvscsi.ko.unsigned
  NO SIGN [M] /tmp/modconfig-X6rTIo/pvscsi-only/pvscsi.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-X6rTIo/pvscsi-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-X6rTIo/pvscsi-only'
cp -f pvscsi.ko ./../pvscsi.o
make: Leaving directory `/tmp/modconfig-X6rTIo/pvscsi-only'

Using kernel build system.
make: Entering directory `/tmp/modconfig-0Kp59v/vmmemctl-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/backdoor_balloon.o
  CC [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/kernelStubsLinux.o
  CC [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/os.o
  CC [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/vmballoon.o
  LD [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/vmmemctl.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-0Kp59v/vmmemctl-only/vmmemctl.mod.o
  LD [M]  /tmp/modconfig-0Kp59v/vmmemctl-only/vmmemctl.ko.unsigned
  NO SIGN [M] /tmp/modconfig-0Kp59v/vmmemctl-only/vmmemctl.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-0Kp59v/vmmemctl-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-0Kp59v/vmmemctl-only'
cp -f vmmemctl.ko ./../vmmemctl.o
make: Leaving directory `/tmp/modconfig-0Kp59v/vmmemctl-only'

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]

INPUT: [yes]  default

Using kernel build system.
make: Entering directory `/tmp/modconfig-1IOYTj/vmhgfs-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-1IOYTj/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-1IOYTj/vmhgfs-only/vmhgfs.ko.unsigned
  NO SIGN [M] /tmp/modconfig-1IOYTj/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-1IOYTj/vmhgfs-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-1IOYTj/vmhgfs-only'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/modconfig-1IOYTj/vmhgfs-only'

Using kernel build system.
make: Entering directory `/tmp/modconfig-vXR2e6/vmxnet-only'
/usr/bin/make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
  CC [M]  /tmp/modconfig-vXR2e6/vmxnet-only/vmxnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-vXR2e6/vmxnet-only/vmxnet.mod.o
  LD [M]  /tmp/modconfig-vXR2e6/vmxnet-only/vmxnet.ko.unsigned
  NO SIGN [M] /tmp/modconfig-vXR2e6/vmxnet-only/vmxnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.28.5.el6.x86_64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-vXR2e6/vmxnet-only'
make[1]: `postbuild' is up to date.
make[1]: Leaving directory `/tmp/modconfig-vXR2e6/vmxnet-only'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/modconfig-vXR2e6/vmxnet-only'

The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes]

INPUT: [yes]  default

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[yes]

INPUT: [yes]  default


Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed
if you want to enable Common Agent (caf). [yes]

INPUT: [yes]  default

Do you want to enable Common Agent (caf)? [no]

INPUT: [no]  default



Detected X server version 1.7.7

Stopping HAL daemon:                                       [  OK  ]
Starting HAL daemon:                                       [  OK  ]

X is running fine with the new config file.

Creating a new initrd boot image for the kernel.
Generating the key and certificate files.
Successfully generated the key and certificate files.
vmware-tools start/running
The configuration of VMware Tools 10.3.2 build-9925305 for Linux for this
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
[root@wls vmware-tools-distrib]#













No comments:

Post a Comment