Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share folders in lan

Status
Not open for further replies.

zarahel

IS-IT--Management
Nov 7, 2006
33
PT
Hey you all,need help

I have linux fedora core 6 installed and I´m a complete noob when it comes to linux. I need to share folders in linux to be accessed in my lan by all pc´s ( using windows xp).

I´ve tried to install samba but like I said I´m a noob and had no luck. Does somebody know any simple and direct way to share a folder?

Thkx
 
Assuming the folder is on a FAT32 partition, just edit your /etc/samba/smb.conf:

[Share name]
path = /to/your/directory
comment = This is my share
 
Samba is the only way to share a folder?
 
Not necessarily, you could set up a web server, FTP, etc...
I've also heard that there's a way to have xp access an NFS share. But Samba is the easiest way in this case.
 
Well,I´ve tried to install samba,and I´ve compiled the binaries but i can´t start the service...I´ve got no smb.conf,so I´ve created one manually with the basic configuration.but it doesn´t work.When I do the service smb start i get nothing
 
FC6 should have the samba server package included. Just use the package manager or yum to install it.
 
smah , like i said,I have linux for 2 days...lol

don´t quite know how to use yum,or even what yum is...can u help me to install samba package?
 
Are you using the graphical display? I haven't tried FC6 yet, but I would expect it to be arranged like earlier versions, so, from the Gnome panel select Desktop, System Settings, Add and Remove Applications, select Windows file server. Make sure the 'Details' include the extra package for the configuration tool. This will make the initial configuration easier.

Alternatively, to use yum, open a console, su to root, then type yum install samba
 
Wait. Your a noob and your compiling Samba? I don't get it.

Just use the binary.

 
lol...yes! I´m responsible for the networking department in my company...but I´ve never worked with linux before. I was given the task of migrating from windows to linux!The first step was to create a linux server with shared folders for each user,but like i said before i´m tottally new to linux.


Smah,thkx...you were right:samba was already arranged in FC6...i only had to go to add applications and it was done.Once again,thkx
 
Have your boss buy you some books on linux and fedora and take a coulple of weeks off (paid of course) to read them[smile]

The answer is "42"
 
Zar-
Open up a terminal window and go to the directory /etc/rc5.d/ (type cd /etc/rc5.d/ and press enter)

Once there type this and press enter (you must be logged on as 'root', or have similar rights as root)

./K35smb

Make sure that you include the period at the beginning, as I have shown.

Post back here and let me know what happened. If it starts successfully you should see an [ OK ] status message come up.

GVN
 
Sorry, you need to type:

./K35smb start


The "start" tells the script K35smb what to "do". The typical options are stop, start, status (which lets you know it's present state), and restart.

Hope this helps in your UNIX knowledge!

GVN

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top