Howtos for Gentoo Linux (last version created: Sa 25. Feb 18:30:42 CET 2012)

Up-to-date Howto(s) and Documentation(s) for Gentoo Linux.

The special thing of this is that the Documentation generates automatically from my running system, so it is every time up to date.
Further this Howto is build modular. The Howtos are sorted in alphabetical order. Every topic has its dependencies. For example: You have to finish Webserver Howto for building webbased statistics.

I hope to give something back to the community with this document.

Please enjoy and send any ideas, wishes or advancements to: doc<at>gabosh.net

License

Copyright (C) 2008 Oliver Bohlen.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

A copy of the license is included in the section entitled "GNU Free Documentation License".

Introduction

This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

All in one page

Here you can find the complete documentation in one page

Howto listing

ARP monitoring
Automatic System Documentation
Backup
Basesystem
DHCP-Server
DNS
Distcc Client
DynDNS
Faxserver
File deduplication
File-Server - Samba
Firewall and Traffic Shaping
HD-Spindown
Horde Groupware Webmail
Horde to Fritz!Box
IMAP/POP3-Server
Mailinglists with MailMan
Mailserver
MySQL-Server
OpenLDAP
OpenLDAP Groups in Groups
OpenLDAP System authentication
OpenLDAP WebGUI phpldapadmin
Printserver
Rename files recursively
Rsync Server
SSL/TLS with CAcert
Sane Scanner Server
Save passwords encrypted
Server for thinclients
Sort files alphabetical
Statistics
Stopping brute-force-attacks with fail2ban
Thinclient - Basesystem
Thinclient - Install on local device
Thinclient - Kernel-based Virtual Machine - KVM
Thinclient - PAM_Mount
Thinclient - Printserver Client - CUPS
Thinclient - Profiling
Thinclient - Thinclient as Server
Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch)
Thinclient - Wireless LAN
Thinclient - X-Server
Time-Server
VPN-Client
VPN-Server
WLAN Access Point
Webserver

File Index

/boot/grub/grub.conf (Basesystem)
/etc/amavisd.conf (Mailserver)
/etc/apache2/vhosts.d/vhosts.conf (Webserver)
/etc/apache2/vhosts.d/vhosts.conf (Mailinglists with MailMan)
/etc/apache2/vhosts.d/vhosts.conf (Automatic System Documentation)
/etc/awstats/awstats.doc.gabosh.net.conf (Statistics)
/etc/awstats/awstats.gabosh.net.conf (Statistics)
/etc/awstats/awstats.gallery.gabosh.net.conf (Statistics)
/etc/awstats/awstats.gentooly.homelinux.org.conf (Statistics)
/etc/awstats/awstats.gtc.gabosh.net.conf (Statistics)
/etc/awstats/awstats.horde.gabosh.net.conf (Statistics)
/etc/awstats/awstats.mailserver.conf (Statistics)
/etc/awstats/awstats.www.gabosh.net.conf (Statistics)
/etc/bind/named.conf (DNS)
/etc/clamd.conf (Mailserver)
/etc/conf.d/apache2 (Webserver)
/etc/conf.d/arpwatch (ARP monitoring)
/etc/conf.d/consolefont (Basesystem)
/etc/conf.d/dhcpd (DHCP-Server)
/etc/conf.d/hostapd (WLAN Access Point)
/etc/conf.d/hostname (Basesystem)
/etc/conf.d/in.tftpd (Server for thinclients)
/etc/conf.d/keymaps (Basesystem)
/etc/conf.d/net (Basesystem)
/etc/conf.d/nfs (Server for thinclients)
/etc/conf.d/saslauthd (OpenLDAP System authentication)
/etc/conf.d/slapd (OpenLDAP)
/etc/cron.daily/clearat.sh (Basesystem)
/etc/cron.daily/cyrus-purge.sh (IMAP/POP3-Server)
/etc/cron.daily/logrotate.cron (Statistics)
/etc/cron.daily/ntpdate.sh (Time-Server)
/etc/cron.daily/pxe.cron (Server for thinclients)
/etc/cron.hourly/f2bcheck (Stopping brute-force-attacks with fail2ban)
/etc/crontab (VPN-Client)
/etc/crontab (DynDNS)
/etc/crontab (Backup)
/etc/crontab (HD-Spindown)
/etc/crontab (OpenLDAP System authentication)
/etc/crontab (Horde Groupware Webmail)
/etc/cron.weekly/gtcupdate (Thinclient - Basesystem)
/etc/cups/cupsd.conf (Printserver)
/etc/cups/mime.convs (Printserver)
/etc/cups/mime.types (Printserver)
/etc/cyrus.conf (IMAP/POP3-Server)
/etc/dhcp/dhcpd.conf (DHCP-Server)
/etc/dhcp/dhcpd.conf (Server for thinclients)
/etc/dhcp/dhcpd.conf (DHCP-Server)
/etc/dhcp/dhcpd-ldap.conf (DHCP-Server)
/etc/distcc/hosts (Distcc Client)
/etc/env.d/02locale (Basesystem)
/etc/exports (Server for thinclients)
/etc/fail2ban/fail2ban.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/jail.conf (Stopping brute-force-attacks with fail2ban)
/etc/freshclam.conf (Mailserver)
/etc/fstab (Basesystem)
/etc/fstab (Server for thinclients)
/etc/hosts (Basesystem)
/etc/imapd.conf (IMAP/POP3-Server)
/etc/ldap.conf (OpenLDAP System authentication)
/etc/local.d/services.start (Firewall and Traffic Shaping)
/etc/local.d/services.start (Automatic System Documentation)
/etc/logrotate.d/syslog-ng (Basesystem)
/etc/mail/aliases (Mailserver)
/etc/mail/aliases (Faxserver)
/etc/mailman/mm_cfg.py (Mailinglists with MailMan)
/etc/mail/spamassassin/local.cf (Mailserver)
/etc/make.conf (Basesystem)
/etc/make.conf (Webserver)
/etc/make.conf (Distcc Client)
/etc/mysql/my.cnf (MySQL-Server)
/etc/nsswitch.conf (OpenLDAP System authentication)
/etc/openldap/dhcp.ldif (DHCP-Server)
/etc/openldap/dns.ldif (DNS)
/etc/openldap/groupsingrpoups.ldif (OpenLDAP Groups in Groups)
/etc/openldap/ldap.conf (OpenLDAP)
/etc/openldap/ldap.ldif (OpenLDAP)
/etc/openldap/samba.ldif (File-Server - Samba)
/etc/openldap/schema/dnszone.schema (OpenLDAP)
/etc/openldap/schema/gabosh.schema (OpenLDAP Groups in Groups)
/etc/openldap/schema/gabosh.schema (DNS)
/etc/openldap/schema/horde-turba.schema (Horde Groupware Webmail)
/etc/openldap/slapd.conf (OpenLDAP)
/etc/openldap/slapd.conf (DNS)
/etc/openldap/slapd.conf (File-Server - Samba)
/etc/openldap/slapd.conf (DHCP-Server)
/etc/openldap/slapd.conf (OpenLDAP)
/etc/openldap/slapd.conf (Horde Groupware Webmail)
/etc/openldap/slapd.conf (OpenLDAP)
/etc/openvpn/client/openvpn.conf (VPN-Client)
/etc/openvpn/client/vpn-restart.sh (VPN-Client)
/etc/openvpn/openvpn.conf (VPN-Server)
/etc/pam.d/system-auth (OpenLDAP System authentication)
/etc/pam.d/system-auth (File-Server - Samba)
/etc/pam.d/system-auth (OpenLDAP System authentication)
/etc/php/apache2-php5.3/php.ini (Webserver)
/etc/php/cli-php5.3/php.ini (Webserver)
/etc/portage/package.keywords (DHCP-Server)
/etc/portage/package.keywords (DNS)
/etc/postfix/main.cf (Mailserver)
/etc/postfix/main.cf (Mailinglists with MailMan)
/etc/postfix/master.cf (Mailserver)
/etc/profile.d/cyrus.sh (IMAP/POP3-Server)
/etc/profile.d/mailman.sh (Mailinglists with MailMan)
/etc/profile.d/root.sh (Basesystem)
/etc/rsyncd.conf (Rsync Server)
/etc/samba/smb.conf (File-Server - Samba)
/etc/samba/smb.conf (Printserver)
/etc/sane.d/saned.conf (Sane Scanner Server)
/etc/sasl2/smtpd.conf (Mailserver)
/etc/saslauthd.conf (OpenLDAP System authentication)
/etc/security/limits.d/samba.conf (File-Server - Samba)
/etc/ssh/sshd_config (Basesystem)
/etc/ssl/gabosh.net/readme (SSL/TLS with CAcert)
/etc/sysctl.conf (Firewall and Traffic Shaping)
/etc/sysctl.conf (Basesystem)
/etc/syslog-ng/syslog-ng.conf (Basesystem)
/etc/xinetd.conf (Sane Scanner Server)
/etc/xinetd.d/sane-stream (Sane Scanner Server)
/srv/gtc/pxe/pxelinux.cfg/default (Server for thinclients)
/srv/gtc/test/etc/conf.d/hostname (Thinclient - Basesystem)
/srv/gtc/test/etc/conf.d/xdm (Thinclient - X-Server)
/srv/gtc/test/etc/dhcpcd.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/distcc/hosts (Thinclient - Basesystem)
/srv/gtc/test/etc/env.d/90xsession (Thinclient - X-Server)
/srv/gtc/test/etc/init.d/checkroot (Thinclient - Basesystem)
/srv/gtc/test/etc/kdeconfig/kdm/kdmrc (Thinclient - X-Server)
/srv/gtc/test/etc/kdeconfig/kdm/Xsession (Thinclient - X-Server)
/srv/gtc/test/etc/lightdm/lightdm.conf (Thinclient - X-Server)
/srv/gtc/test/etc/local.d/gtc.start (Thinclient - Basesystem)
/srv/gtc/test/etc/make.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/make.conf (Thinclient - Kernel-based Virtual Machine - KVM)
/srv/gtc/test/etc/portage/package.keywords (Thinclient - PAM_Mount)
/srv/gtc/test/etc/portage/package.keywords (Thinclient - Basesystem)
/srv/gtc/test/etc/portage/package.keywords (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/profile.d/gtc.sh (Basesystem)
/srv/gtc/test/etc/ssh/sshd_config (Thinclient - PAM_Mount)
/srv/gtc/test/etc/thinclient/default-profile/start.sh (Thinclient - Profiling)
/srv/gtc/test/etc/thinclient/global-profile/start.sh (Thinclient - Profiling)
/srv/gtc/test/etc/thinclient/profiles/butters.gabosh.net/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/profiles/gandor.gabosh.net/etc/X11/xorg.conf (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/gandor.gabosh.net/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/profiles/paddy.gabosh.net/etc/acpi/events/thinkpadfnhotkey (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/paddy.gabosh.net/etc/fnhotkey.pl (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/paddy.gabosh.net/etc/xrandr.sh (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/paddy.gabosh.net/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/profiles/proll-gabosh.gabosh.net/etc/X11/xorg.conf.nvidia (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/proll-gabosh.gabosh.net/etc/X11/xorg.conf.old (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/proll-gabosh.gabosh.net/start.sh (Thinclient - Profiling)
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/etc/acpi/events/thinkpadfnhotkey (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/etc/cups/printers.conf (Thinclient - Printserver Client - CUPS)
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/etc/fnhotkey.pl (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/etc/X11/xorg.conf (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/etc/xrandr.sh (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/start.sh (Thinclient - Profiling)
/srv/gtc/test/etc/thinclient/profiles/think-gabosh.gabosh.net/start.sh (Thinclient - Printserver Client - CUPS)
/srv/gtc/test/etc/thinclient/profiles/tweek.gabosh.net/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/profiles/zottel.gabosh.net/etc/acpi/events/thinkpadfnhotkey (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/zottel.gabosh.net/etc/fnhotkey.pl (Thinclient - Thinkpad ACPI (Fn-HotKeys - Suspend - Displayswitch))
/srv/gtc/test/etc/thinclient/profiles/zottel.gabosh.net/etc/xrandr.sh (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/profiles/zottel.gabosh.net/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-additional-sw-add (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-additional-sw-del (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-buildkernel (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-compiz (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/scripts/gtc-crypt (Save passwords encrypted)
/srv/gtc/test/etc/thinclient/scripts/gtc-diskinst (Thinclient - Install on local device)
/srv/gtc/test/etc/thinclient/scripts/gtc-ieurl (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-info (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-install (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-instupdate (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-mkiso (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-update (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-update-do (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-update-fetch (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-update-post (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/scripts/gtc-xconfig (Thinclient - X-Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/apache2/vhosts.d/vhosts.conf (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/bind/named.conf (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/conf.d/apache2 (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/conf.d/nfs (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/dhcp/dhcpd.conf (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/exports (Server for thinclients)
/srv/gtc/test/etc/thinclient/server-profile/etc/openldap/schema/dnszone.schema (OpenLDAP)
/srv/gtc/test/etc/thinclient/server-profile/etc/openldap/schema/gabosh.schema (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/openldap/slapd.conf (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/etc/phpldapadmin.conf (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/server-profile/start.sh (Thinclient - Thinclient as Server)
/srv/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Kernel-based Virtual Machine - KVM)
/srv/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Profiling)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-autologin (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-distcc (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-ldap (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-local (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-localization (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-mountparts (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-nfsmount (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/startup/jobs/gtc-nis (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/thinclient.conf (Thinclient - Basesystem)
/srv/gtc/test/etc/thinclient/thinclient.conf.local (Thinclient - Basesystem)
/srv/gtc/test/etc/udev/rules.d/64-device-mapper.rules (Thinclient - Basesystem)
/srv/gtc/test/etc/wpa_supplicant/wpa_supplicant.conf (Thinclient - Wireless LAN)
/srv/gtc/test/usr/local/portage-overlay/net-misc/dhcp/dhcp-4.1.1.ebuild (DHCP-Server)
/srv/gtc/test/usr/share/config/kdm/Xsession (Thinclient - X-Server)
/usr/local/bin/awstats (Statistics)
/usr/local/bin/az (Sort files alphabetical)
/usr/local/bin/changedocd.pl (Automatic System Documentation)
/usr/local/bin/gtc-rename (Rename files recursively)
/usr/local/bin/horde2fritz.pl (Horde to Fritz!Box)
/usr/local/bin/hordewatch (Horde Groupware Webmail)
/usr/local/bin/msgwatch (Basesystem)
/usr/local/bin/rsyncwatch (Basesystem)
/usr/local/bin/smbwatch (File-Server - Samba)
/usr/local/bin/sysdoc.pl (Automatic System Documentation)
/usr/local/bin/vpnwatch (VPN-Server)
/usr/local/portage-overlay/net-misc/dhcp/dhcp-4.1.1.ebuild (DHCP-Server)
/usr/local/sbin/backup.sh (Backup)
/usr/local/sbin/checkusers.sh (OpenLDAP System authentication)
/usr/local/sbin/cyr-create-mbox (IMAP/POP3-Server)
/usr/local/sbin/cyr-delete-mbox (IMAP/POP3-Server)
/usr/local/sbin/cyr-resize-mailbox.pl (IMAP/POP3-Server)
/usr/local/sbin/cyr-set-acl (IMAP/POP3-Server)
/usr/local/sbin/cyr-set-sieve.sh (IMAP/POP3-Server)
/usr/local/sbin/cyr-show-dirs (IMAP/POP3-Server)
/usr/local/sbin/cyr-show-mailboxes (IMAP/POP3-Server)
/usr/local/sbin/deduplicate.pl (File deduplication)
/usr/local/sbin/fireoff.sh (Firewall and Traffic Shaping)
/usr/local/sbin/fire.sh (Firewall and Traffic Shaping)
/usr/local/sbin/fire.sh.bak (Firewall and Traffic Shaping)
/usr/local/sbin/fire.sh.kapott (Firewall and Traffic Shaping)
/usr/local/sbin/gtc-crypt (Save passwords encrypted)
/usr/local/sbin/hdspindown.sh (HD-Spindown)
/usr/local/sbin/mkgtcstable.sh (Server for thinclients)
/usr/local/sbin/mkhordestable.sh (Horde Groupware Webmail)
/var/spool/fax/etc/config.faxCAPI (Faxserver)
/var/spool/fax/etc/FaxDispatch (Faxserver)
/var/spool/fax/etc/FaxNotify (Faxserver)
/var/spool/fax/etc/PollDispatch (Faxserver)
/var/www/doc.gabosh.net/cgi-bin/changedoc.pl (Automatic System Documentation)
/var/www/doc.gabosh.net/htdocs/howto.css (Automatic System Documentation)
/var/www/horde.gabosh.net/htdocs/config/prefs.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/config/registry.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/imp/config/backends.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/imp/config/mime_drivers.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/imp/config/prefs.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/ingo/config/backends.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/kronolith/config/prefs.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/passwd/config/backends.local.php (Horde Groupware Webmail)
/var/www/horde.gabosh.net/htdocs/turba/config/prefs.local.php (Horde Groupware Webmail)
/var/www/www.gabosh.net/htdocs/intern/phpldapadmin/config/config.php (OpenLDAP WebGUI phpldapadmin)

About / Impressum

Click here for About / Impressum