Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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!!!
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...
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...
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
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.
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....
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).
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!!
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,