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

    SUSE

    Scheduled Pinned Locked Moved
    General
    4
    32
    11.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.
    • D
      D8TA
      last edited by

      Here is what I found:
      httpd (apache2)
      php (php5)
      php-gd (php5-gd)
      php-cli (I believe SUSE includes php5-cli with php5)
      php-gettext (php5-gettext)
      mysql (mysql)
      mysql-server (mysql is the server their is also the mysql-client)
      php-mysql (php5-mysql)
      dhcp (dhcp)
      tftp-server ( tftp from this repo [url]http://download.opensuse.org/repositories/network/SLE_11_SP3/[/url])
      nfs-utils (nfs-utils)
      vsftpd (vsftpd)
      net-tools (net-tools)
      wget (wget)
      xinetd (xinetd)
      tar (tar)
      gzip (gzip)
      make (make)
      m4 (m4)
      gcc (gcc)
      gcc-c++ (gcc-c++)
      htmldoc (htmldoc from this repo [url]http://download.opensuse.org/repositories/home:/lnt-sysadmin:/web-support:/lntwww/SLE_11_SP3/[/url])
      perl (perl)
      perl-Crypt-PasswdMD5 (perl-Crypt-PasswdMD5 from this repo [url]http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/[/url])
      lftp (lftp from this rep [url]http://download.opensuse.org/repositories/home:/nmidc:/lftp/SLE_11_SP3/[/url])
      clamav-update (clamav and sledsp3-clamav-7915)

      The items in parenthesis are the SUSE names. If there was a way to change httpd to apache2 and make mysql-server mysql-client if the client stuff is even needed. If not just remove mysql-server as mysql is the server. Then add the additional 4 repositories to the system FOG should install. Will that be difficult to change the package names or how does one even go about doing that? Could I manually install all these items and then just comment out the httpd and mysql-server checks? Not sure but really want to get FOG installed. 🙂

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        You can manually install the packages if you want, the script just makes fog “noob friendly” and searches and installs the packages for you. You can actually manually install them, then run the installer, it will tell you if a newer package is installed.

        You can comment out the checks if you like, as I stated above, the installer is so it is noob friendly, after installation it will make sure the intended services are running.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • D
          D8TA
          last edited by

          I was looking at the installfog.sh but not sure where or what I need to comment out to skip the httpd and mysql-server checks?

          I will start manually installing the above packages and see how things go. keeping my fingers crossed

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            the package installer and the function to check the installations are included in the fog0.32/lib/redhat.

            the config.sh holds the file names to download

            the function.sh does the work and the checks.

            look for this subroutine:
            [CODE]confirmPackageInstallation()
            {
            for x in $packages
            do
            echo -n " * Checking package: $x";
            rpm -q $x >/dev/null 2>&1;
            if [ “$?” != “0” ]
            then
            echo “…Failed!”
            exit 1;

                else
                    echo "...OK";
                fi
            done;
            

            }[/CODE]

            Should be close to the bottom.

            I would edit it to read [code]
            confirmPackageInstallation()
            {
            for x in $packages
            do
            echo -n " * Checking package: $x";
            rpm -q $x >/dev/null 2>&1;
            if [ “$?” != “0” ]
            then
            echo “…Failed! But continuing setup! CHECK FOR RUNNING SERVICES MANUALLY!!!”;
            else
            echo “…OK”;
            fi
            done;
            } [/code]

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • D
              D8TA
              last edited by

              Getting a little further.

              Configuring services.

              • Setting up fog user…OK
              • Setting up and starting MySqlmysqld: unknown service
                …Failed!
              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                You guys want, I can chime in.

                Sorry I wasn’t very communicative so far today, had to drive 2.5 hours down south and then back.

                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
                • D
                  D8TA
                  last edited by

                  I would love all the help I can get right now. Chime away. 🙂

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

                    Well, it sounds like you’ve figured out all the details of the files needed to be installed.

                    What gets output when you run the command:
                    [code]cat /etc/release /etc/issue[/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
                    • D
                      D8TA
                      last edited by

                      cat /etc/release /etc/issue
                      LSB_VERSION=“core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64”
                      cat: /etc/lsb-release.d: Is a directory
                      SUSE Linux Enterprise Desktop 11 (x86_64)
                      VERSION = 11
                      PATCHLEVEL = 3
                      SUSE Linux Enterprise Desktop 11 (x86_64)
                      VERSION = 11
                      PATCHLEVEL = 3

                      Welcome to SUSE Linux Enterprise Desktop 11 SP3 (x86_64) - Kernel \r (\l).

                      1 Reply Last reply Reply Quote 0
                      • D
                        D8TA
                        last edited by

                        And yet a little further…

                        • Setting up sudo settings…OK
                        • Setting up FOG Snapins…OK
                        • Setting up and building UDPCast…OK
                        • Installing init scriptsFOGMulticastManager: unknown service
                          FOGImageReplicator: unknown service
                          FOGScheduler: unknown service
                          …OK
                        • Setting up FOG Services…OK
                        • Starting FOG Multicast Management Server…Failed!
                        1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          Does SUSE support the service command?

                          I think you’d need to use /etc/init.d/<filename> restart for this to work on your particular system.

                          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
                          • D
                            D8TA
                            last edited by

                            I reached the webpage I believe I am getting prompted for credentials. I am still having a slight issue with MySQL getting up and running so troubleshooting that at the moment. May call it a day and hit it again tomorrow.

                            I’ll keep you all posted.

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

                              Alright, I’ll probably be around more so tomorrow to help out where I can.

                              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
                              • D
                                D8TA
                                last edited by

                                Well, I thought I had this going. I can’t seem to get the web UI up and running and I noticed there is no MySQL database that was created. Not sure what to do next.

                                1 Reply Last reply Reply Quote 0
                                • Jaymes DriverJ
                                  Jaymes Driver Developer
                                  last edited by

                                  LOL at this point we should start a separate script for installation on SUSE XD

                                  I will see what I can do about the Mysql stuff, I am still trying to get some services installed on my vm 😕

                                  I will crack this open at home and give it a whirl, I will try to fully document the process, maybe we can help create an installer script for suse machines.

                                  WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    D8TA
                                    last edited by

                                    I am going to try a couple other things and then can post my configs to help out with the installer script.

                                    1 Reply Last reply Reply Quote 0
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      it’s okay if we beat our head against the wall long enough Tom normally solves it 😛

                                      on a side note I finally got apache working again… time to break some more things 😄 maybe MYSQL is next :rolleyes:

                                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        D8TA
                                        last edited by

                                        Installation Started…

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

                                        • Skipping package: apache2 (Already Installed)
                                        • Skipping package: php5 (Already Installed)
                                        • Skipping package: php5-gd (Already Installed)
                                        • Skipping package: php5-gettext (Already Installed)
                                        • Skipping package: mysql (Already Installed)
                                        • Skipping package: mysql-client (Already Installed)
                                        • Skipping package: php5-mysql (Already Installed)
                                        • Skipping package: tftp (Already Installed)
                                        • Skipping package: nfs-kernel-server (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 (Already Installed)

                                        Confirming package installation.

                                        • Checking package: apache2…OK
                                        • Checking package: php5…OK
                                        • Checking package: php5-gd…OK
                                        • Checking package: php5-gettext…OK
                                        • Checking package: mysql…OK
                                        • Checking package: mysql-client…OK
                                        • Checking package: php5-mysql…OK
                                        • Checking package: tftp…OK
                                        • Checking package: nfs-kernel-server…OK
                                        • Checking package: vsftpd…OK
                                        • Checking package: net-tools…OK
                                        • Checking package: wget…OK
                                        • Checking package: xinetd…OK
                                        • Checking package: tar…OK
                                        • Checking package: gzip…OK
                                        • Checking package: make…OK
                                        • Checking package: m4…OK
                                        • Checking package: gcc…OK
                                        • Checking package: gcc-c++…OK
                                        • Checking package: htmldoc…OK
                                        • Checking package: perl…OK
                                        • Checking package: perl-Crypt-PasswdMD5…OK
                                        • Checking package: lftp…OK
                                        • Checking package: clamav…OK

                                        Configuring services.

                                        • Setting up fog user…Exists
                                        • Setting up and starting MySql…OK
                                        • Backing up user reports…OK
                                        • Setting up and starting Apache Web Serverchown: invalid group: `wwwrun:wwwrun’
                                          …OK
                                        • Restoring user reports…OK
                                        • Configuring Fresh Clamcp: cannot stat `/etc/sysconfig/freshclam’: No such file or directory
                                          …Failed!
                                        • Setting up storage…OK
                                        • Setting up and starting NFS Server…OK
                                        • Setting up and starting DHCP Server…Skipped
                                        • Setting up and starting TFTP and PXE Servers…OK
                                        • Setting up and starting VSFTP Server…OK
                                        • Setting up sudo settings…OK
                                        • Setting up FOG Snapins…OK
                                        • Setting up and building UDPCast…OK
                                        • Installing init scripts…OK
                                          FOGScheduler: unknown service
                                          …OK
                                        • Setting up FOG Services…OK
                                        • Starting FOG Multicast Management Server…OK
                                        • Starting FOG Image Replicator Server…OK
                                        • Starting FOG Task Scheduler Server…Failed!

                                        Not certain how important clamav is but the locations were /etc/init.d/freshclam and /usr/bin/freshclam. Not sure if I am still missing a package on that one.

                                        The Apache Web Server group should be wwwrun:www but I only found one place to place the webuser which is wwwrun.

                                        I open a browser and key in the IP address and then prompted for authentication. I tried what I put into the mysql stuff but still nada so I am going to read the docs again to make sure I didn’t miss anything on the setup stuff.

                                        I am attaching the files I modified for SUSE.

                                        [url=“/_imported_xf_attachments/0/529_Fog.zip?:”]Fog.zip[/url][url=“/_imported_xf_attachments/0/530_Fog.zip?:”]Fog.zip[/url]

                                        1 Reply Last reply Reply Quote 0
                                        • Jaymes DriverJ
                                          Jaymes Driver Developer
                                          last edited by

                                          I, unfortunately, had many things to do this weekend and the opportunity did not present itself.

                                          That being said, I will be on site with my virtual server tomorrow and I can plug away again 🙂

                                          I want to give your script a run and see how she fairs.

                                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            D8TA
                                            last edited by

                                            Just for Giggles to see how everything is suppose to work I stood up a CentOS VM and ran through the installer. Something is missing but I don’t know what on my SLED installation/installer because it doesn’t complete the full installation where you get the address to access the Web UI. It looks like some of the pieces get installed but not everything.

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

                                            174

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project