Ignore:
Timestamp:
Jun 27, 2012, 10:29:47 PM (11 years ago)
Author:
ezyang
Message:
Reintegrate Fedora 17 development branch into trunk.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/server/doc/install-howto.sh

    r2214 r2246  
    7777#   XXX We should make Kickstart work for test servers too
    7878
     79# Make sure selinux is disabled
     80    selinuxenabled || echo "selinux not enabled"
     81
    7982# Take updates, reboot if there's a kernel update.
    8083    yum update -y
     
    9699    \cp -a etc /
    97100    chmod 0440 /etc/sudoers
     101    grub2-mkconfig -o /boot/grub2/grub.cfg
    98102
    99103# [TEST] You'll need to fix some config now.  See bottom of document.
     104
     105# Stop /etc/resolv.conf from getting repeatedly overwritten by
     106# purging DNS servers from ifcfg-eth0 and ifcfg-eth1
     107    vim /etc/sysconfig/network-scripts/ifcfg-eth0
     108    vim /etc/sysconfig/network-scripts/ifcfg-eth1
    100109
    101110# Make sure network is working.  Kickstart should have
     
    246255    gem install $(gem list --no-version | grep -Fxvf - gem.txt)
    247256    # Also, we need to install the old rails version
    248     gem install -v=2.3.5 rails
     257    gem install -v=2.3.14 rails
    249258# These are in /usr
    250259
     
    340349    cat install-ldap
    341350
    342 # Enable lots of services
     351# Enable lots of services (currently in /etc checkout)
    343352    systemctl enable openafs-client.service
    344     systemctl enable dirsrv.service
     353    systemctl enable dirsrv.target
    345354    systemctl enable nslcd.service
    346355    systemctl enable nscd.service
    347356    systemctl enable postfix.service
    348     systemctl enable nrpe.service
     357    systemctl enable nrpe.service # chkconfig'd
    349358    systemctl enable httpd.service # not for [WIZARD]
    350359
    351360    systemctl start openafs-client.service
    352     systemctl start dirsrv.service
     361    systemctl start dirsrv.target
    353362    systemctl start nslcd.service
    354363    systemctl start nscd.service
     
    360369# among others, 'amd64_fedoraX_scripts' (vary X) and 'scripts'. If it's
    361370# not, you probably did a distro upgrade and should update
    362 # /etc/sysconfig/openafs (XXX this is wrong: figuring out new
    363 # systemd world order).
     371# tokensys (server/common/oursrc/tokensys/scripts-afsagent-startup.in)
    364372    fs sysname
    365373
     
    374382# (Note: this errors on XeTeX which is ok.)
    375383    fmtutil-sys --all
     384
     385# Check for unwanted setuid/setgid binaries
     386    find / -xdev -not -perm -o=x -prune -o -type f -perm /ug=s -print | grep -Fxvf /etc/scripts/allowed-setugid.list
    376387
    377388# Fix etc by making sure none of our config files got overwritten
Note: See TracChangeset for help on using the changeset viewer.