TWiki> DICE Web>MPUBootstrapNewFedora (revision 2)EditAttach

Bootstrapping a new version of Fedora

This is a quick account of what I needed to do to get started with FC5 x86_64

1. Install FC5 x86_64 from DVD

2. Use the install time wizard to configure the system to use kerberos authentication and ldap for user information (point it at infdir.inf.ed.ac.uk). Also configure the system to use ntp, it should have picked up the correct ntp servers . This is essential as kerberos requires that the clocks on the client and servers are very close together.

3. Create required fake afs home directories, e.g. /afs/inf.ed.ac.uk/user/s/squinney and chown to the correct user and group (normally something like squinney:people)

4. Log in and do basic setup for building packages

  • Set up rpmbuild directories and .rpmmacros file

5. Use yum to get all packages up-to-date

6. Install required packages:

  • zile, emacs
  • fedora-rpmdevtools

7. Add linux and lcfg users and also add local and lcfg groups

8. kerberos

  • Use kadmin to add the necessary keys to /etc/krb5.keytab

9. amd

  • Install am-utils package
  • Copied over the various amd configs from /var/lcfg/conf/amd/, into /etc/ and editted appropriately
  • Started amd
  • Made all convenience symlinks in / and /pkgs

10. openssh

  • Install audit-libs-devel
  • Build the local version and install packages: openssh openssh-askpass openssh-server openssh-clients
  • Copy over the sshd_config and ssh_config
  • Restart sshd

11. openafs

  • Install kernel-devel packages
  • Install openafs src package from /pkgs/master/srpms/fc5/ed
  • Build userspace and install built packages: openafs-krb5 openafs-kernel-smp openafs-devel openafs-authlibs openafs-client openafs openafs-docs openafs-server openafs-authlibs-devel openafs-kernel-source openafs-kernel
  • Build kernel module and install openafs-kernel package (and openafs-kernel-smp where needed)
  • Edit /usr/vice/etc/ThisCell and /etc/sysconfig/openafs to match the standard dice/informatics setup
  • Restart openafs-client
  • Build and install gafstoken and pam_afs2
  • Alter /etc/pam.d/system-auth so pam_afs2 is used

-- StephenQuinney - 27 Sep 2006

Edit | Attach | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 27 Sep 2006 - 13:23:44 - StephenQuinney
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies