• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    My CentOS 7.2.1511 recipe (for solely running a FOG Server)

    Scheduled Pinned Locked Moved
    Tutorials
    1
    2
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sudburrS
      sudburr
      last edited by sudburr

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      CentOS_7.2.1511 - Install Minimal Server +20161005

      • This is a MINIMAL (CORE) installation intended solely for a FOG Server role
      • The resulting image can be deployed to any virtual or physical hardware
      • https://wiki.centos.org/FAQ/CentOS7

      =-=-=-=-=-
      For a Physical FOG Server

      i.	Flash & Program System BIOS for ODD Boot
      ii.	Install HDD #1 (120+ GiB & zeroed) on first controller port
      iii.	Install ODD #1 on last controller port
      iv.	Insert CentOS-7-x86_64-NetInstall-1511CD
      

      =-=-=-=-=-
      For a Hyper-V Virtual FOG Server

      i.	Create a New Virtual Machine: <Name of Choice>, Generation 1, 512MB Dynamic Memory, Onboard Network, Create a virtual hard disk
      ii.	Boot from CD
      iii.	Maximum RAM 2048MB
      iv.	1 Virtual Processor
      v.	DVD Drive Image File: "CentOS-7-x86_64-NetInstall-1511.iso"
      vi.	REMOVE: SCSI Controller
      vii.	Automatic Start Action: Nothing
      

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      01> Install CentOS_7.2.1511

      • Start Machine
      • Install!

      @ CentOS 7

      • Install CentOS 7.2.1511

      @ What language would you like to use during the installation process?

      • English (Canada)
        = CONTINUE

      @ Installation Summary

      / Network & Host Name

      • Ethernet (eth0) = ON
      • Host Name = “centos7”
        = DONE

      / Date & Time

      • Americas + Toronto
      • Network Time = ON + Configure + OK
        = DONE

      / Installation Source

      • On the network = “http://mirror.centos.org/centos/7.2.1511/os/x86_64/”
        = DONE

      / Software Selection

      • Minimal Install
        = DONE

      / Installation Destination

      • I will configure partitioning
      • Checkmark <Msft Virtual Disk>
        = DONE

      @ Manual Partitioning

      • New mount points will use the following partitioning scheme = Standard Partition
      • Add Mount Points

      /sda1
      Mount Point: /boot
      Desired Capacity: 500 MB
      Device Type: Standard Partition
      File System: xfs

      /sda2
      Mount Point: swap
      Desired Capacity: 2 GiB
      Device Type: Standard Partition
      File System: swap

      /sda3
      Mount Point: /
      Desired Capacity: 20 GiB
      Device Type: Standard Partition
      File System: ext4

      @ Summary of Changes
      = Accept Changes

      @ Installation Summary
      = Begin Installation

      @ Configuration

      / Root Password

      • “… root password …”
        = DONE

      / User Creation

      • Full name = administrator
      • Username = administrator
      • Make this user administrator
      • Password = “… administrator password …”
        = DONE

      @ CentOS is now successfully installed …

      • Reboot (.ISO is ejected)
      • system restarts

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      02> Determine IPv4 Address

      • Login via CONSOLE
      ip addr
      exit
      

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      03> Update OS & Recompile Kernel

      • Login REMOTELY with Kitty ( http://kitty.9bis.net/ )
      • Elevate Access Level
      sudo su
      
      • Disable access via SSH for root account
      sed -i "s|#PermitRootLogin yes|PermitRootLogin no|g" /etc/ssh/sshd_config
      systemctl restart sshd.service
      
      • Direct next Kernel recompilation to include AHCI drivers & be HW generic
      sed -i 's|#add_drivers+="|add_drivers+="ahci|g' /etc/dracut.conf
      sed -i 's|#hostonly="yes|hostonly="no|g' /etc/dracut.conf
      
      • Clean & Update the OS (includes Kernel recompilation)
      yum clean all
      yum makecache
      yum update -y
      
      • Clear history of typed commands
      history -c
      
      • Shutdown
      shutdown now
      

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      04> End of Minimal CentOS_7.2.1511

      • Add Legacy Network Adapter
      • Set Legacy Network Adapter, Virtual Switch: Onboard
      • Set BIOS Boot to Legacy Network Adapter

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      05> Export and Capture from here

      • Export VM
      • Capture via FOG (Linux, Single Disk - Resizable, Compression=3)

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Continues at How I Create a Ready-to-Deploy FOG Server git1.3.0-RC-10_svn5955 on CentOS 7.x VM

      [ Standing in between extinction in the cold and explosive radiating growth ]

      1 Reply Last reply Reply Quote 1
      • sudburrS
        sudburr
        last edited by

        Updated with some new formatting .

        [ Standing in between extinction in the cold and explosive radiating growth ]

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        151

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project