Associate
- Joined
- 9 Mar 2008
- Posts
- 1,039
Hi all,
I have tried setting up a CentOS virtual machine in VMware Server on a windows host and would like to be able to share files between the two. I have done this on many occasions with Ubuntu, where you can simply right click the file and select 'share' from the properties box. However, im really stuggling with CentOS!
I have tried editing the samba.conf file to include a path to the share with no luck (following a guide on here):
And it doesnt let me see the file in windows... Im not 100% sure i have the WORKGROUP bit correct, and im not entirely sure what this should be. Highlighting the host PC in the windows explorer indicates that the workgroup of the host is 'WORKGROUP' and the network location is 'Network'.
Im sorry if this sort of thing has been asked lots of times before, but its driving me nuts! Googling and searches on here have not yielded anything conclusive. I'm not linux phobic (although it would appear im network phobic!), and have compiled my own kernels for ubuntu, but this is making me feel like a right idiot to be honest - i miss Ubuntu!
I have tried setting up a CentOS virtual machine in VMware Server on a windows host and would like to be able to share files between the two. I have done this on many occasions with Ubuntu, where you can simply right click the file and select 'share' from the properties box. However, im really stuggling with CentOS!
I have tried editing the samba.conf file to include a path to the share with no luck (following a guide on here):
Code:
sudo gedit /etc/samba/smb.conf
Find the WORKGROUP setting and change it to the name of your network.
Add this to the bottom of the file
[...]
path = /home/username/... (change as necessary)
read only = no
browseable = yes
Save the file and quit.
Now you need to add a user and set a password:
sudo smbpasswd -a <username>
Now restart Samba:
sudo /etc/init.d/sam restart
And it doesnt let me see the file in windows... Im not 100% sure i have the WORKGROUP bit correct, and im not entirely sure what this should be. Highlighting the host PC in the windows explorer indicates that the workgroup of the host is 'WORKGROUP' and the network location is 'Network'.
Im sorry if this sort of thing has been asked lots of times before, but its driving me nuts! Googling and searches on here have not yielded anything conclusive. I'm not linux phobic (although it would appear im network phobic!), and have compiled my own kernels for ubuntu, but this is making me feel like a right idiot to be honest - i miss Ubuntu!
