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

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

    Scheduled Pinned Locked Moved
    Tutorials
    2
    4
    2.7k
    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 - Install Minimal Server +20151027

      • 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 (hopefully)
      • 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-1503 CD
      

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

      i.	Create a New Virtual Machine: CentOS_7, 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-1503.iso"
      vi.	Automatic Start Action: Nothing
      

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      01> Install CentOS_7

      • Start Machine
      • Install!

      @ CentOS 7

      • Install CentOS 7

      @ 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/os/x86_64/”
        = DONE

      / Software Selection

      • Minimal Install
        = DONE

      / Installation Destination

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

      @ Manual Partitioning

      • Use the following partitioning scheme = Standard Partition
      • Click here to create them automatically
      • DATA /home = DELETE
      • SYSTEM swap = File System = swap, Desired Capacity = 10 GiB ( becomes sda3 )
      • SYSTEM / = File System = ext4, Desired Capacity = 999 GiB ( becomes sda2 )
      • SYSTEM /boot = File System = ext4, Desired Capacity = 500 MiB ( becomes sda1 )
        = DONE

      @ 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> Master the OS & Update the Kernel

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

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      03> End of Recipe

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

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      04> Ready for FOG Capture

      • Capture

      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        Very nice. I suppose your virtualization server has a very high core speed for only one core to work smoothly.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

          My development Hyper-V server is a desktop i7 2600 and 16GB memory.

          FOG is such a lightweight that I find the storage I/O and Ethernet to be the only bottlenecks.

          My physical servers are all running on 2009 Lenovo M58 systems with Pentium E2220 and 2GB ; SATA-II and often 5900rpm at that.

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

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

            Updated to include mastering for duplication.

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

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

            284

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project