http://blog.bigbytenetworks.com/2014/10/fog-installation-on-ubuntu-server/
FOG installation on Ubuntu Server. FOG is a Linux-based, free and open source computer imaging solution.
This core installation has been tested without issues using FOG 1.2.0 and Ubuntu Server 14.04.1 LTS under Microsoft Hyper-V. However;
Ubuntu 14.04.1 Is not officially supported by the FOG development team, we really advise users to use a pure Debian or CentOS revision. – Jaymes Driver
The shortcut and summary of commands is at the bottom of this page if you don’t want to go all over the screenshot.
Make sure you have configured and downloaded the following before we proceed.
- Update and Upgrade your Ubuntu Server.
- Setup static IP for your Ubuntu Server.
- Connected to internet.
- Enabled SSH on your server and has SSH Client in your workstation.
Lets Begin..
Connect to your Server via SSH. In this tutorial I will be using Putty.
Lets get the proper privileges before we start by issuing;
- sudo -i
Now we have to check the latest version of FOG available in their repository. Go to their official download repo and copy the link address.
In making this tutorial, the latest version of FOG is 1.2.0;
- Right Click and copy the link address.
Go to your SSH connection and Lets begin the installation. Lets download the latest version, Extract and Install.
- wget http://sourceforge.net/projects/freeghost/files/FOG/fog_1.2.0/fog_1.2.0.tar.gz
- tar -xvzf fog*
- cd fog*
- cd bin
- ./installfog.sh
Since we are using a Debian based Linux,
- Press 2 and hit Enter.
This is a Normal Server installation;
- Press N and hit Enter.
Verify the ip address of your Ubuntu Server to be used as FOG.
- Specify the IP address and hit Enter.
- Press Y and hit Enter to setup your existing DHCP server.
- Enter the IP address of your DHCP server and hit Enter.
- Press Y to setup your existing DNS server and hit Enter.
- Enter the IP address of your DNS server and hit Enter.
- Press N and hit Enter.
- Press N to disallow FOG server to use its DHCP service.
This option is up to you if you would like to install additional language packs.
- Press N and hit Enter.
This option is up to you if you would like to donate computer resources to the FOG Project.
- Press N and hit Enter.
Review the settings and proceed with the installation.
- Pree Y and hit Enter.
- Once the installation is done, Press Enter to acknowledge the message.
- Setup the MySQL password you for root user.
- Verify the password and hit Enter.
It will ask you if you left the MySQL root password setup during the installation.
- Press N and hit Enter.
It will now setup the the services and wait for it to finish.
Choose if you wanted to notify FOG about your installation.
Press N and hit Enter.
Let us now verify and finish the installation in your Web Browser.
- http://ipaddressoffogserver/fog/management
- Click on Install/Upgrade Now
Finish the Installation and login. Default credentials would be:
- Username: fog
- Password: password
Now that we are done with the FOG installation, Lets configure the Windows DHCP Server for the PXE boot to take effect.
Login to you Windows DHCP Server and open up DHCP settings.
- Edit Option 066 and enter the IP address of your FOG server.
- Edit option 067 and put a string value of undionly.kpxe or undionly.kpxe.INTEL
Once you are done with the Windows DHCP settings, Lets test if PXE is working.
- Open a computer connected to your Network and press F12 to trigger the PXE boot.
If everything was followed like what it was shown in the screenshots. You now have a working FOG Server that triggers in PXE boot.
Here are the summary of commands, Follow the steps below;
Installation of FOG and MySQL;
- sudo -i
- wget http://sourceforge.net/projects/freeghost/files/FOG/fog_1.2.0/fog_1.2.0.tar.gz
- tar -xvzf fog*
- cd fog*
- cd bin
- ./installfog.sh
- 2
- N
- ip address of fog server
- Y
- ip address of dhcp server
- Y
- ip address of dns server
- N
- N
- N
- N
- Y
- setup sql password
- N
- enter the sql password that has been setup earlier.
- Enter
- N
Default Fog Web GUI Access;
- http://ipaddressoffogserver/fog/management
- Username: fog
- Password: password
Configuration of Windows DHCP Server;
Open up the scope of your DHCP server and edit these settings:
- Edit option 066 and enter the IP address of your FOG server.
- Edit option 067 and put a string value of undionly.kpxe or undionly.kpxe.INTEL
Open a computer in your network and test if PXE boot is working by pressing F12 during boot.
Link Youtube:
Document Step by step: