Share Folder in VMware Linux Virtual OS with Windows
ගොඩාක් අය නොමිලයේ බාගන්න පුළුවන් VMware Virtual Images භාවිතා කරනව. නමුත් මේ අයගෙන් බොහෝ දෙනා සාමාන්ය පරිගණකය සහ VMware Virtual Image එක අතර Network සාදාගන්න බැරිවෙනව. එහෙමත් නැතිනම් බොහෝ වද වෙනව ගොනුවක් හෝ ෆෝල්ඩරයක් share කරගන්න. ඉතින් මම සිතුව මේ දේ ගැන ලියන්න. මම මයික්රෝසොෆ්ට් විස්ටා සමග OpenSUSE හා Ubuntu Images එක්ක මේ පරික්ෂා කරල තමා ලියන්නෙ. මේක ලිවුවෙ නම් ඉංග්රීසියෙන්. මොකද මම මේ Network ආශිත වදන් සිංහලට හැරවීම කරන්න අපහසු නිසා. සහ කාලය වැය වෙන නිසා.
Lot of peoples using VMware Player and free downloadable VMware Virtual Images to reduce the time which installing. But lot of them has some problems in configuring Network with Linux PCs and also files sharing. I’m using Windows Vista with Open SUSE and Ubuntu images. I think this can be a helpful, if you are having these cases.
Step 1 : Make sure VMware Player is installed properly with 2 network connections. VMnet8 Connection is enough.
Step 2 : Check the if Connection is DHCP enabled, If enabled make sure Default Gateway, DNS Server, WINS Server shows same IP address. Normally assign the First IP Address in the network to your physical PC Operating system and Second Address to These three.
Step 3 : Enable Network interface in VMware player when started the boot Virtual machine and set it as a NAT(Network Address Translation).
Step 4 : Configure the Network Interface you wish. You can use Terminal or GUI Interfaces.
E.G. :
1. Set IP Address:
ifconfig eth0 192.168.17.125/24 OR ifconfig eth0 192.168.17.125 netmask 255.255.255.0
2.Set Default Gateway
route add default gw 192.168.17.2
3.Set DNS/ Name Servers
Add or Edit nameservers to /etc/resolv.conf file as a nameserver 192.168.17.2
Step 5 : Enable changed settings using ifdown and ifup Commands.
Step 6 : When you done properly these things You can check is it works using ping command. Check using both sides. Doesn’t ping working properly, check again you setup IP Address, DNS Servers and Default Gateway. And reload Network interface.
Step 7 : In Linux Box, install Samba to share the resources to Windows PCs.
Step 8 : backup samba configuration file
E.G.
cp /etc/samba/smb.conf /home/harshana/Desktop/
Step 9 : Configure Samba service
Sample :
[global]
workgroup = WORKGROUP
security = user
passdb backend = smbpasswd
[homes]
inherit acls = Yes
browseable = No
read only = No
Step 10: Add users using smbpasswd command, and restart the samba service (/etc/init.d/smb restart) and check is it working using Windows PC.
Step 11 : create Folder to share windows Users. And give permission you wish.
E.G.
mkdir /share chmod 777 /share
Step 12 : Add this code to Samba Configuration File and restart the Samba service
[share]
inherit acls = No
browseable = Yes
path = /share/
read only = No
public = Yes
Step 13 : Now you can access(read/write) shared folder using Windows Explorer.














2 Comments on “Share Folder in VMware Linux Virtual OS with Windows”
නියමයි!
සිංහලින්ම උපදෙස් ටික ලියන්න බැරිද?
පරිවර්ථනය කරන්න වෙලා යන නිසා තමා මම මේ ඉංග්රීසියෙන්ම ලිවුවෙ.