LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2003, 04:52 PM   #1
aioss
LQ Newbie
 
Registered: Oct 2003
Posts: 14

Rep: Reputation: 0
3 Questions Regarding File Structure And Sftp


Hi,

Can anyone advise me on the best way to break up a 160 drive for red hat 9. Since I am fairly new to linux I wanted some suggetions. Currently I bought this drive with the intentions of backing up my other two drives, bootable that is.
Other setup I think is poor but I knew no better. I have a 20GB drive (scsi) with RH9 on it (home, boot, bin, everything but var on this scsi drive) then I put the /var dir on the 80GB EIDE drive (which I ended up storing movies, software, etc) and where many go to sftp stuff off of it. Now it seems pretty wastfull to have 20GB dedicated to everything (when I have no users) and I don't have any users but myself, can forsee at most maybe 2 or 3, but small allowences. So what I would like to do is build this new 160GB drive correctly amd I am not even sure it was a good idea to put /var on 80GB. I originally thought to keep the OS on the faster drive (scsi), but now I am less certain.

Next Question: Is there any RPM's that I can install that will allow live monitor usage of SFTP, including the files, direcories they are downloading?

Last Q: now that my server is configured for ssh,vnc,sftp,appache can I easily either transfer the config files to the new os install or somehow copy the current OS to the new drive and still be bootable?

Thanks.
 
Old 10-25-2003, 06:39 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
The Linux partition howto gives some good suggestions on dividing up your partitions. It really depends greatly on what you plan to use your system for.

If you only plan to have a few users, then /home does not need to be too large. Though, if your few users want to store large mp3 collections, then perhaps it should be big.

Unless you plan on doing web hosting and putting a lot of stuff in /var, it doesn't need to be too large either. A few GB should be plenty.

/usr is typically the biggest, since it's where all your software gets installed. If you plan to install a lot of different programs, make /usr fairly large. If you only plan to install a few packages and then leave it at that, then /usr doesn't need to be so large.

You can make /tmp separate if you like, but there's really no need to. If your users plan on sharing some files, then you could set up a /pub folder or something similar for everyone to use for whatever they like, though this is fairly insecure, so don't do it if you have security concerns.

Not sure what to tell you about sftp and the other stuff, though.
 
  


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
Wine directory structure questions Rundi Linux - Software 2 01-03-2005 07:00 PM
sftp via rssh security questions plan9 Linux - Security 2 08-04-2004 10:38 AM
newbie file structure questions wogga Linux - Hardware 2 06-08-2004 06:19 AM
File structure of Linux TDEE Linux - Software 6 02-26-2003 11:10 PM
File Structure Stephanie Linux - General 2 07-19-2001 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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