SL 6.0 installation instructions

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!

  1. Make sure you have the latest SL6.x install DVD.
  2. Boot with the DVD.
  3. Choose install Scientific Linux, don’t upgrade anything.
  4. Skip test of media.
  5. Installation language: Choose yourself (Swedish is broken on SL6.1, so do not chose this).
  6. Keyboard: Swedish.
  7. Choose “basic storage devices”
  8. Enable the DHCP on the network:
  9. Click “configure network”
  10. click device (probably eth0)
  11. click “edit”
  12. check the “connect automatically” box
  13. click apply
  14. click close
  15. verify that the network is up: click “back”, then “next”. The computer name should now be found.
  16. Timezone: Europe/Stockholm. System clock set to UTC: No!
  17. Select root password.
  18. 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.
  19. Use the default options for the bootloader.
  20. 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.
  21. Installation is done.
  22. Reboot when prompted.
  23. 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).
  24. 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.
  25. Disable kdump.
  26. Log on as “root”
  27. 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.
  28. 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.
  29. As root run system-config-firewall, disable it and click apply.
  30. Edit /etc/sysconfig/selinux to set it to “disabled”. You need to reboot after this change.
  31. 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
  32. 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:

/home_local/daniels 192.168.0.0/24(rw,sync)

  • Following the instructions on this following link to set email masquerading correctly:

sendmail masquerading

Comments are closed.