[B]EDIT[/B] - [I]Because I was bone idle when I put this on here I omitted the links from the text, I did include them in the downloaded version though, however because a few people have been asking about the links. I have now fixed them in this tutorial! Sorry about that :)[/I]
This guide has been pieced together from a multitude of sources across the internet then adjusted to be in-line hopefully with the current FOG version of 1.2.0. I can’t take credit for the information in here, people who have struggled before me have provided all this information to help. As I have worked on my initial implementation of the FOG environment I found the resources and write-ups from the various groups extremely valuable. While much of this information exists already, it was spread across a number of sources and required numerous cross references to make my installation function to the level it has. I have tested my universal image across numerous PC’s and laptops of differing makes and model and so far it has worked flawlessly every time.
This is a write-up to provide guidance on the installation of an Ubuntu Server OS, the FOG (Free Open-Source Ghost) imaging software, configuring FOG, then creating and deploying hardware independent images.
This tutorial is divided into the following sections
[LIST]
[]· Installing Ubuntu Server
[]· Configuring and Updating Ubuntu Server
[]· Installing FOG Software
[]· Configuring your FOG Installation
[]· Workstation Universal Image Creation
[]· Uploading Your Reference Image to FOG
[/LIST]
I’d like to give a nod to the Ubuntu Forums, the FOG Project community, the DriverPacks.net Team and the Spiceworks Community.
[LIST]
[]· FogProject
[]· Ubuntu Forums
[]· Spiceworks Community
[]· Driverpacks
[/LIST]
What I’ve hoped to accomplish is provide a one-stop resource for FOG installation guidance as well as a number of tweaks I’ve made to increase efficiency. I can’t guarantee that every option I’ve used will be the best option for your environment, so I highly encourage a test environment that allows you to make any necessary tweaks before a full roll out. If you notice any errors in the document or have suggestions for improvement, please feel free to correct me/comment.
[B]INSTALLING UBUNTU SERVER:[/B]
[LIST=1]
[]Go to [URL=‘http://www.ubuntu.com’]http://ubuntu.com[/URL] . Click Download -> Ubuntu Server and for best results pick the LTS distribution. If you’d prefer a GUI you can utilize the desktop system, but I’m breaking down line by line commands for the server CLI so it won’t be necessary. (I used 10.04 LTS but that’s due to my server hardware more than anything. That said FOG has installed and worked flawlessly on this release)
[]Preferably create a VM, otherwise this can be installed on physical hardware.
[/LIST]
[LIST]
[]Minimum of 512MB of RAM, usage is low on the server OS.
[]Minimum 1 NIC, preferably Gigabit connectivity.
[]If using VLANS, be sure to set the VM in a network that can both route and broadcast to necessary client machines.
[/LIST]
[LIST]
[][B]NOTE[/B] To utilise FOG across subnets/VLANS you must insure that IGMP Multicast is enabled across your switches!!
[/LIST]
3. Leave the Ubuntu install settings at defaults, when it asks you to add packages select none. We’re looking for a JEOS installation (Just Enough Operating System) the less extraneous software this box runs the better.
4. When it prompts you to create the user account, set it to whatever you want. I used FogUser. Realise that Linux logons are case sensitive for username and MAKE SURE TO WRITE DOWN YOUR CONFIGURED USER INFORMATION!!!
5. Now wait for the server to reboot.
Congratulations! You’ve now installed Ubuntu! We’ll step through configuring the server OS for usage and making sure all necessary packages and updates are installed.
[B]CONFIGURING AND UPDATING UBUNTU SERVER:[/B]
- Logon with the credentials you configured.
- First we want to set the IP of the server so that it doesn’t require DHCP and that DNS is properly configured.
• Type sudo vi /etc/network/interfaces
• Press Insert and navigate through the file with the arrow keys.
i. Using your environments IP schema configure it per my example. Italics are lines that need to be added. [I]NOTE Included IPs are examples only and will vary for your deployment![/I]
[FONT=Courier New]1.#The loopback network interface[/FONT]
[FONT=Courier New]2.auto lo[/FONT]
[FONT=Courier New]3.iface lo inet loopback[/FONT]
[FONT=Courier New]4.[/FONT]
[FONT=Courier New]5.#The primary network interface[/FONT]
[FONT=Courier New]6.auto eth0[/FONT]
[FONT=Courier New]7.iface eth0 inet [B][I]static### Set to static IP[/I][/B][/FONT]
[B][I][FONT=Courier New]8.address 192.168.1.5[/FONT][/I][/B]
[B][I][FONT=Courier New]9.netmask 255.255.255.0[/FONT][/I][/B]
[B][I][FONT=Courier New]10.gateway 192.168.1.1[/FONT][/I][/B]
[B][I][FONT=Courier New]11.network 192.168.1.0[/FONT][/I][/B]
[B][I][FONT=Courier New]12.broadcast 192.168.1.255[/FONT][/I][/B]
[B][I][FONT=Courier New]13.dns-domain example.org ## Your internalDomain Name[/FONT][/I][/B]
[B][I][FONT=Courier New]14.dns-search example.org[/FONT][/I][/B]
[B][I][FONT=Courier New]15.dns-nameservers 192.168.5.3 192.168.5.4## enter your DNS server[/FONT][/I][/B]
[CENTER][B][I][U][FONT=Courier New]addressesseparatedbya space[/FONT][/U][/I][/B][/CENTER]
• Also, if you are using a proxy that requires authentication you will need to allow open access for the FOG server. Depending on your configuration it may be difficult getting Ubuntu to authenticate properly.
8. At the command line type the following commands.
• sudo apt-get update
• sudo apt-get upgrade
• This will find any necessary updates and upgrade any packages that need it
9. Restart the server if necessary. (sudo shutdown –r now)
10. Now that networking and server updates are taken care of, we are ready to begin installing the FOG software.
[url=“/_imported_xf_attachments/1/1211_Implementing_FOG_with_Universal_Windows_7.pdf?:”]Implementing_FOG_with_Universal_Windows_7.pdf[/url]