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

    Force install mysqldb instead of mariadb

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    5
    748
    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.
    • L
      leonj
      last edited by

      I am trying to install FOG on a RedHat 7.5 virtual server. The repos for most packages are local(in house but up to date) . mysqldb is the preferred db but the fog install script keeps trying to install maraidb. Is there a parameter that can be passed to foginstall.sh to do mysqldb insted of mariadb ? I tried to change the packages in fogproject-1.5.4/lib/redhat/config.sh to mysql mysql-server but it had no effect

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @leonj
        last edited by Wayne Workman

        @leonj Pre-create the /opt/fog/.fogsettings file and specify the packages you want in it. Then run the installer and it will honor the settings. More information on the file can be found here: https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

        That article only has a Debian config file… I’m going to update it with the packages for CentOS 7 since that OS is widely used for FOG.

        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/

        L 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          I updated the article. Be sure to look at the packages section, as it’ll have the ones you need for RHEL mostly.

          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
          • L
            leonj @Wayne Workman
            last edited by

            @wayne-workman Thanks for the reply. I am now using the .fogsettings file. My only problem is we have specific versions of different packages on local repo that needs to be used. eg mysql 5.7 and there is also some php elements eg. php-mysqlnd that is version 71 . So I get the install to complete upd to the point of pausing for you to go to the webinterface and activate/update the database. But then I get the feeling that fog is not communicating with mysql ( mysql is running and http is running) From the browser I can get up to the default apache page.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @leonj
              last edited by

              @leonj So try to go to the web interface, and then immediately check the apache error log file. Post the last 20ish lines of that, sanitized if necessary. Also - we need to know what versions of MySQL and PHP and php-mysqlnd you are 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/

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

              197

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project