Versions Compared

Key

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

Gerald Manipon edited this page on Sep 13, 2018 · 3 revisions

Page Navigation:

Table of Contents


(blue star) Confidence Level TBD  This article has not been reviewed for accuracy, timeliness, or completeness. Check that this information is valid before acting on it.

Intro

Create a base CentOS 7 image for installation of all HySDS component instances

  1. Start up a CentOS 7 instance. Use image from http://cloud.centos.org/centos/7/images/ for private cloud provisioning. For public cloud provisioning use CentOS 7 x86_64 HVM image at https://wiki.centos.org/Cloud/AWS.

  2. Log into instance as user centos and sudo to root:

    Code Block
    sudo su -
    
  3. Disable SELinux by modifying /etc/selinux/config:

    Code Block
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of three two values:
    #     targeted - Targeted processes are protected,
    #     minimum - Modification of targeted policy. Only selected processes are protected.
    #     mls - Multi Level Security protection.
    SELINUXTYPE=targeted
    
  4. Install EPEL repo, update and upgrade:

    Code Block
    yum install -y epel-release
    yum update
    
  5. Install requisite yum packages:

    Code Block
    yum -y install puppet puppet-firewalld nscd chrony wget curl subversion git vim screen
    
  6. Clean yum cache:

    Code Block
    yum clean all
    
  7. Clean cloud-init data:

    Code Block
    rm -rf /var/lib/cloud/*
    
  8. Create an image of this instance using the method that pertains to your private/public cloud implementation. This image will now be used for generating all other HySDS component instances.


(lightbulb) Have Questions? Ask a HySDS Developer:

Anyone can join our public Slack channelto learn more about HySDS. JPL employees can join #HySDS-Community

(blue star)

JPLers can also ask HySDS questions atStack Overflow Enterprise

(blue star)

Live Search
placeholderSearch HySDS Wiki