Sie sind auf Seite 1von 7

Share files/folders from Windows to Linux on VMWare

f you install Linux O.S. as (Guest Operating System) on top of your existing windows machine using VMware virtual Server check here, Next step is to copy R12/11i/oracle software from windows machine to VMware Linux O.S. Steps mentioned below are to share folder on Windows (host o.s.) and access it from Linux (guest o.s.) A. Share folder on Windows Machine 1. Check your windows Workgroup name >> Right click on My Computer and click on Properties

2. Click on Computer Name tab and check Workgroup Name

PREPARED BY RAVI KUMAR LANKE

Page 1

3. Next step is to share folder on windows machine Right click on Folder which you wish to share and access from Linux Machine and click on Properties

4. Click on Sharing taband select Share this folder on the network

PREPARED BY RAVI KUMAR LANKE

Page 2

. B. Changes on Linux Virtual Machine (Guest Operating System) 1. During Linux installation, select Customize software packages to be installed

2. Click on Details against Server Configuration Tools

PREPARED BY RAVI KUMAR LANKE

Page 3

3. Select system-config-samba Samba Server Configuration Tool

If you dont want to select Samba Server specifically, then select everything 3. select Everything from package list

PREPARED BY RAVI KUMAR LANKE

Page 4

After Linux installation, modify samba server configuration Open /etc/samba/smb.conf and make following changes 1. workgroup = [change it to your windows workgroup] like workgroup = WORKGROUP . 2. server string = Samba Server [name] like server string = Samba Server myLinux Server 3. Uncomment entry like hosts allow = [windows IP address] to check your windows machine use ipconfig

PREPARED BY RAVI KUMAR LANKE

Page 5

hosts allow = [your windows IP address here] like hosts allow = 192.168.1.2 (Please change above IP to your windows IP) 4. uncomment these two lines by removing ; (semicolon) from below two lines encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd 5. At end of file uncomment following files [myshare] comment = My Linux share path = /BI valid users = oracle public = no writable = no printable = no create mask = 0765 Here path = /BI is windows share name and valid users= oracle is user on windows machine. 6. Restart samba server using /etc/init.d/service smb stop /etc/init.d/service smb start 7. Create directory on Linux to view windows shared folder mkdir -p /stage/WinServer 8. Mount Windows share foler on linux using mount -t smbfs -o username=atul, password=[password] //192.168.1.2/BI /stage/WinServer above password is windows machine password for user atul (replace your windows username and password) 192.168.1.2 is IP address of windows machine ( Change 192.168.1.2 to your windows IP address and Verify that you can ping windows IP from Linux machine) BI is shared folder name on windows and /stage/WinServer is folder name on Linux

PREPARED BY RAVI KUMAR LANKE

Page 6

9. Access windows share on linux using cd /stageWinServer ls

PREPARED BY RAVI KUMAR LANKE

Page 7

Das könnte Ihnen auch gefallen