LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2004, 11:19 AM   #1
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Rep: Reputation: 15
how do I setup a linux file server?


How do I setup a linux file server?
 
Old 03-22-2004, 11:33 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
For clients with windows? Then samba is the way to go - www.samba.org
BTW Its good to have a look at the forums if someone didnt ask the same question a few minutes ago
http://www.linuxquestions.org/questi...hreadid=160963
 
Old 03-22-2004, 11:43 AM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Rep: Reputation: 54
This is something that may kill you for a while so here you go:


Code:
[shared]
path = /data/shared
comment = Main share
browseable = yes
writable = no
create mode = 777
directory mode = 777
guest ok = yes

[temp]
path = /data/shared/temp
comment = main share
browseable = yes
writable = yes
create mode = 777
directory mode 777
guest ok = yes


Shared is read only, but temp is not. The rest is needed to make sure it allows you to read/write.

Also make sure you set the security level to share and put it the right workgroup, oh and last but not least set a netbios name because it defaults as localhost which conflicts with the real localhost when you try to access from windows.

You'd find these settings in global, but netbios name you have to add so it's like this:

netbios name = servername

With this info you should be up and running.

Oh, and all this is done in the /etc/samba/smb.conf

Or if you're lucky enough and that swat works, you can go (on the server) in the address bar of your browser and type http://localhost:901 (I think that's the port)

Hope this information helps, and there's lot of info on this forum too.
 
Old 03-22-2004, 03:26 PM   #4
Bronzzy
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Distribution: Red Hat
Posts: 24

Original Poster
Rep: Reputation: 15
also how do I make it compatible with windows? and how can i get rid of windows based viruses with linux?
 
Old 03-22-2004, 04:44 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338

Rep: Reputation: 54
It will already be compabible with windows.

To remove viruses, I know there are ways but I'm not sure how yet, but it's something I've been considering myself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Samba File Server with Shadow Copy support kstan Linux - Enterprise 2 07-04-2005 02:15 AM
setup a linux box to act as file server in LAN? sabex Linux - Newbie 12 02-07-2005 05:35 PM
Windows XP Setup for user verification with Samba file server crazyswede Linux - Networking 2 07-28-2004 04:51 PM
Slack install - Setup xf86config file but don't seem to have an X server up sidewalking Slackware 12 01-08-2003 04:13 AM
how to setup a file server ? buz114 Linux - General 3 12-26-2002 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration