
A deployment server centralizes operating system installation and management across multiple machines, making setup and maintenance easier in a professional environment. In this chapter, you will install FOG Server on Linux, an open-source deployment tool.
Â
The FOG Project (Free and Open-source Ghost) is an open-source initiative that provides a free alternative to proprietary operating system cloning and deployment solutions such as Microsoft MDT and WDS. It brings together a community of developers and users who work together to improve and evolve the solution.Â
The projectâs main product is FOG Server, a tool designed to capture, manage, and deploy system images to multiple machines from one central location.Â
FOG Server works in PXE (Preboot Execution Environment) mode, which lets client machines boot from an image over the network without physical mediaâthis is known as PXE boot.Â
Here are the main features of FOG Server:
Capture and deploy images for different operating systems
Automate installations with custom configurations
Manage machines remotely through a web interface
Support PXE so clients can boot from the network
Install applications on running systems
Unlike MDT and WDS, which provide very detailed Windows deployment customization, FOG Server offers fewer options but a simpler web interface for efficient OS deployment, making it ideal for environments that need a quick setup.
FOG Server is also completely free, which makes it an accessible alternative to proprietary tools while still covering core image deployment needs.
So, what do you think? Letâs get started. đ
On a Debian server, which will act as your deployment server, install FOG Server.
Open a terminal and switch to the root user environment with this command, then enter the root account password you set when you installed Debian:
su -

Move to the tmp directory:
cd /tmp
Download the archive for the latest stable version of FOG Server
wget https://github.com/FOGProject/fogproject/archive/stable.tar.gz
Extract the archive:Â
tar xvf stable.tar.gz
Run the FOG installation script:Â
fogproject-stable/bin/installfog.sh
From this point on, answer the setup prompts to complete the configuration.
Enter the number that matches the operating system where the installation will run. For this course, we are using Debian, so enter â2â and press the Enter key.

The script asks which installation mode you want for FOG: a normal server, which includes all FOG components, or a storage node only, which installs only the software needed to work as part of a storage group. You want a full server, so enter âNâ and continue.

The machineâs IP address, defined when the operating system was installed, was detected on the network interface named âenp0s3.â The installer asks whether you want to change this interface. Enter âN.â

Next, define the basic DHCP service settings. DHCP will automatically distribute the network configuration required by client machines.Â
The first question asks whether you want to configure a router address (gateway) for the DHCP server. Answer âYâ for yes. Then enter the router address, which is the gateway address for your local network. Because this address is already configured on the server, it will be detected automatically. Press Enter to use 192.168.99.1.

The next questions concern the DNS service, which translates domain names into IP addresses. Answer âYâ to the first question to let the DHCP service manage DNS on the network. As with the gateway, the DNS address is detected automatically. Press Enter to use 1.1.1.1.

Finally, answer âYâ to use the DHCP service.

Answer âYâ to install language packs for FOG, even though the translation quality is not perfect. You will see that for yourself later. đ

Answer âNâ so the server does not use HTTPS.

The machine name was detected and you want to keep it, so answer âNâ to leave it unchanged.

Answer âNâ to the next question about sending data to FOG.

Review the summary of the selected settings, then enter âYâ to start the installation.

Wait a few minutes while the setup downloads, installs, and configures all the packages required for FOG to work properly.

A message will appear on screen telling you that the database schema must be installed or updated through the FOG web interface.

Without closing the terminal yet, open a web browser and go to the FOG web interface at the address shown: http://192.168.99.5/fog/management. Click the âInstall/Update Nowâ button.

When you see âInstall / Update Successful!â, return to the terminal and press Enter to tell the setup that the database has been initialized and the process can continue.

Once the installation is complete, the terminal will display the link to access FOG, the same one as before, along with the default credentials to use:Â
Username: fog
Password: password

Go to the FOG web interface at http://192.168.99.5/fog/management and sign in with the default credentials. You can also select French as the interface language.

You will land on the dashboard.

Congratulations, you have installed a deployment server on Linux! đ„ł
Letâs quickly review the purpose of each menu and its icon so you can find your way around the FOG web interface more easily:
Icon | Name | Purpose |
Dashboard | Quick overview of the FOG server status and current activity | |
Users | Manage user accounts that can access the web interface | |
Machines | Manage computers registered on the server | |
Groups | Organize machines into logical groups to simplify management | |
Images | Manage the system image files used for deployment | |
Storage | Manage storage nodes if you add another server | |
Snapin | Automate software installation and script execution on machines | |
Printer | Manage network and local printers linked to machines | |
Configuration du service | Manage the FOG client settings installed on machines | |
Tasks | Manage and track operations performed on machines | |
Reports | Generate and export data about system usage | |
Configuration FOG | Manage the FOG server global settings |
Before you use FOG to deploy Windows 11, update a few simple settings.
First, change the default password for the fog account. Go to the Users menu, then click âList All Usersâ on the left.

Click the user name, then go to the âChange Passwordâ tab. Enter the password you want and click the âUpdateâ button.

To automatically display the FOG interfacein the language of your choice each time you sign in, go to the FOG Configuration menu, then click âFOG Settingsâ on the left.Â
These settings are grouped into different categories. The one you need is called âGeneral Settings.â Select your language in the âDEFAULT LOCALEâ option. Be sure to click the âUpdateâ button at the bottom of the category to save your changes.

One last change for now: increase the PXE menu display time, which is set to 3 seconds by default. đ
Still in the FOG Configuration menu, go this time to âiPXE General Configurationâ on the left, then to the âMenu Color, Associations, Settingsâ category. Replace â3â with â60â in the âMenu Timeoutâ option and save the setting.

Your FOG deployment server is now configured!
In the next chapter, you will learn how to capture a Windows 11 master image efficiently on your server.
FOG is a complete, free open-source tool for centrally cloning and deploying operating systems.
FOG offers fewer advanced features than WDS/MDT, but it is an efficient, fast solution that uses fewer resources.
It is installed interactively through a script run from a terminal.
You use FOG through a dedicated web interface.
Your FOG environment is now up and running. Great job! Now move on to the next crucial step: creating and customizing a Windows image.