Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
  {{{  {{{
Line 47: Line 47:
   }}}  }}}
Line 53: Line 53:
  1. Boot from Memory Stick  1. Boot from Memory Stick
Line 55: Line 55:
  1. Language: ''English'' (install language)  1. Language: ''English'' (install language)
Line 57: Line 57:
  1. Install: ''Install Ubuntu Server''  1. Install: ''Install Ubuntu Server''
Line 59: Line 59:
  1. Language: ''English''  1. Language: ''English''
Line 61: Line 61:
  1. Location: ''Other --> Europe --> Switzerland''  1. Location: ''Other --> Europe --> Switzerland''
Line 63: Line 63:
  1. Configure Locales: ''United States en_US.UTF-8''  1. Configure Locales: ''United States en_US.UTF-8''
Line 65: Line 65:
  1. Configure keyboard: ''English (US) --> English (US)''  1. Configure keyboard: ''English (US) --> English (US)''
Line 67: Line 67:
  1. Ethernet:
  {{{
 1. Ethernet:
 {{{
Line 71: Line 71:
  }}}  }}}
Line 73: Line 73:
  1. Hostname: ''zg-2''  1. Hostname: ''zg-2''
Line 75: Line 75:
  1. User:
  * Full name: ''Alan Hodgkinson''
     * User name: ''alan''
     * Password: ''*****''
 1. User:
    * Full name: ''Alan Hodgkinson''
    * User name: ''alan''
    * Password: ''*****''
Line 80: Line 80:
  1. Encrypt home directory: ''No''  1. Encrypt home directory: ''No''
Line 82: Line 82:
  1. Time zone: ''Europe/Zurich''  1. Time zone: ''Europe/Zurich''
Line 84: Line 84:
  1. Partitions:
  * Unmount Partitions in use: ''Yes'' (''/dev/sdb'')
 1. Partitions:
    * Unmount Partitions in use: ''Yes'' (''/dev/sdb'')
Line 87: Line 87:
  1. Partition disks: ''Manually''
  {{{
 1. Partition disks: ''Manually''
 {{{
Line 103: Line 103:
  }}}  }}}
Line 105: Line 105:
  1. ''System installed...''  1. ''System installed...''
Line 107: Line 107:
  1. Configure Package Manager: HTTP Proxy: ''none''  1. Configure Package Manager: HTTP Proxy: ''none''
Line 109: Line 109:
  1. Configuring toolset: ''No automatic updates''  1. Configuring toolset: ''No automatic updates''
Line 112: Line 112:
  * ''Open SSH server''
  * ''Standard system utilities''
    * ''Open SSH server''
    * ''Standard system utilities''
Line 115: Line 115:
  1. Install GRUB boot loader on hard disk: ''Yes'', /dev/sdb, SAMSUNG_SSD_...  1. Install GRUB boot loader on hard disk: ''Yes'', /dev/sdb, SAMSUNG_SSD_...
Line 117: Line 117:
== Post Installation Config ==

 1. Login on console as ''alan'' and ''sudo bash''

 1. Set root passwd

 1. Allow root SSH login:
 {{{
vi /etc/ssh/sshd_config
# Change
PermitRootLogin prohibit-password
# To
PermitRootLogin yes
:x

service sshd restart
 }}}

 1. Setup Networking
    * Interfaces
    {{{
cd /etc/network
cat interfaces
...
# The primary network interface
auto enp0s25
iface enp0s25 inet static
        address 94.231.88.101
        netmask 255.255.255.240
        network 94.231.88.96
        broadcast 94.231.88.111
        gateway 94.231.88.99
        #dns-nameservers 94.231.88.100 94.231.88.102
        dns-nameservers 127.0.0.1
        dns-search softxs.ch
    }}}

    * Hostname
    {{{
cat /etc/hostname
127.0.0.1 localhost
127.0.1.1 zg-2.softxs.ch zg-2
94.231.88.101 zg-2.softxs.ch zg-2

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
    }}}

V2 and MAPS Setup in Production

V2Master - V2Deployment

This Page Is Incomplete

Introduction

This pages describe how to setup MAPS and V2 systems in a production environment such that MAPS is used for authentication management for V2 systems.

Two use cases are considered:

  1. Installation of prototype systems
  2. Installation of a true customer facing production system

Installation of zg-2.softxs.ch

Hardware

  1. 2 x Intel Xeon E5504, 2.0 GHz, e.g. 2 x quad-core
  2. 32 GB Main Memory
  3. 500 GB SSD, Samsung SSD 840

  4. 2 x 4 TB disk drives, WDC WD4001FAEX-0

  5. Ensure VT-x is enabled in the BIOS

Disk Partitions

Memory Stick Preparation

  1. Download Ubuntu Server 16.04.2 LTS
  2. Use lsblk command to find USB device

  3. Command to download and copy of memory stick:
    cd /home/backup
    wget http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso
    dd bs=4M if=ubuntu-16.04.2-server-amd64.iso of=/dev/sdd
  4. Memory stick should boot

Unbuntu Installation

  1. Boot from Memory Stick
  2. Language: English (install language)

  3. Install: Install Ubuntu Server

  4. Language: English

  5. Location: Other --> Europe --> Switzerland

  6. Configure Locales: United States en_US.UTF-8

  7. Configure keyboard: English (US) --> English (US)

  8. Ethernet:
    enp0s25 <-- Select this one (where cable is plugged in)
    enp1s0
  9. Hostname: zg-2

  10. User:
    • Full name: Alan Hodgkinson

    • User name: alan

    • Password: *****

  11. Encrypt home directory: No

  12. Time zone: Europe/Zurich

  13. Partitions:
    • Unmount Partitions in use: Yes (/dev/sdb)

  14. Partition disks: Manually

    SCSI1 (0,0,0) sda
        #1    4 TB    
    
    SCSI1 (0,1,0) sdb
        Part. Label          Size   Mount Point    Types/Notes
        -------------------------------------------------------------
        #1    zg2_boot       1 GB   /boot          ext4, bootable
        #2    N/A           16 GB   swap
        #3    zg2_root      16 GB   /              ext4    
        #4    zg2_tmp       32 GB   /tmp           ext4    
        #5    zg2_home     435 GB   /home          ext4    
    
    SCSI2 (0,0,0) sdc
        #1    4 TB   
  15. System installed...

  16. Configure Package Manager: HTTP Proxy: none

  17. Configuring toolset: No automatic updates

    1. Software Selection: Select the following (leave everything else unselected):
      • Open SSH server

      • Standard system utilities

  18. Install GRUB boot loader on hard disk: Yes, /dev/sdb, SAMSUNG_SSD_...

Post Installation Config

  1. Login on console as alan and sudo bash

  2. Set root passwd
  3. Allow root SSH login:
    vi /etc/ssh/sshd_config
    # Change
    PermitRootLogin prohibit-password
    # To
    PermitRootLogin yes
    :x
    
    service sshd restart
  4. Setup Networking
    • Interfaces
      cd /etc/network
      cat interfaces
      ... 
      # The primary network interface
      auto enp0s25
      iface enp0s25 inet static
              address 94.231.88.101
              netmask 255.255.255.240
              network 94.231.88.96
              broadcast 94.231.88.111
              gateway 94.231.88.99
              #dns-nameservers 94.231.88.100 94.231.88.102
              dns-nameservers 127.0.0.1
              dns-search softxs.ch
    • Hostname
      cat /etc/hostname
      127.0.0.1   localhost
      127.0.1.1   zg-2.softxs.ch zg-2
      94.231.88.101       zg-2.softxs.ch zg-2
      
      # The following lines are desirable for IPv6 capable hosts
      ::1     localhost ip6-localhost ip6-loopback
      ff02::1 ip6-allnodes
      ff02::2 ip6-allrouters

Software RAID Setup

Puppet Installation

V2SetupProduction (last edited 2017-03-29 10:21:36 by TiborNagy)

Copyright 2008-2014, SoftXS GmbH, Switzerland