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

Making Fog Portable

Scheduled Pinned Locked Moved
Feature Request
5
49
26.4k
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.
  • G
    george1421 Moderator @juice381
    last edited by Sep 1, 2016, 7:26 PM

    @juice381 said in Making Fog Portable:

    I would like to get this working in debian as well though, as I am much more comfortable navigating that environment.

    This probably would not be a bad decision in the long run either. Since debian on the ARM processors is very popular. The hardest part is getting fog installed on an arm processor and working well. The rest is just config files that need to be updated for portability.

    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!

    T J 2 Replies Last reply Sep 1, 2016, 8:07 PM Reply Quote 0
    • T
      Tom Elliott @george1421
      last edited by Sep 1, 2016, 8:07 PM

      @george1421 et all. I’m still around. I can probably help

      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

      W 1 Reply Last reply Sep 1, 2016, 9:40 PM Reply Quote 2
      • W
        Wayne Workman @Tom Elliott
        last edited by Sep 1, 2016, 9:40 PM

        @Tom-Elliott Go for it. Don’t you already have commit permissions on that repo lol?

        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
        • J
          juice381 @george1421
          last edited by juice381 Sep 1, 2016, 11:35 PM Sep 2, 2016, 5:35 AM

          @george1421 ubuntu mate is the default os recommended by odroid and i have been testing armbians port and find it to be better. I’m no developer, but let me know how i can assist.

          W J 2 Replies Last reply Sep 2, 2016, 12:44 PM Reply Quote 0
          • W
            Wayne Workman @juice381
            last edited by Wayne Workman Sep 2, 2016, 6:45 AM Sep 2, 2016, 12:44 PM

            @juice381 If you know how to Google and BASH, you can help. Just dive in and start debugging. Are you familiar with dnsmasq? That’s what it’s using.

            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/

            J 1 Reply Last reply Sep 2, 2016, 7:25 PM Reply Quote 0
            • J
              juice381 @Wayne Workman
              last edited by Sep 2, 2016, 7:25 PM

              @Wayne-Workman I’m familiar with dnsmasq however bash not my strong point here. My career hgas taking me the Microsoft path need me to write a powershell script, vb, batch i’m your man. I’m sure I can figure out bash just might take me some time to understand the syntax.

              G 1 Reply Last reply Sep 2, 2016, 7:47 PM Reply Quote 0
              • J
                juice381 @juice381
                last edited by Sep 2, 2016, 7:28 PM

                @juice381 one note on this. I noticed I am unable to install MYSQL on this OS however can in armbian SMH!

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator @juice381
                  last edited by george1421 Sep 2, 2016, 1:48 PM Sep 2, 2016, 7:47 PM

                  @juice381 said in Making Fog Portable:

                  @Wayne-Workman I’m familiar with dnsmasq however bash not my strong point here. My career hgas taking me the Microsoft path need me to write a powershell script, vb, batch i’m your man. I’m sure I can figure out bash just might take me some time to understand the syntax.

                  You will find the roots of batch, vb and powershell in bash (actually the unix command shell). The unix shell has been around for a really long time and is the mother of them all. With that said, if you know programming concepts then what you are missing is the syntax. That is where google will fill in the gaps. Bash programming is not as cryptic as perl programming, but is much more powerful than batch. Now that I have to totally confused, don’t worry. Work with it a bit and you will get the hang of the power it has.

                  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 2
                  • W
                    Wayne Workman
                    last edited by Sep 3, 2016, 2:11 PM

                    I just setup a VM with Debian 8, going to mess with this today.

                    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/

                    J 1 Reply Last reply Sep 3, 2016, 4:59 PM Reply Quote 1
                    • J
                      juice381 @Wayne Workman
                      last edited by Sep 3, 2016, 4:59 PM

                      @Wayne-Workman said in Making Fog Portable:

                      I just setup a VM with Debian 8, going to mess with this today.

                      I just started working on this too. Just finished installing as well.

                      W 1 Reply Last reply Sep 3, 2016, 8:59 PM Reply Quote 0
                      • W
                        Wayne Workman @juice381
                        last edited by Sep 3, 2016, 8:59 PM

                        @juice381 Can you please either git pull or reclone the repo? I’ve done some work on it, it should work for Ubuntu and Debian now.

                        https://github.com/wayneworkman/FOGUpdateIP

                        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/

                        J 2 Replies Last reply Sep 4, 2016, 12:43 AM Reply Quote 1
                        • J
                          juice381 @Wayne Workman
                          last edited by Sep 4, 2016, 12:43 AM

                          @Wayne-Workman Awesome will do it now. Didnt get a chance to work on it was dealing with sick kids.

                          1 Reply Last reply Reply Quote 0
                          • J
                            juice381 @Wayne Workman
                            last edited by Sep 4, 2016, 1:20 AM

                            @Wayne-Workman said in Making Fog Portable:

                            https://github.com/wayneworkman/FOGUpdateIP

                            SO the script is still looking for fog install by way of .fogsettings. however armbian after installing fog doesn’t have a .fogsettings file. I’m using armbian becacuse mate refuses to install mysql and thus I can’t test as fog db can’t be creteed.

                            W 1 Reply Last reply Sep 4, 2016, 1:40 PM Reply Quote 0
                            • W
                              Wayne Workman @juice381
                              last edited by Wayne Workman Sep 4, 2016, 7:42 AM Sep 4, 2016, 1:40 PM

                              @juice381 I’ve ordered a raspberry pi 3b, I will be able to test once it comes in. Because the project and scripts work on Debian I expect no problems.

                              Also 1.3.0 RC-8 had issues with db creation. This is fixed in RC-9 already.

                              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/

                              J 1 Reply Last reply Sep 4, 2016, 8:51 PM Reply Quote 0
                              • J
                                juice381 @Wayne Workman
                                last edited by Sep 4, 2016, 8:51 PM

                                @Wayne-Workman I have made some progress, what I have done was copied the .fogsettings file from another working fog I had running (not active when I’m testing) to its proper location. Then changed the IP and rebooted. The script ran 3 minutes later and updated what looks like all the locations it would. ltsp.conf, .fogsettings, I had to create the log file for the script to dumps it log files manually. So the only thing that is perplexing me is why IPXE is still pointing to the original ip. See pic below. alt text

                                W G 2 Replies Last reply Sep 4, 2016, 9:31 PM Reply Quote 0
                                • W
                                  Wayne Workman @juice381
                                  last edited by Sep 4, 2016, 9:31 PM

                                  @juice381 I need to know more about the network, other fog servers, dhcp servers, and other things.

                                  Also - this script does much more than just modifying ltsp.conf - that’s one of many places that requires modification. There are web file changes, database changes, tftp changes. This script only works on a full 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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  J 1 Reply Last reply Sep 4, 2016, 10:46 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @juice381
                                    last edited by george1421 Sep 4, 2016, 4:12 PM Sep 4, 2016, 10:10 PM

                                    @juice381 Its still perplexing why the installfog.sh file is not creating the .fogsettings file. I think if you uncover that reason the rest will fall into place.

                                    Did you disable selinux and the firewall?

                                    Are you launching the fog install script with sudo? Does it run through and ask you all of the questions it should? Then it just doesn’t do anything? It almost sounds like selinux is blocking the installer script from writing to the places it needs to.

                                    In regards to your error screen below, do you have another dnsmasq server running that is sending out the legacy ip address? It is saying that you are getting a duplicate option 66 {next-server} from 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!

                                    J 2 Replies Last reply Sep 4, 2016, 10:40 PM Reply Quote 1
                                    • J
                                      juice381 @george1421
                                      last edited by Sep 4, 2016, 10:40 PM

                                      @george1421 said in Making Fog Portable:

                                      @juice381 Its still perplexing why the installfog.sh file is not creating the .fogsettings file. I think if you uncover that reason the rest will fall into place.

                                      Did you disable selinux and the firewall?

                                      Are you launching the fog install script with sudo? Does it run through and ask you all of the questions it should? Then it just doesn’t do anything? It almost sounds like selinux is blocking the installer script from writing to the places it needs to.

                                      In regards to your error screen below, do you have another dnsmasq server running that is sending out the legacy ip address? It is saying that you are getting a duplicate option 66 {next-server} from dhcp.

                                      Thanks for the response. No I have a fog server setup from which i copied the fogsetting file. However I turn it off before I start testing with my portable fog. The screen below is showing you the ip .13 that i changed it to from the .22 it is still referencing for IPXE. It was the original ip Not sure where it is getting it from. I’ll google how to disable selinux. Armbian doesn’t seem to have ufw installed as running sudo ufw disable reports an error.

                                      I do install it using sudo access infact sudo -i so i’m running as root.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        juice381 @george1421
                                        last edited by Sep 4, 2016, 10:43 PM

                                        @george1421 ONe other note there is one failure during install. it has to do with the udpconf towards the end of the installation process. Maybe that’s the key here? I have followed tutorials on how to re-mediate that as well to no avail.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          juice381 @Wayne Workman
                                          last edited by Sep 4, 2016, 10:46 PM

                                          @Wayne-Workman Only dhcp server I have running is the one from my ISP’s router. I’ll double check that shortly. I do have another fog server however I turn that off when testing. In fact if I change the ip back to 22 I reach the fog menu. I’ll get a screen shot of that too.

                                          G 1 Reply Last reply Sep 4, 2016, 11:29 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            28/49
                                            Last post

                                          141

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.4k

                                          Posts
                                          Copyright © 2012-2024 FOG Project