Setja upp ein Ubuntu-klient =========================== Når du innstallerer lagar du ein brukar «nteu» med vanleg rootpassord. Uppdater -------- Pass på at du hev det nyaste aptitude update aptitude dist-upgrade Legg inn NTP for å passa på at tidi er OK aptitude install ntp Legg til i /etc/ntp.conf server pool.ntp.org Set upp adressor til maskin --------------------------- Lag FQDN for maskin sed -i "s/$(hostname)/$(hostname).neitileu.no $(hostname)/" /etc/hosts Logg inn på kanin og legg IP-en og dei tvo hostnamni til i /etc/hosts. echo "192.168.1.xxx maskinnamn.neitileu.no maskinnamn" >> /etc/hosts Eventuelt hardkod IP-adressa inn i /etc/dnsmasq.conf i tillegg. Set upp heimemapper yver NFS ----------------------------- Flytt den lokale brukaren si heimemappa vekk sed -i "s,home,local-home," /etc/passwd Lag ei ny heimemappa til nfs cd /; mv home/ local-home/ mkdir /home Innstaller NFS aptitude install portmap nfs-common Test å kopla ho opp via NFS mount.nfs knutgeir:/home /home/ ls /home/ Legg til i /etc/fstab echo "knutgeir:/home /home nfs rsize=8192,wsize=8192,timeo=14,intr" >> /etc/fstab Set upp OpenLDAP ---------------- For å kunna henta innloggingsinformasjonen. Innstaller det du treng aptitude install auth-client-config libpam-ldap libnss-ldap Debconf kjem fram, skriv inn fylgjande: LDAP server Uniform Resource Identifier (uri): ldap://ldap.neitileu.no/ Distinguished name of the search base (base): dc=neitileu,dc=no LDAP version: 3 Make local root database admin: Yes Does LDAP database require login: No LDAP account for root: cn=admin,dc=neitileu,dc=no LDAP root password: So skal me gjera litt endringar i configfili: sed -i "s/#host 127.0.0.1/host ldap.neitileu.no/" /etc/ldap.conf sed -i "s/#bind_policy hard/bind_policy soft/" /etc/ldap.conf #ln -s /etc/ldap.conf /etc/ldap/ldap.conf Setja upp pam ------------- Endra PAM-innstillingane auth-client-config -a -p ldap_example Gå til eit konsollvindauge (CTRL + ALT + F1) og test um du kann loggja inn. Det skal fungera! For å logga inn med GDM må du STARTA MASKINI UM! Leggja inn rettar ----------------- Pass på at nteu-brukaren hev alle dei gruppone han skal. So legg til nye adminer (kvar brukar er admin på eigen maskin) sed -i "s/nteu$/nteu,odin,eva/" /etc/group Cache av apt ------------ Lat maskinone bruka kanin som cache. echo 'Acquire::http::Proxy "http://kanin:3142";' > /etc/apt/apt.conf.d/90apt-cache Leggja til skrivarar -------------------- filer/printers.conf filer/ppd/ til /etc/cups Leggja inn hendige ting ----------------------- Legg inn norsk(nynorsk) og dansknorsk(bokmål) stavekontroll/brukargrensesnitt, slik at folk kann velja. Legg inn cacert-sertifikatet i Firefox. Legg til medibuntu wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list apt-get update && apt-get install medibuntu-keyring && apt-get update Installer thunderbird. aptitude install thunderbird DVD-stydnad apt-get install libdvdcss2 Flash aptitude install flashplugin-nonfree Video aptitude install gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-schroedinger gstreamer0.10-fluendo-mp3 gstreamer0.10-fluendo-mpegdemux Gjer alt snøggt --------------- wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list apt-get update && apt-get install medibuntu-keyring && apt-get update && apt-get dist-upgrade apt-get install gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-schroedinger gstreamer0.10-fluendo-mp3 ntp thunderbird libdvdcss2 flashplugin-nonfree portmap nfs-common auth-client-config libpam-ldap libnss-ldap