Solved

Sharing files between a CentOS server and WIndows server.

Posted on 2011-02-13
3
879 Views
Last Modified: 2012-06-22
Hello,

I have two servers. One running WIndows 2003 server, and the other CentOS.  Both are in the same segment of the network.

I would like to be able to access some files in a directory on the CentOS server, from an application on the Windows server.

If this was two windows severs I would just share and map the directory.  However I have no experience of Linux and/or CentOS.

How would i go about doing this?  Should i map a directory somehow, or FTP the files to the windows server?  Can anyone recoment a solution.

Thanks.

0
Comment
Question by:soozh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:AriMc
ID: 34882422
You can access network disks shared by Windows computer by mounting them
as smbfs-disks. Instructions can be found here:

http://www.cyberciti.biz/tips/how-to-mount-remote-windows-partition-windows-share-under-linux.html
0
 
LVL 6

Accepted Solution

by:
t-max earned 500 total points
ID: 34882499
From what I understood in your description, it seems you need to access your linux files from a Windows program.
The following link has a very shortened guide:
http://www.hackorama.com/network/samba.shtml
If you want a more thorough description on how to achieve this, take a look here:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch10_:_Windows,_Linux,_and_Samba
0
 
LVL 3

Expert Comment

by:oppofwar
ID: 34913507

Suppose you want to access a share in windows from Linux use the below command

mount -t cifs \\\\IPADDROFWINDOWSMACHINE\\SHARENAME /mnt -o username=USERNAMEOFWINMACHINE password=PASSWDOFWINMACHINE

this will mount the share to /mnt directory
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Enterprise Mode 4 54
RHEL installation problems on HP Proliant DL 360 G6 server 20 128
Delete Disconnected Site from Active Directory 3 58
windows Server 2003 in 2017 10 68
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question