From Schmid.wiki
Jump to: navigation, search

Installation

Through annoying experiments, I have discovered that a working Gentoo installation requires about 6 GB of HD space.

Initscripts

rc-status -a                  shows all initscripts and their status
rc-update -a SCRIPT default   add SCRIPT to default runlevel
rc-update -d SCRIPT default   remove SCRIPT from default runlevel
/etc/init.d/SCRIPT stop       stop SCRIPT
/etc/init.d/SCRIPT start      start SCRIPT
/etc/init.d/SCRIPT restart    restart SCRIPT

If you encounter problems like:

* WARNING:  "SCRIPT" has already been started.

you can resolve them with

/etc/init.d/SCRIPT zap

Users Management

add user:

# useradd svin -m -G users -s /bin/bash
# passwd svin

remove user:

# userdel svin

File Locations

/etc/make.conf          - USE and compiler flags
/etc/package.keywords   - which versions of packages to install (see
                          Portage)
/usr/portage/[category] - ebuilds
/usr/portage/distfiles  - software tarballs
/usr/portage/licences   - software licenses
/var/db/pkg/[type]/[package]-[version]/
                        - currently installed package settings and ebuild

References

Pages in category "Gentoo"

The following 13 pages are in this category, out of 13 total.