Installing and Configuring A Fog Server 1
Installing and Configuring A Fog Server 1
Installing and Configuring A Fog Server 1
Fog Server
This step by step assumes you are a network administrator with sufficient permissions and
advanced knowledge of operating systems.
Note: All passwords we use in this example will be “123456”
Run all commands as the root user
FOLLOW THE DIRECTIONS ON THIS. It will not always match the screen
(after you type each ip you will need to hit enter to submit the change the box should resize once you do)
3. Download FOG 0.32 from SourceForge http://sourceforge.net/projects/freeghost/
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
4. Input in terminal: (case sensitive)
cd (normally located in the downloads folder)↵
“cd Downloads/”
sudo su root↵
tar –xzf fog_0.32.tar.gz↵
cd fog_0.32↵
cd bin/↵
./installfog.sh↵
2 - Ubuntu↵
N – Normal Server↵
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
7. From terminal:
cd /var/www/fog/commons/↵
gedit config.php↵
Save
9. In terminal:
cd opt/fog/service/etc/↵
gedit config.php↵
9 host “127.0.0.1”
10 database “fog”
11 username “root”
12 password “123456”
passwd fog↵
(enter 123456 as the password for the fog user)
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
12. In your windows server open
Server Manager > Roles > DHCP Server > “Server
Domain Name” > IPv4 > Scope > Scope Options
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Basic information about hosts and groups.
This is a basic step by step for imaging and deploying images and what you need to know.
Making image files (this will may not make sense until later)
The:
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Fog will automatically only image the /dev/sda2
Click Add
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Adding host 1st way (manual)
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Adding host 2nd way (Semi automatic)
Hit enter
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
8. Add the following
Click “Update”
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Adding host 3rd way (Fully automatic)
Only do this if you have to add a lot of hosts at once. You will need to change it back.
4. gedit default
5. “SAVE AS” and save a backup somewhere you will remember.
6. In this step you will need to change the default selection. This will make it so that when someone does a
network/PXE boot the automatically do a quick registration.
The second setting in the “fog.local” label will need to be switched to “fog.reg”.
The images below are the best examples that I can give since the line numbers change.
In order to get the space by the left margin use the “tab” key no spaces
Before:
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
After:
To change it back you can either switch the “MENU DEFAULT” back to the local boot or you can replace the file with the
backup
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
Making and Managing Groups
Making Groups is a very easy and a very quick way of imaging.
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)
For now there are only 3 options that
you should focus on.
By Brian Cunningham
(If any part of this stops working or you have questions mail me at brian.cunningham24@yahoo.com)