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

Installing a new clean fog server

Scheduled Pinned Locked Moved
General
8
43
15.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.
  • Q
    Quazz Moderator @Predator
    last edited by Jul 31, 2017, 11:43 AM

    @predator Hi, SELinux must be set to permissive for now in order for certain FOG central services to work correctly (such as NFS).

    There have been some attempts to create SELinux profiles instead, but given how often things can change, this is obviously a more cumbersome way of going about it.

    You should use both commands. First one will make it so when you reboot, SELinux is in permissive mode, second one sets it in current session so you don’t have to reboot.

    1 Reply Last reply Reply Quote 1
    • G
      george1421 Moderator @Predator
      last edited by Jul 31, 2017, 12:00 PM

      @predator

      Simply the setenforce 0 disables selinux (think MS Windows UAC) off without having to reboot your server. Updating the selinux conf file will make the change persistent across reboots. We are recommending you set the value to permissive. This is done so that selinux will record the events but not block them. If you require selinux enabled because of your company’s security policy you can take these logged events and create a selinux profile. This fog selinux profile then can be enabled to allow FOG to run while selinux is enabled.

      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!

      1 Reply Last reply Reply Quote 1
      • L
        lmioperations @Predator
        last edited by lmioperations Jul 31, 2017, 6:09 AM Jul 31, 2017, 12:08 PM

        @predator said in Installing a new clean fog server:

        SELinux to permissive on boot

        See if this info helps: https://wiki.gentoo.org/wiki/SELinux/Tutorials/Permissive_versus_enforcing

        Looks like George already beat me to a reply :D, and his info ended up being more to the point of what you need with regards to FOG ;).

        1 Reply Last reply Reply Quote 0
        • P
          Predator
          last edited by Aug 1, 2017, 12:39 PM

          Ok looks like i’m kinda stuck here. I managed to install the fog client and have to visit the management console in my web browser 10.x.x.x/fog/management/index.php

          I’m in front of the login page and can’t seem to login. Where the hell did i setup this login i don’t even know…

          1 Reply Last reply Reply Quote 0
          • P
            Predator
            last edited by Aug 1, 2017, 12:57 PM

            @george1421

            I have setup centos on IPV4 10.2.3.207

            When installing the fogclient i choose IPV4 10.2.3.208

            I get a response in the terminal to open the management console on http://10.2.3.208/fog/management/index.php

            Yet http://10.2.3.208/fog/management/index.php is not reachable…

            But when i enter http://10.2.3.207/fog/management/index.php i do get the fog login page…

            T 1 Reply Last reply Aug 1, 2017, 12:59 PM Reply Quote 0
            • T
              Tom Elliott @Predator
              last edited by Aug 1, 2017, 12:59 PM

              @predator Why did you setup on 207, but then go to 208?

              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

              P 1 Reply Last reply Aug 1, 2017, 1:06 PM Reply Quote 0
              • P
                Predator @george1421
                last edited by Aug 1, 2017, 1:04 PM

                @george1421 said in Installing a new clean fog server:

                And you are correct all three need different IP addresses.

                1 Reply Last reply Reply Quote 0
                • P
                  Predator @Tom Elliott
                  last edited by Aug 1, 2017, 1:06 PM

                  @tom-elliott

                  Because George confirmed all three need different ip addresses…

                  @george1421
                  1.VM Host = leave network settings on dynamic
                  2.VM Guest = configure network settings on static
                  3.FOG Client = configure network settings on static

                  So if we set it up like this all 3 would have different ip addresses correct?

                  G T Q 4 Replies Last reply Aug 1, 2017, 1:14 PM Reply Quote 0
                  • G
                    george1421 Moderator @Predator
                    last edited by george1421 Aug 1, 2017, 7:18 AM Aug 1, 2017, 1:14 PM

                    @predator You have this incorrect.

                    1.VM Host = leave network settings on dynamic
                    2.VM Guest = configure network settings on static
                    3.FOG Client = configure network settings on static

                    This should be,

                    1. VM Host = Must be unique, but don’t really care. Not used by/for fog
                    2. VM Guest = configure network settings on static
                    3. FOG Client = dhcp

                    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!

                    1 Reply Last reply Reply Quote 1
                    • G
                      george1421 Moderator @Predator
                      last edited by Aug 1, 2017, 1:17 PM

                      @predator You are adding a little bit of complexity because you are using a type-2 hypervisor.

                      The requirements for FOG are the same.

                      1. FOG server must have a unique static address that is not changed after FOG is installed.

                      2. The target (client) computer must have its IP address assigned by dhcp, because that is the only way it can find out about the FOG server to boot from.

                      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!

                      1 Reply Last reply Reply Quote 1
                      • T
                        Tom Elliott @Predator
                        last edited by Aug 1, 2017, 1:18 PM

                        @predator Well, I think you’re confusing terminologies here.

                        FOG Client, in my eyes, is the machine you’re attempting to image. The FOG Client, you’re basing your layout on, is actually what I would term “FOG Server”?

                        VM Host needs an IP address.

                        VM Guest = FOG Server as I’m seeing it. (This is the vm guest that’s hosting the fog server)

                        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

                        P 1 Reply Last reply Aug 1, 2017, 1:43 PM Reply Quote 1
                        • Q
                          Quazz Moderator @Predator
                          last edited by Aug 1, 2017, 1:20 PM

                          @predator How did you configure the virtual NIC to act? (bridged?)

                          P 1 Reply Last reply Aug 1, 2017, 1:48 PM Reply Quote 0
                          • P
                            Predator @Tom Elliott
                            last edited by Aug 1, 2017, 1:43 PM

                            @tom-elliott

                            I think i am. The fog client is what i call the fog server because we have to install the fog console on the server.

                            Debriefing:

                            1 VMWare Workstation (VM Host)
                            2 CentOS (VM Guest)
                            3 FOG Management Console (FOG Client)

                            So the FOG management console needs the same IPV4 address as CentOS?

                            Q 1 Reply Last reply Aug 1, 2017, 1:47 PM Reply Quote 0
                            • Q
                              Quazz Moderator @Predator
                              last edited by Aug 1, 2017, 1:47 PM

                              @predator

                              Let’s keep things simple here.

                              A FOG Client is a different computer that connects to the FOG Server.

                              In other words, your 2 and 3 are one and the same (and thus not a FOG Client). A FOG Client would indeed need a different IP as George said, but this is not the case for you.

                              Your FOG server ip is the Centos IP, since they are the same. FOG is just software that runs on it, if that makes sense.

                              1 Reply Last reply Reply Quote 0
                              • P
                                Predator @Quazz
                                last edited by Predator Aug 2, 2017, 12:57 AM Aug 1, 2017, 1:48 PM

                                @quazz

                                Yep i did configure it as bridged adapter.

                                P 1 Reply Last reply Aug 2, 2017, 12:14 PM Reply Quote 0
                                • P
                                  Predator @Predator
                                  last edited by Aug 2, 2017, 12:14 PM

                                  OK i get it…

                                  Now for the part of the management console web interface page…

                                  How do i login? I tried several password and usernames but nothing seems to work…

                                  I don’t even remember where i have configured a username and password for this page.

                                  Q 1 Reply Last reply Aug 2, 2017, 12:14 PM Reply Quote 0
                                  • Q
                                    Quazz Moderator @Predator
                                    last edited by Aug 2, 2017, 12:14 PM

                                    @predator The installer mentions this, but in case you missed it:

                                    Username: fog
                                    Password: password
                                    
                                    P 1 Reply Last reply Aug 3, 2017, 8:21 AM Reply Quote 0
                                    • P
                                      Predator @Quazz
                                      last edited by Aug 3, 2017, 8:21 AM

                                      @quazz

                                      Thanks a lot.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Predator
                                        last edited by Predator Aug 18, 2017, 3:27 AM Aug 18, 2017, 8:34 AM

                                        Hey all,

                                        I have installed fog and it’s working great with pxe boot. I’m now looking for a procedure on how to create a master image aka golden image. My enterprise buys OEM pc’s with preinstalled windows 7. This means that they have an activation key delivered with the image.

                                        Now we don’t have VL keys but i do have found two Win 7 - MAK keys in our Microsoft License database. If i’m correct MAK is not the same as VL… Can i still use it though to create a master image and deploy it on OEM computers?

                                        THEMCVT Wayne WorkmanW 2 Replies Last reply Aug 18, 2017, 7:10 PM Reply Quote 0
                                        • THEMCVT
                                          THEMCV @Predator
                                          last edited by Aug 18, 2017, 7:10 PM

                                          @predator Here you go, start here 🙂

                                          https://forums.fogproject.org/topic/8878/fog-drivers-script-will-not-run-correctly-in-postdownloadscripts/52

                                          All the devs and mods helped me get a working solution. That is a gold mine of information in there!

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post

                                          194

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project