These instructions don’t cover obvious choices or ones that are too difficult to explain in a text this short. Ask if you have questions, but please try as much as you can yourself!
- Make sure you have the latest SL6.x install DVD.
- Boot with the DVD.
- Choose install Scientific Linux, don’t upgrade anything.
- Skip test of media.
- Installation language: Choose yourself (Swedish is broken on SL6.1, so do not chose this).
- Keyboard: Swedish.
- Choose “basic storage devices”
- Enable the DHCP on the network:
- Click “configure network”
- click device (probably eth0)
- click “edit”
- check the “connect automatically” box
- click apply
- click close
- verify that the network is up: click “back”, then “next”. The computer name should now be found.
- Timezone: Europe/Stockholm. System clock set to UTC: No!
- Select root password.
- Preferably perform manual partitioning (check custom lay out). Ask for help if you don’t know how to do this. Mount your own disk on /home_local. There you can later create a directory containing your files.
- Use the default options for the bootloader.
- Package selection: Choose most things freely, installation of software is easy once the system is installed as well (in gnome) but if you choose minimal desktop very many sysadmin tools do not get installed.
- Installation is done.
- Reboot when prompted.
- User configuration: Don’t add any user!!! Choose network login and choose “NIS” as source of users (no need to fill in any additional information).
- Set time appropriately. Configure network time protocol: Check “synchronize date and time over the network”. Delete all the default network time servers and add a single server: mackmyra.cluster.mkem.uu.se.
- Disable kdump.
- Log on as “root”
- edit /etc/nsswitch.conf. Change the line starting with shadow: from “files nis” to only “files”, i.e. remove nis on the shadow line. Also change the line starting with hosts from “files nis dns” to “dns nis files”. This fixes a networkmanager bug.
- Log on as root. Choose system administration menu and services sub menu and enable the ypbind service. Start the ypbind service. The system might need a reboot here again.
- As root run system-config-firewall, disable it and click apply.
- Edit /etc/sysconfig/selinux to set it to “disabled”. You need to reboot after this change.
- You should make sure at this point that logwatch is installed: yum install logwatch (as root). Make sure to fix your mail as well sendmail masquerading
- Turn on the local mirror of SL, so updates are quicker:
rpm -Uvh /home/public/SL6X/yum-conf-sl6x-1-711.noarch.rpm
rpm is the redhat package manager and the -Uvh flags mean upgrade, verbose, hash). The rpm-file rpm changes the locations of repositiories to point to the local mirror on mackmyra. They also change so we get automatic updates between minor releases (6.1, 6.2 …)
- You can also enable more repositories such as epel with
yum install yum-conf-epel
- Security updates are done automatically every night, but now after the first install simply do “yum update” as root. Answer yes when it asks if it is ok to do the download.
- Reboot when the upgrade is complete, to get the new versions of everything (in particular the new kernel).
- If you have your own local filesystem with files on it remember to export it in /etc/exports (and later start the nfs service to really export it!), for instance:
- Following the instructions on this following link to set email masquerading correctly: