Howtos for Gentoo Linux (last version created: Wed Mar 2 16:58:51 CET 2016)

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-2016 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
File deduplication
File-Server - Samba
Firewall
HD-Spindown
Horde Groupware Webmail
IMAP/POP3-Server
Instand Messaging alternative Jabber
Mailinglists with MailMan
Mailserver
MySQL-Server
Network Sound Server
OpenLDAP
OpenLDAP Groups in Groups
OpenLDAP System authentication
OpenLDAP WebGUI phpldapadmin
Printserver
Rename files recursively
Rsync Server
SSL/TLS with self signed SSL Certificate
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 - Profiling
Thinclient - Thinclient as Server
Thinclient - Wireless LAN
Thinclient - X-Server
Time-Server
VPN-Client
VPN-Server
WLAN Access Point
Webserver

File Index

/boot/grub/grub.cfg (Basesystem)
/etc/amavisd.conf (Mailserver)
/etc/apache2/modules.d/00_mod_log_config.conf (Webserver)
/etc/apache2/vhosts.d/01_vhosts.conf (Webserver)
/etc/apache2/vhosts.d/01_vhosts.conf (Mailinglists with MailMan)
/etc/apache2/vhosts.d/01_vhosts.conf (Automatic System Documentation)
/etc/awstats/awstats.doc.gabosh.net.conf (Statistics)
/etc/awstats/awstats.gabosh.net.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/dhcpd-wlan (DHCP-Server)
/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/net (WLAN Access Point)
/etc/conf.d/nfs (Server for thinclients)
/etc/conf.d/pulseaudio (Network Sound Server)
/etc/conf.d/saslauthd (OpenLDAP System authentication)
/etc/cron.daily/clearat.sh (Basesystem)
/etc/cron.daily/cyrus-purge.sh (IMAP/POP3-Server)
/etc/cron.daily/logrotate (Statistics)
/etc/cron.daily/logrotate (Mailserver)
/etc/cron.daily/pxe.cron (Server for thinclients)
/etc/cron.daily/spamassassinupdate (Mailserver)
/etc/cron.hourly/f2bcheck (Stopping brute-force-attacks with fail2ban)
/etc/cron.hourly/ntpdate.sh (Time-Server)
/etc/crontab (DynDNS)
/etc/crontab (Backup)
/etc/crontab (HD-Spindown)
/etc/crontab (OpenLDAP System authentication)
/etc/crontab (Mailserver)
/etc/crontab (VPN-Server)
/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/dhcp/dhcpd-ldap-wlan.conf (DHCP-Server)
/etc/distcc/hosts (Distcc Client)
/etc/exports (Server for thinclients)
/etc/fail2ban/filter.d/gabosh-apache-auth.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/filter.d/gabosh-horde-auth.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/filter.d/gabosh-postfix-auth.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/filter.d/gabosh-sasl-auth.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/filter.d/gabosh-ssh2.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/filter.d/gabosh-ssh.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/hostapd/hostapd.conf (WLAN Access Point)
/etc/hostapd/hostapd.macaccept (WLAN Access Point)
/etc/hosts (Basesystem)
/etc/imapd.conf (IMAP/POP3-Server)
/etc/jabber/ejabberd.yml (Instand Messaging alternative Jabber)
/etc/ldap.conf (OpenLDAP)
/etc/ldap.conf.old (OpenLDAP System authentication)
/etc/local.d/services.start (Firewall)
/etc/local.d/services.start (Automatic System Documentation)
/etc/logrotate.conf (Basesystem)
/etc/logrotate.d/gabosh (Basesystem)
/etc/mail/aliases (Mailserver)
/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/mysql/my.cnf.bak (MySQL-Server)
/etc/nscd.conf (OpenLDAP)
/etc/nsswitch.conf (OpenLDAP System authentication)
/etc/ntp.conf (Time-Server)
/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/dlz.schema (OpenLDAP)
/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/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/gabosh-php.ini (Webserver)
/etc/portage/profile/use.mask (Network Sound Server)
/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/pulse/system.pa (Network Sound Server)
/etc/rsyncd.conf (Rsync Server)
/etc/rsyslog.d/00-gabosh.conf (Basesystem)
/etc/samba/smb.conf (File-Server - Samba)
/etc/samba/smb.conf (Printserver)
/etc/sane.d/saned.conf (Sane Scanner Server)
/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 self signed SSL Certificate)
/etc/ssl/gabosh.net.self/readme (SSL/TLS with self signed SSL Certificate)
/etc/sysctl.conf (Firewall)
/etc/sysctl.conf (Basesystem)
/etc/xinetd.conf (Sane Scanner Server)
/etc/xinetd.d/sane-stream (Sane Scanner Server)
/gtc/pxe/pxelinux.cfg/default (Server for thinclients)
/gtc/test/etc/conf.d/hostname (Thinclient - Basesystem)
/gtc/test/etc/conf.d/sshd (Thinclient - Basesystem)
/gtc/test/etc/conf.d/xdm (Thinclient - X-Server)
/gtc/test/etc/crontab (Thinclient - Basesystem)
/gtc/test/etc/dhcpcd.conf (Thinclient - Basesystem)
/gtc/test/etc/distcc/hosts (Thinclient - Basesystem)
/gtc/test/etc/env.d/90xsession (Thinclient - X-Server)
/gtc/test/etc/init.d/checkroot (Thinclient - Basesystem)
/gtc/test/etc/lightdm/lightdm.conf (Thinclient - X-Server)
/gtc/test/etc/local.d/gtc.start (Thinclient - Basesystem)
/gtc/test/etc/local.d/gtc.stop (Thinclient - Basesystem)
/gtc/test/etc/make.conf (Thinclient - Basesystem)
/gtc/test/etc/make.conf (Thinclient - Kernel-based Virtual Machine - KVM)
/gtc/test/etc/portage/package.keywords (Thinclient - Basesystem)
/gtc/test/etc/portage/package.keywords (Thinclient - Thinclient as Server)
/gtc/test/etc/postfix/main.cf (Thinclient - Basesystem)
/gtc/test/etc/profile.d/gtc.sh (Basesystem)
/gtc/test/etc/ssh/sshd_config (Thinclient - Basesystem)
/gtc/test/etc/ssl/gabosh.net/readme (SSL/TLS with self signed SSL Certificate)
/gtc/test/etc/thinclient/default-profile/start.sh (Thinclient - Profiling)
/gtc/test/etc/thinclient/global-profile/start.sh (Thinclient - Profiling)
/gtc/test/etc/thinclient/scripts/az (Sort files alphabetical)
/gtc/test/etc/thinclient/scripts/check-hdd.sh (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/check-mem.sh (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/check-swap.sh (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/check-temperature.sh (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-additional-sw-add (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-additional-sw-del (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-buildkernel (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-compiz (Thinclient - X-Server)
/gtc/test/etc/thinclient/scripts/gtc-crypt (Save passwords encrypted)
/gtc/test/etc/thinclient/scripts/gtc-diskinst (Thinclient - Install on local device)
/gtc/test/etc/thinclient/scripts/gtc-ieurl (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-info (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-install (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-instupdate (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-mkiso (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-rename (Rename files recursively)
/gtc/test/etc/thinclient/scripts/gtc-update (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-update-do (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-update-fetch (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-update-post (Thinclient - Basesystem)
/gtc/test/etc/thinclient/scripts/gtc-xconfig (Thinclient - X-Server)
/gtc/test/etc/thinclient/server-profile/etc/apache2/vhosts.d/vhosts.conf (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/bind/named.conf (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/conf.d/apache2 (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/conf.d/nfs (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/dhcp/dhcpd.conf (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/exports (Server for thinclients)
/gtc/test/etc/thinclient/server-profile/etc/openldap/schema/dnszone.schema (OpenLDAP)
/gtc/test/etc/thinclient/server-profile/etc/openldap/schema/gabosh.schema (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/openldap/slapd.conf (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/etc/phpldapadmin.conf (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/server-profile/start.sh (Thinclient - Thinclient as Server)
/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Kernel-based Virtual Machine - KVM)
/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/gtc-startupconfig (Thinclient - Profiling)
/gtc/test/etc/thinclient/startup/jobs/gtc-anonproxy (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-autologin (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-distcc (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-ldap (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-local (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-localization (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-mountparts (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-nfsmount (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-nis (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-zautoupdate (Thinclient - Basesystem)
/gtc/test/etc/thinclient/thinclient.conf (Thinclient - Basesystem)
/gtc/test/etc/thinclient/thinclient.conf.local (Thinclient - Basesystem)
/gtc/test/etc/wpa_supplicant/wpa_supplicant.conf (Thinclient - Wireless LAN)
/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/horde.sh (Horde Groupware Webmail)
/usr/local/bin/sysdoc.pl (Automatic System Documentation)
/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)
/usr/local/sbin/fire.sh (Firewall)
/usr/local/sbin/gtc-crypt (Save passwords encrypted)
/usr/local/sbin/hdspindown.sh (HD-Spindown)
/usr/local/sbin/hordetestwatch (Horde Groupware Webmail)
/usr/local/sbin/hordewatch (Horde Groupware Webmail)
/usr/local/sbin/mailaddresses.sh (Mailserver)
/usr/local/sbin/maillists.sh (Mailinglists with MailMan)
/usr/local/sbin/mkgtcstable.sh (Server for thinclients)
/usr/local/sbin/mkhordestable.sh (Horde Groupware Webmail)
/usr/local/sbin/msgwatch (Basesystem)
/usr/local/sbin/rsyncwatch (Basesystem)
/usr/local/sbin/smbwatch (File-Server - Samba)
/usr/local/sbin/vpnusercerts.sh (VPN-Server)
/usr/local/sbin/vpnwatch (VPN-Server)
/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

Wishlist

If you want to support my work you can find my Amazon whishlist here