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

    use fog snapins to install .deb files

    General
    2
    2
    109
    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.
    • OmegaXis
      OmegaXis last edited by

      I am wondering if anyone has in the past used the fog snapin utility to install a .deb file on ubuntu and what that would look like? I am relatively new to fog and scripting as a whole so any help is appreciated.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @OmegaXis While I have not tried it myself I would think it’s not a big deal. Start reading up on bash scripting and start with simple scripts like this one:

        #!/bin/bash
        # my installer script
        
        APT_GET_PATH=$(command -v apt-get)
        [[ -z $APT_GET_PATH && -x /usr/bin/apt-get ]] && APT_GET_PATH=/usr/bin/apt-get
        
        $APT_GET_PATH -y update
        $APT_GET_PATH -y install -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold name-of-new-package
        

        Instead of name-of-new-package use the package you want to install.

        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
        • 1 / 1
        • First post
          Last post

        193
        Online

        10.4k
        Users

        16.4k
        Topics

        150.5k
        Posts

        Copyright © 2012-2023 FOG Project