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

    Centos 7 Install Guide Fog 1.4.0 (applies to 1.4.3 too) with DNS Masq for network boot

    Scheduled Pinned Locked Moved
    Tutorials
    1
    1
    1.1k
    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.
    • W
      wisid
      last edited by Tom Elliott

      After about 15 installs on vms and hardware this is the shortcut way to get a fog box up on centos 7, with dnsmasq to point your network boot settings to your fog box.

      From the terminal

      #do it all from su
      su - #enter password for root user
      #check your ip before your start, save some hassle later on
      ifconfig
      wget http://downloads.sourceforge.net/project/freeghost/FOG/fog_1.4.0/fog_1.4.0.tar.gz
      tar xzf fog_1.4.0.tar.gz
      cd fog_1.4.0/bin
      #no to dhcp areas and storage node, check your interface
      ./installfog.sh
      
      #SELINUX=permissive
      # in sysconfig
      gedit /etc/sysconfig/selinux 
      
      #copy ltsp config below into ltsp for network booting
      gedit /etc/dnsmasq.d/ltsp.conf
      
      #sym links give errors, so I copy the files
      cp /tftpboot/undionly.kpxe /tftpboot/undionly.0
      cp /tftpboot/ipxe.efi /tftpboot/ipxe.0
      
      #own the folder
      chown -R fog.root /images  
      
      systemctl enable dnsmasq.service
      systemctl disable firewalld
      systemctl stop firewalld
      Reboot
      
      #--------------------------ltsp.conf, make sure you change to your servers ip x.x.x.x
      port=0
      log-dhcp
      tftp-root=/tftpboot
      dhcp-boot=undionly.kpxe,,x.x.x.x
      dhcp-no-override
      pxe-prompt="Booting FOG Client", 1
      pxe-service=X86PC, "Boot to FOG", undionly,x.x.x.x
      pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe,x.x.x.x
      pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe,x.x.x.x
      dhcp-range=x.x.x.x,proxy
      #---------------------------------
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      317

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project