Howtos for Gentoo Linux (latest version created: 2021-12-08)

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-2021 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

APC UPS
ARP monitoring
Asterisk as PJSIP PBX
Asterisk as SIP PBX
Automatic System Documentation
Backup
Basesystem
DHCP-Server
DNS
DynDNS
File deduplication
File-Server - Samba
Firewall
HD-Spindown
Horde Groupware Webmail
IMAP/POP3-Server
Instand Messaging alternative Jabber
Internet IPv6 Router
Internet Router (pppoe)
Mailinglists with MailMan
Mailserver
MySQL-Server
Network Sound Server
NextCloud
OpenLDAP
OpenLDAP System authentication
OpenLDAP WebGUI phpldapadmin
Printserver
Rename files recursively
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 - Kernel-based Virtual Machine - KVM
Thinclient - Mate
Thinclient - Profiling
Thinclient - Thinclient as Server
Thinclient - Thunderbird
Thinclient - Wireless LAN
Thinclient - X-Server
Time-Server
Two-factor authentication
WLAN Access Point
Webserver

File Index

/boot/grub/grub.cfg (Basesystem)
/etc/amavisd.conf (Mailserver)
/etc/amavisd.conf.bak (Mailserver)
/etc/apache2/modules.d/00_mod_log_config.conf (Webserver)
/etc/apache2/vhosts.d/02_vhosts.conf (Webserver)
/etc/apcupsd/apccontrol (APC UPS)
/etc/apcupsd/apcupsd.conf (APC UPS)
/etc/apcupsd/changeme (APC UPS)
/etc/apcupsd/commfailure (APC UPS)
/etc/apcupsd/commok (APC UPS)
/etc/apcupsd/offbattery (APC UPS)
/etc/apcupsd/onbattery (APC UPS)
/etc/asterisk/ari.conf (Asterisk as SIP PBX)
/etc/asterisk/extensions.conf (Asterisk as PJSIP PBX)
/etc/asterisk/extensions.conf.ok (Asterisk as SIP PBX)
/etc/asterisk/extensions.conf.old-sip (Asterisk as SIP PBX)
/etc/asterisk/rtp.conf (Asterisk as SIP PBX)
/etc/asterisk/sip.conf.old (Asterisk as SIP PBX)
/etc/asterisk/voicemail.conf (Asterisk as SIP PBX)
/etc/awstats/awstats.gabosh.net.conf (Statistics)
/etc/awstats/awstats.mailserver.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/dhcpd6 (DHCP-Server)
/etc/conf.d/dhcpd-vnet0 (Basesystem)
/etc/conf.d/dhcpd-wlan (DHCP-Server)
/etc/conf.d/in.tftpd (Server for thinclients)
/etc/conf.d/keymaps (Basesystem)
/etc/conf.d/local (Basesystem)
/etc/conf.d/named (DNS)
/etc/conf.d/net (Basesystem)
/etc/conf.d/net (WLAN Access Point)
/etc/conf.d/net (Internet Router (pppoe))
/etc/conf.d/net (Basesystem)
/etc/conf.d/net.bak (Basesystem)
/etc/conf.d/net.bak (WLAN Access Point)
/etc/conf.d/net.bak (Basesystem)
/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/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 (NextCloud)
/etc/cron.weekly/gtcupdate (Thinclient - Basesystem)
/etc/cups/cupsd.conf (Printserver)
/etc/cups/cups-files.conf (Printserver)
/etc/default/btrfsmaintenance (Basesystem)
/etc/dhcpcd.conf (Internet IPv6 Router)
/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/dhcp/dhcpd-vnet0.conf (Basesystem)
/etc/dhcp/dhcpd-wlan.conf (DHCP-Server)
/etc/exports (Server for thinclients)
/etc/fail2ban/action.d/sendmail-common.local (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/jail.conf (Stopping brute-force-attacks with fail2ban)
/etc/fail2ban/jail.d/gabosh.conf (Stopping brute-force-attacks with fail2ban)
/etc/freshclam.conf (Mailserver)
/etc/fstab (Basesystem)
/etc/hostapd/hostapd.conf (WLAN Access Point)
/etc/hostapd/hostapd.conf-2.4 (WLAN Access Point)
/etc/hostapd/hostapd.conf-5 (WLAN Access Point)
/etc/hostapd/hostapd.macaccept (WLAN Access Point)
/etc/hosts (Basesystem)
/etc/jabber/ejabberd.yml (Instand Messaging alternative Jabber)
/etc/ldap.conf.old (OpenLDAP System authentication)
/etc/local.d/01_services.start (Firewall)
/etc/local.d/01_services.start (Automatic System Documentation)
/etc/logrotate.conf (Basesystem)
/etc/logrotate.d/gabosh (Basesystem)
/etc/logrotate.d/mysql (MySQL-Server)
/etc/mail/aliases (Mailserver)
/etc/mailman/mm_cfg.py (Mailinglists with MailMan)
/etc/mysql/mysql.d/50-distro-server.cnf (MySQL-Server)
/etc/nsswitch.conf (OpenLDAP System authentication)
/etc/ntp.conf (Time-Server)
/etc/openldap/ldap.ldif (OpenLDAP)
/etc/openldap/schema/dlz.schema (OpenLDAP)
/etc/openldap/schema/dnszone.schema (OpenLDAP)
/etc/otp.users (Two-factor authentication)
/etc/pam.d/horde (Two-factor authentication)
/etc/pam.d/sshd (Two-factor authentication)
/etc/pam.d/su (Two-factor authentication)
/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/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/radvd.conf (Internet IPv6 Router)
/etc/rc.conf (Basesystem)
/etc/rsyslog.d/00-gtc.conf (Basesystem)
/etc/rsyslog.d/01-gabosh.conf (Basesystem)
/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/ssh_config (Basesystem)
/etc/ssh/sshd_config (Two-factor authentication)
/etc/ssh/sshd_config (Basesystem)
/etc/ssl/gabosh.net/readme (SSL/TLS with self signed SSL Certificate)
/etc/sysctl.conf (Firewall)
/etc/sysctl.conf (Basesystem)
/etc/sysctl.d/gabosh.conf (Firewall)
/etc/sysctl.d/gabosh.conf (Basesystem)
/etc/sysctl.d/gabosh.conf (Internet IPv6 Router)
/etc/udev/rules.d/10-wlan-stick.rules (WLAN Access Point)
/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/bash/bashrc.d/gabosh (Basesystem)
/gtc/test/etc/chromium/default (Thinclient - Basesystem)
/gtc/test/etc/conf.d/apache2 (Thinclient - Basesystem)
/gtc/test/etc/conf.d/dhcpd-tornet0 (Thinclient - Basesystem)
/gtc/test/etc/conf.d/dhcpd-vnet0 (Thinclient - Basesystem)
/gtc/test/etc/conf.d/display-manager (Thinclient - Basesystem)
/gtc/test/etc/conf.d/docker (Thinclient - Basesystem)
/gtc/test/etc/conf.d/hwclock (Thinclient - Basesystem)
/gtc/test/etc/conf.d/in.tftpd (Thinclient - Basesystem)
/gtc/test/etc/conf.d/local (Thinclient - Basesystem)
/gtc/test/etc/conf.d/net (Thinclient - Basesystem)
/gtc/test/etc/conf.d/NetworkManager (Thinclient - Basesystem)
/gtc/test/etc/conf.d/nfs (Server for thinclients)
/gtc/test/etc/conf.d/sshd (Thinclient - Basesystem)
/gtc/test/etc/conf.d/xdm (Thinclient - Basesystem)
/gtc/test/etc/crontab (Thinclient - Basesystem)
/gtc/test/etc/dconf/readme.txt (Thinclient - Mate)
/gtc/test/etc/default/btrfsmaintenance (Thinclient - Basesystem)
/gtc/test/etc/dhcpcd.conf (Thinclient - Basesystem)
/gtc/test/etc/dhcp/dhcpd-tornet0.conf (Thinclient - Basesystem)
/gtc/test/etc/dhcp/dhcpd-vnet0.conf (Thinclient - Basesystem)
/gtc/test/etc/env.d/90xsession (Thinclient - X-Server)
/gtc/test/etc/etc-update.conf (Thinclient - Basesystem)
/gtc/test/etc/exports (Thinclient - Basesystem)
/gtc/test/etc/init.d/checkroot (Thinclient - Basesystem)
/gtc/test/etc/init.d/procfs (Thinclient - Basesystem)
/gtc/test/etc/lightdm/lightdm.conf (Thinclient - X-Server)
/gtc/test/etc/lightdm/lightdm-gtk-greeter.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/modprobe.d/iwl4965.conf (Thinclient - Basesystem)
/gtc/test/etc/modprobe.d/iwlagn.conf (Thinclient - Basesystem)
/gtc/test/etc/modprobe.d/iwlwifi.conf (Thinclient - Basesystem)
/gtc/test/etc/modprobe.d/snd-hda-intel.conf (Thinclient - Basesystem)
/gtc/test/etc/NetworkManager/nm-system-settings.conf (Thinclient - Basesystem)
/gtc/test/etc/pam.d/login (Thinclient - Basesystem)
/gtc/test/etc/postfix/main.cf (Thinclient - Basesystem)
/gtc/test/etc/profile (Thinclient - Basesystem)
/gtc/test/etc/profile.d/gtc.sh (Basesystem)
/gtc/test/etc/ssh/ssh_config (Thinclient - 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/sysctl.conf (Thinclient - Basesystem)
/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-compiz (Thinclient - X-Server)
/gtc/test/etc/thinclient/scripts/gtc-crypt (Save passwords encrypted)
/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-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-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/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/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-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-nfsmount (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-thinkpad (Thinclient - Basesystem)
/gtc/test/etc/thinclient/startup/jobs/gtc-zautoupdate (Thinclient - Basesystem)
/gtc/test/etc/thinclient/thinclient.conf.local (Thinclient - Basesystem)
/gtc/test/etc/ufw/after.rules (Thinclient - Basesystem)
/gtc/test/etc/ufw/before.rules (Thinclient - Basesystem)
/gtc/test/etc/wpa_supplicant/wpa_supplicant.conf (Thinclient - Wireless LAN)
/gtc/test/usr/lib64/thunderbird/defaults/pref/gabosh.js (Thinclient - Thunderbird)
/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/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/fire.sh (Asterisk as SIP PBX)
/usr/local/sbin/gtc-crypt (Save passwords encrypted)
/usr/local/sbin/hdspindown.sh (HD-Spindown)
/usr/local/sbin/mailaddresses.sh (Mailserver)
/usr/local/sbin/maillists-2.sh (Mailinglists with MailMan)
/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/powerconsumption.sh (APC UPS)
/usr/local/sbin/rsyncwatch (Basesystem)
/usr/local/sbin/smbwatch (File-Server - Samba)
/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/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