School IT Expert

FOG is an open-source cloning/imaging solution

fogFOG is primarily used to image Windows desktops, but it also works on Linux desktops!  This article will describe how to install the FOG Server as a vm with Ubuntu Jeos.


Install Ubuntu

Build an Ubuntu Jeos server with the following specifications.

  1. Create a vm with 512 MB ram, one nic, a 20GB hard drive and one processor.
  2. Hostname image-01.
  3. WARNING:  Do not choose fog for the username.
  4. Software Selection?  You don't need any for this install.
  5. Static IP Address of your choice (eg 192.168.0.61)

     

    Install wget

    A bare bones Jeos installation of ubuntu doesn't include wget.

    sudo apt-get install wget

     

    Install FOG

    Before installing FOG, browse to http://downloads.sourceforge.net/freeghost/ and check to see what the latest version is (it was 0.30 when I wrote this article, see below).  Then log in to your ubuntu server using your username and password, and enter the following commands...

    cd /opt
    sudo wget http://downloads.sourceforge.net/freeghost/fog_0.30.tar.gz
    sudo tar -xvzf fog_0.30.tar.gz
    cd fog_0.30/
    cd bin
    sudo ./installfog.sh

       

      wget alternative

      Sometimes wget won't be allowed to get through (eg. over enthusiastic school internet filtering).  On these occasions, you might want to try using an FTP server like vsftpd, to upload the fog_0.30.tar.gz file to the fog server.

       

      Install wizard

      You should now see the  FOG installer screen.

      1. Choose 2 (ubuntu).
      2. Choose N (normal).
      3. Leave the IP address as 192.168.0.61
      4. Choose Yes for the router address setup and accept the default (192.168.0.1).
      5. Same for DNS.
      6. Choose No when invited to change the default NIC.
      7. Confirm Yes for dhcp service.
      8. Install additional language packs if you need them, otherwise select No.
      9. Confirm Yes to the summary information.
      10. Press Enter to acknowledge the MySQL warning (see below for the step that this refers to).
      11. Set a password for MySQL when requested.
      12. Send a notification to the FOG guys if you want to, they'll appreciate it!
      13. sudo vi /opt/fog/service/etc/config.php
        1. Enter the MYSQL_PASSWORD that you created previously in step 9.
        2. Confirm MYSQL_USERNAME is root.
      14. sudo vi /var/www/fog/commons/config.php
        1. Set MySQL password in here too.
      15. FOG is now installed!

       

      You are now ready to configure your FOG server.

       


      More articles of interest...

      {module More articles of interest...}

      Thanks for visiting!