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

    FOG v0.32 install script doesn't install DHCP

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    6
    2.0k
    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.
    • J
      Jim Smith
      last edited by

      First the install script didn’t install DHCP…

      [root@localhost ~]# cd /opt
      [root@localhost opt]# cd fog*
      [root@localhost fog_0.32]# cd bin
      [root@localhost bin]# ./installfog.sh

         ..#######:.    ..,#,..     .::##::.   
      

      .:###### .:;####:…;#;…
      …##… …##;,;##::::.##…
      ,# …##…##:::## …::
      ## .::###,##. . ##.::#.:######::.
      …##:::###::…#. … .#…#. #…#:::.
      …:####:… …##…##::## … #
      # . …##:,;##;:::#: … ##…
      .# . .:;####;::::.##:::;#:…
      # …:;###…

      ###########################################

      FOG

      Free Computer Imaging Solution

      Created by:

      SyperiorSoft

      [url]http://www.SyperiorSoft.com[/url]

      Developers:

      Chuck Syperski

      Jian Zhang

      GNU GPL Version 3

      ###########################################

      Version: 0.32 Installer/Updater

      What version of Linux would you like to run the installtion for?

            1) Redhat Based Linux (Fedora, CentOS)
            2) Ubuntu Based Linux (Kubuntu, Edubuntu)
      

      Choice: [1]1

      Staring Redhat Installation.

      FOG Server installation modes:
      * Normal Server: (Choice N)
      This is the typical installation type and
      will install all FOG components for you on this
      machine. Pick this option if you are unsure what to pick.

        * Storage Node: (Choice S)
            This install mode will only install the software required
            to make this server act as a node in a storage group
      

      More information:
      [url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]

      What type of installation would you like to do? [N] n

      What is the IP address to be used by this FOG Server? [192.168.1.6]

      Would you like to setup a router address for the DHCP server? [Y/n] y
      What is the IP address to be used for the router on the DHCP server? [192.168.1.1]

      Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n] y
      What is the IP address to be used for DNS on the DHCP server and client boot image? [192.168.1.1]

      Would you like to change the default network interface from eth0?
      If you are not sure, select No. [y/N]n

      Would you like to use the FOG server for dhcp service? [Y/n] y

      This version of FOG has internationalization support, would
      you like to install the additional language packs? [Y/n] n

      #####################################################################

      FOG now has everything it needs to setup your server, but please
      understand that this script will overwrite any setting you may
      have setup for services like DHCP, apache, pxe, tftp, and NFS.

      It is not recommended that you install this on a production system
      as this script modifies many of your system settings.

      This script should be run by the root user on Fedora, or with sudo on Ubuntu.

      Here are the settings FOG will use:
      Distro: Redhat
      Installation Type: Normal Server
      Server IP Address: 192.168.1.6
      DHCP router Address: 192.168.1.1
      DHCP DNS Address: 192.168.1.1
      Interface: eth0
      Using FOG DHCP: 1
      Internationalization: 0

      Are you sure you wish to continue (Y/N) y

      Installation Started…

      Installing required packages, if this fails
      make sure you have an active internet connection.

      • Skipping package: httpd (Already Installed)
      • Skipping package: php (Already Installed)
      • Skipping package: php-gd (Already Installed)
      • Skipping package: php-cli (Already Installed)
      • Skipping package: php-gettext (Already Installed)
      • Skipping package: mysql (Already Installed)
      • Skipping package: mysql-server (Already Installed)
      • Skipping package: php-mysql (Already Installed)
      • Installing package: dhcp
      • Skipping package: tftp-server (Already Installed)
      • Skipping package: nfs-utils (Already Installed)
      • Skipping package: vsftpd (Already Installed)
      • Skipping package: net-tools (Already Installed)
      • Skipping package: wget (Already Installed)
      • Skipping package: xinetd (Already Installed)
      • Skipping package: tar (Already Installed)
      • Skipping package: gzip (Already Installed)
      • Skipping package: make (Already Installed)
      • Skipping package: m4 (Already Installed)
      • Skipping package: gcc (Already Installed)
      • Skipping package: gcc-c++ (Already Installed)
      • Skipping package: htmldoc (Already Installed)
      • Skipping package: perl (Already Installed)
      • Skipping package: perl-Crypt-PasswdMD5 (Already Installed)
      • Skipping package: lftp (Already Installed)
      • Skipping package: clamav-update (Already Installed)

      Confirming package installation.

      • Checking package: httpd…OK
      • Checking package: php…OK
      • Checking package: php-gd…OK
      • Checking package: php-cli…OK
      • Checking package: php-gettext…OK
      • Checking package: mysql…OK
      • Checking package: mysql-server…OK
      • Checking package: php-mysql…OK
      • Checking package: dhcp…Failed!

      Then I tried to install dhcp via yum command -

      [root@localhost ~]# yum install dhcp
      Loaded plugins: presto, refresh-packagekit
      Setting up Install Process
      Resolving Dependencies
      –> Running transaction check
      —> Package dhcp.i686 12:4.1.2-4.ESV.R2.fc13 set to be updated
      –> Finished Dependency Resolution

      Dependencies Resolved

      ================================================================================
      Package Arch Version Repository Size

      Installing:
      dhcp i686 12:4.1.2-4.ESV.R2.fc13 updates 894 k

      Transaction Summary

      Install 1 Package(s)
      Upgrade 0 Package(s)

      Total size: 894 k
      Installed size: 2.1 M
      Is this ok [y/N]: y
      Downloading Packages:
      Running rpm_check_debug
      Running Transaction Test

      Transaction Check Error:
      file /usr/share/man/man5/dhcp-eval.5.gz from install of dhcp-12:4.1.2-4.ESV.R2.fc13.i686 conflicts with file from package dhclient-12:4.1.1-15.fc13.i686
      file /usr/share/man/man5/dhcp-options.5.gz from install of dhcp-12:4.1.2-4.ESV.R2.fc13.i686 conflicts with file from package dhclient-12:4.1.1-15.fc13.i686

      Error Summary

      So now what?

      And as a side note - I can’t access the FOG web gui management page, I changed the [SIZE=12px][FONT=Arial][COLOR=#000000]“MYSQL_PASSWORD” to a blank password[/COLOR][/FONT][/SIZE] at ‘[SIZE=12px][FONT=Arial][COLOR=#000000]/var/www/fog/commons/config.php’, and there’s no such path as [/COLOR][/FONT][/SIZE]
      [SIZE=12px][FONT=Arial][COLOR=#000000]‘/opt/fog/service/etc/config.php’ to change the other “MYSQL_PASSWORD”.[/COLOR][/FONT][/SIZE]

      (As a 2nd side note, I already have a working FOG server, so I know it can be done, although I bought a newer computer to load Fedora (13 - old machine was 😎 with FOG.)

      Please help, thank you very much.
      Jim

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Is there are reason you’re preferring to install 0.32 vs. 1.1.2?

        Fedora has some funny issues in regards to any version of FOG as repositories are not installed, and the more modern you get with fedora, the changes become way too overwhelming. That said, have you simple tried removing the conflicting package? Set your network up as Static IP and ensure it’s good with DNS as well to access the internet. To remove the conflicting client, you could try:
        [code]yum remove dhclient; yum install dhpc[/code]

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • J
          Jim Smith
          last edited by

          Well I think I was having some sort of issue with version 1.1.2, maybe it was the dhcp conflict, it’s been a long day. But removing the dhclient and installing dhcp, then installing the .32 script worked. I can now get to the FOG Mgmt gui.
          Thanks for your help!
          I’ll try v1.1.2 soon.
          Jim

          1 Reply Last reply Reply Quote 0
          • J
            Jim Smith
            last edited by

            I upgraded to v. 1.1.2 and everything went fine (after I ran the ‘yum remove dhclient’), only question now, is where is the images folder where I can put my custom boot iso’s? I noticed tftpboot isn’t there anymore. I also need to edit the default menu.
            Thanks again,
            Jim

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              /tftpboot is still there, but if you’re doing custom ISO’s you will likely want it on the /var/www/html/fog/service/ipxe/ folder.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer
                last edited by

                personally, i would recommend using a folder such as /var/www/html/ISO because this folder will not be touched in fog upgrades, but the /var/www/html/fog/service/ipxe/ folder will be moved

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                187

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project