LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Debian to windows file sharing programs (https://www.linuxquestions.org/questions/linux-software-2/debian-to-windows-file-sharing-programs-946890/)

Vodkaholic1983 05-25-2012 03:38 PM

Debian to windows file sharing programs
 
Hi all, Is there any programs I can use to share files and folders on my debian server to my windows 7

So it the folders and files can "act" as if they was normal windows ones.

cheers

roreilly 05-25-2012 03:54 PM

You probably want Samba.

sudo apt-get install samba

If you want to manage shares via the web UI, use swat. (Samba Web Administration Tool)
Do not use swat & hand edit the smb.conf file. Swat will overwrite the file.

sudo apt-get install swat

Swat runs on port 901.

For configuration of swat, see here: http://www.samba.org/samba/docs/man/...tion/SWAT.html


edit /etc/samba/smb.conf to add shares.

Ideally, use the same workgroup name you use in Windows.

eg: workgroup = mywindowsworkgroup


Here is a very simple share example:

Below #======================= Share Definitions =======================

Add a share definition. You will also find some sample shares defined in the default
config.

eg:

[Music]
public = yes
path = /var/local/Media/Music

Add a samba user:

smbpasswd -a myusername

restart samba:

/etc/init.d/samba force-reload.

As I mentioned, this is a very simple samba sample.

Good luck.

TobiSGD 05-25-2012 03:55 PM

Samba: http://www.debianhelp.co.uk/samba.htm

Vodkaholic1983 05-25-2012 03:58 PM

Quote:

Originally Posted by roreilly (Post 4687687)
You probably want Samba.

sudo apt-get install samba

If you want to manage shares via the web UI, use swat. (Samba Web Administration Tool)
Do not use swat & hand edit the smb.conf file. Swat will overwrite the file.

sudo apt-get install swat

Swat runs on port 901.

For configuration of swat, see here: http://www.samba.org/samba/docs/man/...tion/SWAT.html


edit /etc/samba/smb.conf to add shares.

Ideally, use the same workgroup name you use in Windows.

eg: workgroup = mywindowsworkgroup


Here is a very simple share example:

Below #======================= Share Definitions =======================

Add a share definition. You will also find some sample shares defined in the default
config.

eg:

[Music]
public = yes
path = /var/local/Media/Music

Add a samba user:

smbpasswd -a myusername

restart samba:

/etc/init.d/samba force-reload.

As I mentioned, this is a very simple samba sample.

Good luck.

Thanks I will try that!

I have tryed these so far
http://www.swish-sftp.org/
http://www.expandrive.com/

Swish was good but I couldn't cut and paste files from windows to debain etc...

Vodkaholic1983 05-25-2012 04:10 PM

edit ive done it :D Thanks alot all :3


All times are GMT -5. The time now is 10:53 AM.