Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These are the steps to install and configure CentOS 7 at SLAC for a headless bare metal server, or virtual machine in VMware or OpenStack:

 

  1. Install CentOS 7 using either the Minimal or the DVD ISO available here (available on the SLAC network or VPN):

    http://yum.slac.stanford.edu/iso/centos/7/

     

  2. Log into your new CentOS 7 host. 
    Become root by using sudo or /bin/su. 
    Install Chef by running this command as root:

    curl http://yum.slac.stanford.edu/go-chef

...

  1.  | /bin/sh

     

  2. Before you exit your root prompt, you need to modify this file:

    /etc/security/access.netgroup.conf

    Add a line that looks like this (replace 'ksa' with your username):

    + : ksa :

...

  1.  ALL

    Make sure to add that line above the last line.  Here is an example of what the file might look like if you wanted to grant login access to users ksa and vanilla:

    + : root : LOCAL  134.79.0.0/16 172.16.0.0/12
    + : ksa : ALL
    + : vanilla : ALL
    + : @u-scs-staff : ALL
    - : ALL : ALL

     

  2.  Before you exit your root prompt, create a sudoers entry for yourself

...

  1. inside the /etc/sudoers.d directory. 

...


  1. You can copy and paste the following (replace 'ksa' with your username):

    cat > /etc/sudoers.d/user-ksa << EOF
    ksa   ALL=ALL
    EOF

     

     

     

     



 

 

 

Info

Content by Label
showLabelsfalse
max5
spacesSCSPub
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("centos7","rhel7","chef") and type = "page" and space = "SCSPub"
labelsrhel7 chef centos7

...