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.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Ext2 and ext3 refers to the journal used.Ext3 has a better way of doing so.
If it is possible in the distro you use to make 3 partitions than ./ = fore programs /home fore user data
and what swap is I think you know what that is.
Technically you could get away with just a / partition, but most distros like to have a swap. People add /home partitions, /var, /usr, you name it. it depends on what you are doing. Note that under / you will always have /home, /usr, etc, the point of making them, separate partitions depends on the partition. A /home partition makes reinstalling easier; a /var partition on a server makes it difficult for a rampant log process to fill the root file system, etc.
Edit - ext3 is basically ext2 with journaling added. ext2 doesn't have journaling
Last edited by billymayday; 07-09-2008 at 05:12 AM.
You'll probably need to run "updatedb" as root first before locate will work. This is because locate uses an index of your files to search which has to be created at least once. Run "updatedb" again to update its index when files change too or you'll get old results.
A good rule of thumb is to have /, /home, /usr, /tmp, /var and /boot on their own partitions.
Reasons for this is so if any of them run out of space, they won't directly impact /. When / fills up, things start to break.
/home - for users and their junk. Users can be notorious on filling up space. Creating it on it's own partition protects users from bringing the system down cause they felt the need to store gigs worth of pictures, media files, etc.
/boot - well, it's nice to have /boot all alone. If everything else gets trashed, starts as a starting point to recover the system.
/var - Logs go here. Get a runaway process that produces gigs worth of logs, this protects / for such reasons.
/tmp - Well, it's temporary but everyone has access to read/write. So think of it as home or some application that goes bonkers, good to know such things won't bring your system down due to stupid programming or stupid users.
/usr - usually this is a place for 3rd party applications. You wouldn't want to be installing your favorite applications not knowingly taking up space that fills up / bringing down your system.
Some will also create a separate /opt partition. Think of it as /usr, many Java applications go here by recommendation, etc.