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

    Fog Tweaks

    General
    4
    4
    1379
    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.
    • W
      Wolfbane8653 Developer last edited by

      As developers run across improvements they often send word to others that there are some tweaks you can do to increase performance of FOG. To help spread it a little better I’m putting this out in the open and if any other GENERAL tweaks can be applied please post them here.

      [url]http://fogproject.org/wiki/index.php/Fog_Tweaks[/url]

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

        MMMMM Updater script 😉

        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
        • Tom Elliott
          Tom Elliott last edited by

          When doing constant updates (as is the case with most of us devs or beta testers) a quicker means to update (now that the init’s and such are downloaded at install) would be to copy the files you need.

          Step one make a backup of the original:

          For Ubuntu/Debian based setups.
          [code]sudo cp /var/www/fog/lib/fog/Config.class.php ~/Config.class.php #backup current config file.
          sudo rm -rf /var/www/fog.prev #removes the original previous folder if it exists.
          sudo mv /var/www/fog /var/www/fog.prev #moves the current into fog.prev for backup
          cd /loc/of/svn/folder/trunk; svn up #update the trunk to the latest
          sudo cp /loc/of/svn/folder/trunk/packages/web /var/www/fog #copy the new svn gui to the system.
          sudo chown -R www-data:www-data /var/www/fog; sudo chown -R fog:www-data /var/www/fog/service/ipxe; #change permissions to appropriate values.
          sudo cp ~/Config.class.php /var/www/fog/lib/fog/Config.class.php #copy back config[/code]

          For Redhat based setups.
          [code]cp /var/www/html/fog/lib/fog/Config.class.php ~/Config.class.php #backup current config file.
          rm -rf /var/www/html/fog.prev #removes the original previous folder if it exists.
          mv /var/www/html/fog /var/www/html/fog.prev #moves the current into fog.prev for backup
          cd /loc/of/svn/folder/trunk; svn up #update the trunk to the latest
          cp /loc/of/svn/folder/trunk/packages/web /var/www/html/fog #copy the new svn gui to the system.
          chown -R apache:apache /var/www/html/fog; sudo -R fog:apache /var/www/html/fog/service/ipxe; #change permissions to appropriate values.
          cp ~/Config.class.php /var/www/html/fog/lib/fog/Config.class.php #copy back config[/code]

          Maybe this helps frequent updates?

          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
          • Junkhacker
            Junkhacker Developer last edited by

            this is more of an apache tweak, but since fog uses apache…
            [url]http://fogproject.org/forum/threads/session-cleaner-takes-long-and-slows-host.11839/#post-37904[/url]

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

            101
            Online

            10.4k
            Users

            16.4k
            Topics

            150.5k
            Posts

            Copyright © 2012-2023 FOG Project