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

Fog custom installation options.

Scheduled Pinned Locked Moved Unsolved
Linux Problems
3
5
1.4k
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.
  • C
    csa
    last edited by Dec 27, 2016, 9:40 PM

    Server
    • FOG Version: Tue Dec 27, 2016 21:36 pm
      Running Version 1.3.0-RC-26
      SVN Revision: 6021
    • OS: Ubuntu 14.04
    Description

    Is there anyway you can add the following flags to disable apache and mysql during installation or upgrade
    /opt/fogproject_git/bin# ./installfog.sh

    • No Apache ( we want to install and configure our own apache )
    • No mysql ( we want to install and configure our own mysql )

    Also
    Can I have CLI notes for

    • Creating a task for host installation or imaging.

    Thank you
    Chakri

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Dec 27, 2016, 9:58 PM

      There aren’t any “customization” beyond customizing packages, but I do kind of need to ensure all things are well from the installer’s point of view.

      That said, the basic’s FOG needs to operate can be fully manual, just I haven’t taken the time to run through them.

      There aren’t any CLI notes for “creating a task for host installation or imaging” because FOG (in the state it currently resides) was not meant to be CLI operated. It’s intent was purely to be web based. While you can do some url calls to acheive the same effects, 1.3.0 kind of improved on the security models a bit better to close these potential pitfalls.

      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

      C 1 Reply Last reply Dec 31, 2016, 5:05 AM Reply Quote 0
      • W
        Wayne Workman
        last edited by Dec 27, 2016, 10:44 PM

        I can help some but it’ll be later tonight when I’m home. I’ll come back to this later.

        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
        • W
          Wayne Workman
          last edited by Wayne Workman Dec 27, 2016, 10:10 PM Dec 28, 2016, 4:06 AM

          Ok, to skip the Apache and MySQL automatic configuration, you must go the hard route.

          You’d clone FOG 1.3.0 as typical from here:
          https://github.com/FOGProject/fogproject/tree/1.3.0

          Then after that’s cloned, go into fogproject/packages/web and copy all of that to a web directory on your server (typically /var/www/html/fog).

          Then you can start installing all the packages and configuring them yourself. Here’s a list of the ones Ubuntu 16 needs:

          apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g

          You’ll need the ondrej repository installed to get most of those, you can install that with these two commands:
          add-apt-repository ppa:ondrej/php;apt-get update

          It’s going to be really hard to configure all of that on your own. If you were thinking that Apache and MySQL are the only things the FOG installer is configuring, well that would be a misunderstanding. There is TFTP, NFS, VSFTP, the image & snapin replicator, the task scheduler, the host pinger, the multicast manager, the new snapin hash thingy.

          Not to mention that Ubuntu is the most difficult distribution to set this stuff up on - many times have I heard so many people here express their difficulties with it, including the developers. But, more power to you.

          I’d really recommend using the pre-made installer, it’ll do all the things correctly. Then you can go back afterwards and customize whatever you want.

          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
          • C
            csa @Tom Elliott
            last edited by Dec 31, 2016, 5:05 AM

            @Tom-Elliott
            Thank you for details.

            Chakri

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

            213

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project