LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-01-2006, 03:11 AM   #1
uxan
Member
 
Registered: Jun 2006
Location: Rwanda, Kigali
Distribution: Fedora core
Posts: 60

Rep: Reputation: 15
how to configure a fileserver in redhat linux


how can i configure a fileserver in redhat linux but the clients computers run on windows xp and managing the intranet in our company.

Please tell me
 
Old 08-01-2006, 03:17 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
For intranet you would use a http server, like Apache (apache2 actually).

For file serving..well it depends on what kind of fileserver it needs to be. If you like to "share directories", then I guess you need Samba (it uses the SMB protocol which Windows uses in network shares too). Or you could run a ftp server using ftpd. Or you could do a thousand things, but I guess Samba is what you're looking for..(or if it's not, post back).

EDIT: and I'm not posting any "how-to"s for this matter since there already are such articles..search Google and these LQ forums for how you set up Samba sharing and Apache/web-server.

Last edited by b0uncer; 08-01-2006 at 03:18 AM.
 
Old 08-01-2006, 04:32 AM   #3
uxan
Member
 
Registered: Jun 2006
Location: Rwanda, Kigali
Distribution: Fedora core
Posts: 60

Original Poster
Rep: Reputation: 15
i think samba is what i am looking for but i dont know how to configure it in a manner that anyone can't get access to the directories even if there are shared.
About intranet, i have a router and a computer which i want to be a network server then i want to know if it is possible to connect a wire which give us internet to the server and from the server i connect the router which will distribute the internet and intranet to the clients computer because i fear of virus and spywares that is why i want to pass the internet connection in the server and i distribute it.

thanks
 
Old 08-01-2006, 04:42 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You should be able to configure Samba so not everyone can use the shares; with Samba you can do, as far as I know, everything you could do with Windows when sharing directories.

Then the internet thing. You can achieve this in many ways, again, but you should remember one thing: even if you did use the server as a proxy or just forward all the internet connections through it, and the server contained Linux (and thus shouldn't get infected by viruses too easily), all the internet connections that can pass through - the ordinary ones - can still carry bad things along to your workstations (viruses, trojans etc.) You can probably filter some of the content (like emails), but it's not perfect; you still need personal firewalls and antivirus software etc. on your workstations. Anyway, you can make your server a web server (for the intranet) using Apache or some server software of your choice; then you can, using iptables for example, set the server "share it's internet connection" with the clients, thus achiving what you described.

Read more from samba.org (file sharing), apache.org (web server) and iptables.org (Linux's "built-in" answer to firewalling, routing, forwarding, NATing, masquerading and more).
 
  


Reply



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
how to install tomcat4 and how to configure in redhat linux 9.0 rajasekarvr Red Hat 1 04-23-2004 03:35 AM
how to configure DNS on redhat LINUX 9.0 ganeshp Linux - Networking 3 03-26-2004 12:18 PM
How to configure senmail as mailserver for Redhat Linux 9? learn25 Red Hat 1 02-23-2004 01:13 AM
how to configure email at linux redhat 7.2 jycm2001 Linux - Networking 3 10-16-2003 03:50 AM
how configure WINE in linux redhat 8 syedusman Linux - General 1 01-15-2003 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:24 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