LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-25-2005, 09:28 AM   #1
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Rep: Reputation: 0
File Server


Hey folks,

I am wanting to set up my Linux box (Mandriva 10.2) to simply be a reservoir of files....mp3, software,video etc that I, or anyone for that matter can access from anywhere. Since I have Apache and FTP server capability, which should I use...easier is better!....I have all the files I want in my /home/mandriva directory....Apache needs the files in a different place (/var/www/html) i discovered....do I need to transfer all my files to that directory if I choose to use Apache???

I also noticed that when I log into the FTP server, I can access the whole computer!!!!...this isn't good!!!
 
Old 10-25-2005, 09:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it depends how you want to use it, both http and ftp servers will probably provide whatever access you want. for clients, apache would be easier, and you're wrong to think they have to be in a certain location. that's just a default location, mind you you would appear to have picked a dumb place anyway! ;-) i'd recommend somewhere in /var, e.g. /var/media/mp3 /var/media/video etc...
 
Old 10-25-2005, 10:39 AM   #3
zak317
Member
 
Registered: Oct 2005
Location: 500$/monthly
Distribution: Mandriva 2006
Posts: 56

Rep: Reputation: 15
I don't recommend you to use FTP unless you have general public clients. Otherwise, use SSH which is much more secure and flexible. You must have a ssh daemon (sshd service) running on your server and you can access it with WinSCP from Windows (http://winscp.net/eng/index.php) or from Linux box, you can use SSH from the command line (man ssh) or sftp from Konqueror...

Regards,
 
Old 10-25-2005, 01:04 PM   #4
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
OK, FTP is out...I do have SSH daemon running although I dont know what it is. What I want to end up with is just a place to store vaious files on my Linux box, that I can access elsewhere via Internet Explorer. I thought since there was a "home" directory created by Linux....all your stuff goes in there, sort of like "My Documents" in XP

1) if I use Apache....where do I put all my files (default install created a folder /var/www/html)


2) If I use this SSH, where do the files go and how do I access them from Internet Explorer while at another place
 
Old 10-25-2005, 02:06 PM   #5
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
I think what you want is samba.
 
Old 10-25-2005, 03:09 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
internet access to a samba server? ack! I guess that's me assuming you mean internet... if you are only planning on getting file access, then use an access method that only goes one way and is designed for what you want.. samba is great, ideal, ofr LAN file access and network shares, but please.. not on the internet.
 
Old 10-25-2005, 03:30 PM   #7
zak317
Member
 
Registered: Oct 2005
Location: 500$/monthly
Distribution: Mandriva 2006
Posts: 56

Rep: Reputation: 15
Quote:
Originally posted by acid_kewpie
internet access to a samba server? ack! I guess that's me assuming you mean internet... if you are only planning on getting file access, then use an access method that only goes one way and is designed for what you want.. samba is great, ideal, ofr LAN file access and network shares, but please.. not on the internet.
I agree!! I think your best friend is SSH. It's like an FTP server so you can browse the files and folders like you do in Windows Explorer. Just install WinSCP on your Win box and connect to your server by entering IP address, your username and your password...

But if you don't know a lot about Linux and related stuff, I think I'm too far now! Please ask questions if you don't understand everything....

 
Old 10-25-2005, 05:24 PM   #8
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
re: Win SCP

Hmmm, excellent idea ZAK....the only thing is I would have to install WIN SCP on every computer I need to use (away from home)...to access my Linux box over the Internet. If I use FTP, I can use a client (also something I would have to install).

I think I'm talking myself into using Apache for these files...just have to figure out a way to have the files display using Internet Explorer.....http://xxx.xxx.xxx.xxx......instead of typing in ftp://xxx.xxx.xxx.xxx

Must have to create a web page, have an index.html file

got my work cut out now,lol
 
Old 10-25-2005, 05:26 PM   #9
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Correct me if I'm wrong, but Internet Explorer has built in ftp functionality. Not very good one, but it's there nonetheless - ftp://whatever should display the files for you, I think. Cheers,

-Felix
 
Old 10-25-2005, 06:10 PM   #10
scottoaks
LQ Newbie
 
Registered: Oct 2005
Posts: 14

Original Poster
Rep: Reputation: 0
ftp access

Ya, FTP works great in Internet Explorer but I'm hearing it isn't really that secure.....also, when I log in to mine....I can see everything from the ROOT on, everything is accessible....would like it better if I could limit access to just my /home....folder.....must be a way, just don't know it yet! Wish there was a GUI interface to configure the damn thing!!
 
Old 10-25-2005, 06:14 PM   #11
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
I believe that IE http would be of the same security level as IE FTP - you might gain more from tightening security at the server side of things. As for the / stuff, I can't say I know, I've never set anything like that up, but I suggest just combing through the config files, it works a lot of the time. Regards,

-Felix
 
Old 10-27-2005, 09:55 AM   #12
zak317
Member
 
Registered: Oct 2005
Location: 500$/monthly
Distribution: Mandriva 2006
Posts: 56

Rep: Reputation: 15
If you prefer a HTTP file browser, take a look at Webdav (mod_dav for Apache). I think thats what you are looking for!

→ Zak ←
 
  


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
backup server ; network file system / ftp-server ? markus1982 Linux - Security 5 06-06-2007 05:15 PM
File Server - File system? Samba SUSE9 crazyswede Linux - Newbie 1 04-14-2005 10:04 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
File Corruption in Red Hat 7.3 File Server dmurph2k2 Red Hat 3 10-09-2003 02:30 PM
File Corruption on Red Hat 7.3 File Server dmurph2k2 Linux - General 2 10-09-2003 12:38 PM


All times are GMT -5. The time now is 04:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration