Results 1 to 7 of 7
Hi Friends,
Is there a way to share files and folders between WinXP and CentOS installed on same WinXP machine via VMware i.e I have installed iso image in vmware ...
- 11-10-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 7
Sharing files between WinXp and CentOS on vmware
Hi Friends,
Is there a way to share files and folders between WinXP and CentOS installed on same WinXP machine via VMware i.e I have installed iso image in vmware to run it as windows program.
Thanks and regards,
Saurabh.
- 11-10-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,842
- samba (Linux has client to mount Windows shares, or you could install Samba server and have Windows access Linux samba shares)
- ftp (server on Linux, Windows has command line client - ftp)
- ssh (server on Linux, putty in Windows as client)
- some built-in file sharing capabilities in VMware that I don't know about
- 11-11-2011 #3Just Joined!
- Join Date
- Oct 2011
- Posts
- 7
Hi Atreyu,
Thanks for the reply.
But i am new to linux environment and my question might be quite stupid. But how can i install various application in CentOS which is a vmware image on my winxp system ?
Please guide me so that i can install samba server/client.
Thanks.
Saurabh.
- 11-11-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,842
What version of CentOS are you running?
Is your CentOS box able to get to the internet? If so, then yum is the tool you will need to get to know. It is a package manager which will handle software dependencies for you. It calls rpm behind the scenes, but don't worry about that for now.Code:cat /etc/redhat-release
Run all the following commands as root.
Make sure you can see the default CentOS repos:
Then start with the ftp daemon:Code:yum repolist
Configure the daemon to autostart at boot time:Code:yum install vsftpd
Edit the daemon config file as needed:Code:chkconfig vsftpd on
Read up on that config file:Code:vi /etc/vsftpd/vsftpd.conf
Fire up the ftp daemon:Code:man vsftpd.conf
This calls a shell script, /etc/init.d/vsftpd, to control the daemon, FYI.Code:service vsftpd start
Create a user for ftp with password of "password", e.g.:
Test your ftp daemon with your new user:Code:useradd -g users ftpuser echo password|passwd ftpuser --stdin
Note: you might need to temporarily disable your firewall, in order to get it working (if so, we'll configure it later):Code:ftp localhost
Note2: you might need to temporarily disable SELinux, too:Code:service iptables stop
Get that much going, then try to ftp to your Linux box from your Windows machine.Code:setenforce 0
Report your progress...
- 11-13-2011 #5Just Joined!
- Join Date
- Oct 2011
- Posts
- 7
Hi Atreyu
Thanks for guiding me !!!
it was awesome to set the ftp...thanks a lot.
The CentOS version is 5.6 (vmware image) that i run on my winxp system.
I did login successfully also, but did NOT succeed to ftp to CentOS from WinXP
I tried even from FileZilla but no success. I know it would sound like spoon feeding but can you please guide me with the next steps.
I want to set the ftp such that i can transfer files from windows to CentOS and back from CentOS to windows.
Thanks and regards,
Saurabh.
- 11-19-2011 #6Linux Guru
- Join Date
- May 2011
- Posts
- 1,842
Sorry for the slow response...was out of pocket. Have you already solved your problem? If not....
So did you start the ftp server on the Linux side? e.g.:
Did you create the user as suggested?Code:service vsftpd start
Did you try to connect locally (on the Linux side) first, as a test? e.g.:
If it fails, show what messages are sent to your terminal. Also check logs:Code:ftp localhost
To set up an FTP server on the Windows side, you can use the FTP server built-into IIS (depending on your version of Windows - it may come with it). There are also freeware FTP servers you can use, such as War FTP Daemon.Code:/var/log/xferlog /var/log/messages /var/log/secure
- 11-19-2011 #7Just Joined!
- Join Date
- Nov 2011
- Location
- Bandung
- Posts
- 6
If you want just copy file betwen your windows with linux, I thing beside ftp and samba you can use winscp and install it on your windows xp.


Reply With Quote