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

Debian Jessie 8

Scheduled Pinned Locked Moved Solved
Linux Problems
5
36
16.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.
  • P
    plegrand @Wayne Workman
    last edited by Sep 17, 2015, 2:40 PM

    @Wayne-Workman is there a wa y to make that the installer install fog in /var/www/fog by default ?

    W 1 Reply Last reply Sep 17, 2015, 2:41 PM Reply Quote 0
    • W
      Wayne Workman @plegrand
      last edited by Wayne Workman Sep 17, 2015, 8:42 AM Sep 17, 2015, 2:41 PM

      @plegrand said:

      @Wayne-Workman is there a wa y to make that the installer install fog in /var/www/fog by default ?

      Not by default, but you can specify this with the installer’s arguments like this:

      ./installfog.sh -D /var/www -W fog/ -y

      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/

      P 1 Reply Last reply Sep 17, 2015, 2:47 PM Reply Quote 0
      • P
        plegrand @Wayne Workman
        last edited by Sep 17, 2015, 2:42 PM

        @Wayne-Workman move storage is not an installer problem. With my tests with 1.2 the storage is defaultly on /images and there is no space enough here
        i’m going to reinstall trunk version
        Could you tell me what is the way to make that the installer install fog in /var/www/fog ?

        thanks for your help

        1 Reply Last reply Reply Quote 0
        • P
          plegrand @Wayne Workman
          last edited by Sep 17, 2015, 2:47 PM

          @Wayne-Workman but you agree it’s a litle bug ? or it’s a problem on my machine ?

          W 1 Reply Last reply Sep 17, 2015, 2:48 PM Reply Quote 0
          • W
            Wayne Workman @plegrand
            last edited by Wayne Workman Sep 17, 2015, 8:49 AM Sep 17, 2015, 2:48 PM

            @plegrand said:

            @Wayne-Workman but you agree it’s a litle bug ? or it’s a problem on my machine ?

            Yes it’s likely a non-impacting bug.

            And you can install with /var/www/fog with the commands below that I’ve provided.

            It’s also very easy to change the storage location via the Storage Management area in the Web Interface.

            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/

            P 1 Reply Last reply Sep 17, 2015, 3:03 PM Reply Quote 1
            • P
              plegrand @Wayne Workman
              last edited by Sep 17, 2015, 3:03 PM

              @Wayne-Workman i made a symbolic link
              cd /var/www/
              ln -s /var/www/html/fog/ fog

              W T 2 Replies Last reply Sep 17, 2015, 3:04 PM Reply Quote 0
              • W
                Wayne Workman @plegrand
                last edited by Wayne Workman Sep 17, 2015, 9:05 AM Sep 17, 2015, 3:04 PM

                @plegrand I don’t understand why you’re insisting that the directory be /var/www

                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
                • T
                  Tom Elliott @plegrand
                  last edited by Sep 17, 2015, 3:11 PM

                  @plegrand That method will work. However, as Wayne is suggesting, if you specify the Document Root with the -D or --docroot arguments it should work. Have you tried this and it is not working?

                  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
                  • N
                    need2 Moderator
                    last edited by Sep 17, 2015, 3:12 PM

                    I have installed FOG on a fresh Debian 8 system just fine using the SVN. If you are having this many issues already with your setup I might recommend wiping the system and installing fresh again, then grabbing FOG from the SVN the first time.

                    P 1 Reply Last reply Sep 17, 2015, 4:25 PM Reply Quote 0
                    • P
                      plegrand @need2
                      last edited by Sep 17, 2015, 4:25 PM

                      @need2 now i agree with you : if you accept that mysql root has no password
                      and if you know that if installer told you to go to http://192.168.39.243/fog it means you have to go to http://192.168.39.243/html/fog.
                      I know it’s a ridiculous bug of the default installer (without parameters) but it disturbed me 😉

                      any way fog seems to be a great program, the forum is very reactif and it permit me to go on
                      Then thanks again for your help i appreciate
                      sorry for my poor english 😉
                      @Tom Elliot : i will try with --docroot to tell you if it works.
                      But can you confirm me that the installer without parameters make a mistake between http://192.168.39.243/fog and http://192.168.39.243/html/fog to be sur we are agree ?

                      Thanks again for your help everybody !!

                      1 Reply Last reply Reply Quote 1
                      • T
                        Tom Elliott
                        last edited by Sep 17, 2015, 5:07 PM

                        The problem isn’t a direct mistake in the installer. While I do know what you’re saying, I can’t agree fully. Debian and Ubuntu, for the longest time, had /var/www as the document root by default for a long time. They fairly recently changed their document root to /var/www/html. I believe the problem is the install still assumes /var/www is the default location. I’ll take a look tonight and see if I can figure out a way to approach it a little bit better.

                        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 Sep 17, 2015, 8:42 PM Reply Quote 0
                        • P
                          plegrand @Tom Elliott
                          last edited by Sep 17, 2015, 8:42 PM

                          @Tom-Elliott … but why the 1.2 version install fog at the right place (/var/www) while svn version install it in /var/www/html ?
                          😉

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Sep 17, 2015, 8:55 PM

                            Because FOG 1.2. is a different animal than Trunk?

                            I’ve worked VERY hard on the installer and entirety that makes up fog in trunk. While there are times of problems and issues, other minor things are presented that really don’t require much of a change.

                            The current installer is MUCH more dynamic than it ever has been. First off, it doesn’t just link to your original document root any more. You can actually access your fog server through https now as well. It’s most likely this that’s posing the problem you’re seeing. This being a file I now generate that creates a virtual host definition on how to access your fog server. Document root is the “root location of the website you’re trying to access” This is different from webroot (the area you’re actually trying to view. Document root is what determines your location when you to a base url. Example: http://google.com
                            this is a Root location of the domain you’re in. Where the files that are served up come from can be anywhere on your filesystem. You can define it to whatever, wherever you want it. So in the case of fog. If you wanted to access the fog management console without having the trailing /fog element (or whatever you call it) you would set the document root to be within the fog webs folder. If you want the trailing /fog element, you go one folder before it.

                            This has changed though. Some versions of Ubuntu and Debian, for the longest time, set the documentroot to /var/www. Ubuntu 14 changed this and set the document root to /var/www/html. In 1.2 the “trick” because things were made assumed, was to create a symbolic link from /var/www/fog to /var/www/html/fog.

                            I don’t know what other type of answer you’re looking for.

                            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 Sep 18, 2015, 6:05 AM Reply Quote 1
                            • P
                              plegrand @Tom Elliott
                              last edited by Sep 18, 2015, 6:05 AM

                              @Tom-Elliott In first sorry if I seemed to insist heavily.
                              As i said before your works is great and the help on the forum also.
                              I will install fog as you explained me with “./installfog.sh -D /var/www -W fog/ -y” parameters.

                              Sorry again and thanks again for your precious help 😉

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 2 / 2
                              2 / 2
                              • First post
                                32/36
                                Last post

                              164

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project