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.
Location: Wentworthville NSW Australia, about 25km west of Sydney
Distribution: Fedora 4 (soon)
appropriate partitions and their sizes?
Soon I will install Fedora Core 4 onto a Dell P3 with 512MB of RAM. The 10GB hard disk will be empty (bye-bye Windows!).
This is a home/business system used primarily for internet (browsing and email) as well as light word processing/spreadsheets/databases/music.
But it will have multiple users.
I am not an applications fiend, so they will not be numerous; primarily will use Firefox, Open Office and Opera.
Might try to install WINE so I can stop using a separate Win box for MYOB (accounting software).
I have read several sources, including the HOWTO, advising several partitions be set up.
However there are variations in advice I would like to clarify:
One of the sources advised /tmp have a separate partition. Is a separate partition for /tmp necessary and, if so, why?
One of the sources advised /data have a separate partition. Is a separate partition for /data necessary and, if so, why?
I thought /data is just user data. Couldn't user data just be in /home? Or would one separate /data out so /home is data accessible to a single and /data is data meant to be accessible to all?
Based upon 'common' advice, the partitions I intend to set up are
swap (I know this is 2x RAM size).
What is the recommended size of these partitions (and /var or /data, if appropriate)?
Also, I wouldn't mind someone in the Sydney, Oz area being available by phone for quick questions while installing.
Also, I accidentally put this on the General forum but am not sure how to delete it. Please do, if someone else can!
1. Is a separate partition for /tmp necessary and, if so, why?
A separate partition for /tmp is not necessary, however it is a good idea if you have several users. If /tmp is in it's own partition, it will be mounted with the "noexec" option. Any globally writable partition should be mounted this way.
2. Is a separate partition for /data necessary and, if so, why?
I'm not familiar with a /data partition. Perhaps it is a name used when you are duel booting linux and windows, and have a vfat partition that both can write to.
Perhaps you meant the /home partition. The /home partition will be the largest. It is also where people put there personal files. By having /home on a separate partition, you could reinstall or upgrade or even go with a different distro, and retain your old documents, by choosing not to reformat the /home partition.
3. What is the recommended size of these partitions (and /var or /data, if appropriate)?
Given that the computer will be used mainly to browse the web, and not as a server, you may not need to have all of these directories ( /usr, /var ) in separate directories. This way, the sizes will be more flexible. The /usr directory is where programs are installed. As a result, this may be the largest aside from /home.
There are several reasons that a web or database server would have separate partitions. Firstly, having a partition like /tmp in it's own directory will allow you to mount it with the most secure options. Secondly, the /var partition contains the logs. If you had a server setup like many desktop computers, with a swap partition and one other partition, a hacker could bombard you computer with bogus request, in the hope of filing up your drive with log files. Also, there are some partitions that you may not want an upgrade to touch. One such is /usr/local. This is where programs you install yourself would be located. A new install will not write anything to this location. There may be performance issues also, if certain partitions are located on separate devices. Actually, in a homogeneous environment, many of the system partitions will be shared on the network which can make it easier to maintain a large group of hosts.