linux_installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux_installation [2007/06/22 17:04] – mediawiki_default | linux_installation [2026/09/27 05:11] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Serial console ====== | ||
| - | |||
| - | |||
| - | If the machine is only providing serial output during bootup, then it may not have been configured for serial logins. | ||
| - | | ||
| - | T0: | ||
| - | |||
| - | which tells init to start the program to provide login prompts. | ||
| - | |||
| - | The original kernel shipped with Debian sarge has a broken serial driver for Ultra 5s. The version in the security updates should work. | ||
| - | |||
| - | |||
| - | ====== Getting user information from [[ldap]] ====== | ||
| - | |||
| - | |||
| - | The < | ||
| - | Also make sure that < | ||
| - | |||
| - | To tell < | ||
| - | the < | ||
| - | give the host and base (< | ||
| - | |||
| - | To tell libc to use < | ||
| - | | ||
| - | passwd: | ||
| - | group: | ||
| - | shadow: | ||
| - | |||
| - | The other databases are best left alone; we don't bother putting host | ||
| - | information or such like in LDAP because we don't see much benefit. | ||
| - | |||
| - | The < | ||
| - | |||
| - | |||
| - | ====== Authenticating with [[ldap]] ====== | ||
| - | |||
| - | |||
| - | The < | ||
| - | | ||
| - | host piper | ||
| - | base dc=tardis, | ||
| - | rootbinddn cn=admin, | ||
| - | ldap_version 3 | ||
| - | | ||
| - | # NSS lookups need to be restricted to the appropriate parts of the tree. | ||
| - | # If other lookups are added to / | ||
| - | # here too. | ||
| - | nss_base_passwd ou=People, | ||
| - | nss_base_group | ||
| - | nss_base_shadow ou=People, | ||
| - | | ||
| - | # Use funky generic LDAP password changing. | ||
| - | pam_password exop | ||
| - | |||
| - | |||
| - | PAM needs to be told to use < | ||
| - | | ||
| - | # ** Use trick from / | ||
| - | # | ||
| - | auth [success=1 default=ignore] | ||
| - | auth required | ||
| - | auth required | ||
| - | |||
| - | Note the < | ||
| - | |||
| - | |||
| - | ===== Restricting access to admins ===== | ||
| - | |||
| - | |||
| - | In < | ||
| - | | ||
| - | +:ALL:cron | ||
| - | -:ALL EXCEPT root admin:ALL | ||
| - | |||
| - | [Hmmm... maybe that should be < | ||
| - | |||
| - | Ensure that < | ||
| - | module is used to restrict access. | ||
| - | | ||
| - | account [success=1 default=ignore] | ||
| - | account required | ||
| - | account required | ||
| - | |||
| - | |||
| - | |||
| - | ====== Multiple VLANs ====== | ||
| - | |||
| - | |||
| - | Some systems need to appear on several VLANs, most notably the router. | ||
| - | | ||
| - | 8021q | ||
| - | |||
| - | to the end of < | ||
| - | | ||
| - | # Admin VLAN | ||
| - | auto eth0.1 | ||
| - | iface eth0.1 inet static | ||
| - | address 192.168.1.6 | ||
| - | netmask 255.255.255.0 | ||
| - | network 192.168.1.0 | ||
| - | broadcast 192.168.1.255 | ||
| - | |||
| - | where < | ||
| - | |||
| - | |||
| - | ====== Logging to the [[log_host]] ====== | ||
| - | |||
| - | |||
| - | To make syslog send logs to the log host, put | ||
| - | | ||
| - | *.* | ||
| - | |||
| - | into ''/ | ||
| - | |||
| - | |||
| - | ====== Email config ====== | ||
| - | |||
| - | |||
| - | Install the exim4 package and execute ' | ||
| - | |||
| - | < | ||
| - | General type of mail configuration: | ||
| - | System mail name: HOSTNAME.tardis.ed.ac.uk | ||
| - | IP-addresses to listen on for incoming SMTP connections: | ||
| - | Other destinations for which mail is accepted: | ||
| - | Visible domain name for local users: | ||
| - | IP address or host name of the outgoing smarthost: | ||
| - | Keep number of DNS-queries minimal (Dial-on-Demand): | ||
| - | |||
| - | |||
| - | ====== NTP ====== | ||
| - | |||
| - | |||
| - | Our router, < | ||
| - | --- / | ||
| - | +++ / | ||
| - | @@ -10,17 +10,8 @@ | ||
| - | | ||
| - | | ||
| - | # You do need to talk to an NTP server or two (or three). | ||
| - | -#server ntp.your-provider.example | ||
| - | +server davison | ||
| - | | ||
| - | -# pool.ntp.org maps to more than 300 low-stratum NTP servers. | ||
| - | -# Your server will pick a different set every time it starts up. | ||
| - | -# *** Please consider joining the pool! *** | ||
| - | -# *** < | ||
| - | -server 0.debian.pool.ntp.org iburst | ||
| - | -server 1.debian.pool.ntp.org iburst | ||
| - | -server 2.debian.pool.ntp.org iburst | ||
| - | -server 3.debian.pool.ntp.org iburst | ||
| - | - | ||
| - | # By default, exchange time with everybody, but don't allow configuration. | ||
| - | # See / | ||
| - | | ||
| - | |||
| - | |||
| - | ====== Munin ====== | ||
| - | |||
| - | |||
| - | Install munin-node on the client (the new Linux box) and update '/ | ||
| - | |||
| - | < | ||
| - | +++ etc/ | ||
| - | @@ -34,4 +34,4 @@ | ||
| - | # the allow line as many times as you'd like | ||
| - | |||
| - | allow ^127\.0\.0\.1$ | ||
| - | - | ||
| - | +allow ^193.62.81.11$</ | ||
| - | |||
| - | Then run '/ | ||
| - | |||
| - | < | ||
| - | +++ munin.conf | ||
| - | @@ -101,9 +101,11 @@ | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | - | ||
| - | +[wotan.tardis.ed.ac.uk] | ||
| - | + address 193.62.81.4 | ||
| - | + use_node_name yes</ | ||
| - | |||
| - | |||
| - | ====== Server addresses ====== | ||
| - | |||
| - | {{:Server addresses}} | ||
| - | |||
| - | |||
| - | ====== See also ====== | ||
| - | |||
| - | |||
| - | * [[updating_systems]] | ||
| - | * [[log_host]] | ||
| - | |||
| - | |||
| - | ====== Other stuff that should be documented here, but isn't ====== | ||
| - | |||
| - | |||
| - | * Configuring machines to pass mail on to the mail hub | ||
| - | * Configuring ntp | ||
| - | * Booting our suns from the LAN | ||
| - | * Installing munin | ||
| - | |||
| - | |||
| - | |||
linux_installation.1182531869.txt.gz · Last modified: (external edit)
