User Tools

Site Tools


linux_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_installation [2007/01/16 22:13] – _bacamlinux_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.  Check that the <code>/etc/inittab</code> file contains a line like 
-   
-  T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 
- 
-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]] ====== 
- 
- 
-Make sure that <code>nscd</code> is installed, otherwise [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190072|bad things]] may happen. 
- 
-Lots more should go here, but  doesn't have time right now. 
- 
- 
-====== Authenticating with [[ldap]] ====== 
- 
- 
-Canonical <code>/etc/pam.d/common-auth</code>: 
-   
-  # ** Use trick from /usr/share/doc/libpam-ldap/README.Debian 
-  # 
-  auth    [success=1 default=ignore]      pam_unix.so nullok_secure 
-  auth    required                        pam_ldap.so use_first_pass 
-  auth    required                        pam_permit.so 
- 
-Note the <code>use_first_pass</code> option.  Without it logins will ask for a password for pam_unix, then one for pam_ldap, and so on, causing every other attempt to enter your password to fail even when you get it right. 
- 
-Some more should go here, but  doesn't have time right now. 
- 
- 
-====== Multiple VLANs ====== 
- 
- 
-Some systems need to appear on several VLANs, most notably the router.  First, add 
-   
-  8021q 
- 
-to the end of <code>/etc/modules</code> so that the kernel knows how to deal with the VLAN tagged packets.  (Use <code>modprobe 8021q</code> to load it immediately if you don't want to reboot.)  Then install the <code>vlan</code> Debian package, and add extra stanzas to <code>/etc/network/interfaces</code> for the new VLANs.  For example, 
-   
-  # 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 <code>eth0.1</code> means VLAN number <code>1</code> on interface <code>eth0</code>.  Finally, configure the switch so that the port is on the extra VLANs. 
- 
- 
-====== Logging to the [[log_host]] ====== 
- 
- 
-To make syslog send logs to the log host, put 
-   
-  *.*     @loghost 
- 
-into ''/etc/syslog.conf''.  It is a good idea to keep the local logging too, in case of network problems. 
- 
- 
-====== 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.1168985599.txt.gz · Last modified: (external edit)