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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to know what is the correct way to set up partions basically what all partions do I need. I've seen some articles where they only create swap, /boot and /. Also for server setups I've seen where a /tmp /var are recommended how large should var and tmp be?
there is no "correct" at all, it depends how you wish to use the system. if you don't know about why you want to do this, don't bother, and let an installer use a basic default as you said above.
having several partitions can be handy later when experience grows. i have learned that it is handy to have a large partition for '/home', about 6gb to 8gb for '/', 512mb for swap and recently I found it handy to have a separate partition for '/var' about 1gb will do. the latter is where synaptic stores all the package files (at the moment for me now 648mb i use). if you are using several distro's that use the same base os (debian in my case) you can let them us the same '/var' partition which certainly speeds up any upgrade and software installs as synaptic will only download package files that are not already in '/var/cache/apt/archives'. make sure your sources lists have many of the same links in the distro's installed on the system. you can also use the contents of '/var/cache/apt/archives' to help speed up upgrading and installing software on other machines that you may have. it just saves you downloading the same files time and time again, in my case with my so called broadband connection with a maximum of 54kb/s these downloads can take up hours otherwise, now it is minutes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.