Best Distro to use for stress-free FOG installation

  • Hey guys, I was having a tough time installing FOG on Centos 7, mostly with the problem with mysql-server. I found posts that said to install MariaDB, then I learned that MariaDB was dropped for something else… I tried to install Maria and the old one, and there were many issues. The whole thing was just a big mess.

    So I wiped and I want to start new. What is the most straight forward distro that I can install FOG on? I just want to run the script and have it work afterwards.


  • Testers

    @Cyrus So you haven’t actually installed any sql services?
    I would just add the packages reccomended by the wiki ignoring any errors because some of them are just outdated…

    rpm --import
    rpm -Uvh
    rpm --import
    rpm -Uvh
    rpm --import
    rpm -Uvh
    rpm --import
    rpm -Uvh

    Then manually install these packages

    yum -y install htmldoc ttf2pt1 t1utils fltk subversion wget git

    Then make a folder for the fog installer git and cd into it, download fog, and install it, for example…
    (replace ‘fog’ with your username if you are going to let the installer create the fog user for you)

    mkdir /home/fog/fogInstalls
    mkdir /home/fog/fogInstalls/git
    cd /home/fog/fogInstalls/git
    git clone ./ #this part will take a little while
    cd bin
    ./ # follow the prompts
    # Then configure the firewall per this post (
    for service in http https tftp ftp mysql nfs mountd rpc-bind proxy-dhcp samba; do firewall-cmd --permanent --zone=public --add-service=$service; done
    systemctl restart firewalld.service

    Then whenever you need to update

    cd /home/fog/fogInstalls/git
    git pull
    cd bin
    ./ -Y

    and that’s all there is to it.

  • @Arrowhead-IT Yeah, I was having some issues. I tried to install MariaDB, but yum keeps telling me something like mariaDB has been replaced by mysql-community… Something.

    It was pretty annoying, and headache worthy.

    Let me try this Trunk thing, and if it doesn’t work I’ll just try ubuntu…

    Thanks guys.

  • Testers

    @Cyrus Having installed it on many flavors, I would say for stress-free installation Ubuntu is a good bet.
    However, I found that there are a lot issues that happen later from ubuntu doing silly things that will make things break. Like the re-occurring php package debacle of just a couple weeks ago.

    I just moved my production fog server to centos 7 yesterday and while the install of centos gave me a little trouble (because of a legacy hardware issue) the install of FOG and subsequent updates and having everything up and running has been a dream. Also, since it is Red Hat, having experience with that looks better on a resume’ to some bigger companies if that’s something you care about.

    So I would say stick with centos 7.

    As for the mariadb issue, I didn’t have any issue there. From what I understand mariadb is just a new name for mysql (there’s more to it than that I realize, but to simplify it I’d say that)
    There are some notes in the wiki about mariadb during centos 7 install you could try, but I think it’s a bit outdated now since FOG installs mariadb now.

    Did you have any mysql related errors during the fog install script, or was this while trying to install it before hand. The best stress-free solution would be to let the fog install script take care of installing the requirements. If you haven’t actually configured anything yet and you think you broke your mariadb install in some way, I would go ahead and just reinstall centos 7 and follow the instructions in that wiki post. It worked for me just yesterday.

  • @Cyrus CentOS 7 for FOG Trunk.

    I don’t even recommend fog 1.2.0 any more. Just go straight to trunk. It’s solid.

  • Where are you hearing what?