Here are some general tips for new Linux users, and things often overlooked by more seasoned users (including myself).
- If you can not access a particular resource, such as serial ports, don’t get any sound, etc. then check to be sure your user account is in the appropriate group for access.
Resource - group
Serial ports - tty
Sound - audio
CD/DVD readers/writers - cdrom
USB devices - usbdev or usb
These groups may be different, depending on the distribution of Linux you are using, so check the /dev group to see what group the device(s) you want to access are in and then put your userid into those groups.
-
When installing Linux, be sure you have /home (8 GB), /var (8 GB), and /tmp (8 GB), and /usr (16 GB) on a separate partition. This partition grows faster than one would expect, even with just one or two users. I’ve shown the values I always use and have never had problems with them, except for /home overflowing. If you do not have a separate /usr/local partition, 16 GB is the minimum you should have for /usr. /var gets most of the VARiable data, such as databases, websites, logs, etc, so should never be less than 8 GB - it can grow very quickly. The same goes for /tmp, but it can actually go as small as 4 GB (or even 2 GB) depending on how you use your system.
-
I also like to have /usr/local (16 GB) and /src (16 GB or larger) on separate partitions. I use /src for building all new software I add, including my own development. Having a separate /src partition makes it very easy to reload Linux without losing anything. Depending on your distribution, /usr can fill up pretty fast because a lot of stuff gets put in /usr and /usr/local. Size these according you your needs and space available. I have found that having these less than 8 GB is generally a mistake and it’s real hard sometimes to go back and fix that. Think of /usr as similar to your C: drive for Windows - this is where everything gets stuffed, new software, data, etc.
-
For some distributions, you will not be able to su (become superuser) to root (the master administrator account) without being in the wheel or root group. Check this and be sure you can su to root. I guarantee there will be times you want to do something and won’t have the privledges necessary without becoming superuser, so be sure you can su to root.
I’ll update this thread as I find more things that need to be here or get suggestions for them.
8-Dale