+------------------------------------------+ | ####### ###### ###### | | ## ## ## ## ## | | ##### ## ## ## | | ## ## ## ## #### | | ## ## ## ## ## | | ## ###### ###### | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.10.2518 Installer/Updater sed: -e expression #1, char 17: unterminated `s' command What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, Alma, Rocky, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] Starting Debian based Installation FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] We found the following interfaces on your system: * wlxe84e068b294b - 192.168.2.115/24 * enp1s0 - 192.168.3.1/24 Would you like to change the default network interface from wlxe84e068b294b? If you are not sure, select No. [y/N] What network interface would you like to use? Would you like to setup a router address for the DHCP server? [Y/n] What is the IP address to be used for the router on the DHCP server? [192.168.2.1] Would you like DHCP to handle DNS? [Y/n] What DNS address should DHCP allow? [127.0.0.53] Would you like to use the FOG server for DHCP service? [y/N] This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] Using encrypted connections is state of the art on the web and we encourage you to enable this for your FOG server. But using HTTPS has some implications within FOG, PXE and fog-client and you want to read https://wiki.fogproject.org/HTTPS before you decide! Would you like to enable secure HTTPS on your FOG server? [y/N] Which hostname would you like to use? Currently is: FogServer Note: This hostname will be in the certificate we generate for your FOG webserver. The hostname will only be used for this but won't be set as a local hostname on your server! Would you like to change it? If you are not sure, select No. [y/N] FOG would like to collect some data: We would like to collect the following information: 1. OS Name (CentOS, RedHat, Debian, etc....) 2. OS Version (8.0.2004, 7.2.1409, 9, etc....) 3. FOG Version (1.5.9, 1.6, etc....) What is this information used for? We would like to simply track the common types of OS being used, along with the OS Version, and the various versions of FOG being used. Are you ok with sending this information? [Y/n] ###################################################################### # FOG now has everything it needs for this setup, but please # # understand that this script will overwrite any setting you may # # have setup for services like DHCP, apache, pxe, tftp, and NFS. # ###################################################################### # It is not recommended that you install this on a production system # # as this script modifies many of your system settings. # ###################################################################### # This script should be run by the root user. # # It will prepend the running with sudo if root is not set # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### # or our new documentation at: # ###################################################################### # https://docs.fogproject.org/en/latest/ # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Interface: enp1s0 * Server IP Address: 192.168.3.1 * Server Subnet Mask: 255.255.255.0 * Hostname: FogServer * Installation Type: Normal Server * Internationalization: Yes * Image Storage Location: /images * Using FOG DHCP: Yes * DHCP router Address: 192.168.3.1 * Send OS Name, OS Version, and FOG Version: Yes * Are you sure you wish to continue (Y/N) * Installation Started * Testing internet connection.................................Done * Adjusting repository (can take a long time for cleanup).....OK * Preparing Package Manager...................................OK * Reading package state.......................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc gcc-aarch64-linux-gnu genisoimage gettext git gzip htmldoc isolinux kea-dhcp4-server language-pack-de language-pack-en language-pack-es language-pack-eu language-pack-fr language-pack-ja language-pack-pt language-pack-zh-hans lftp libapache2-mod-php libc6 libcurl4t64 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php php-bcmath php-cli php-curl php-fpm php-gd php-intl php-json php-ldap php-mbstring php-mysql php-mysqlnd sbsigntool tar tftpd-hpa tftp-hpa unzip vsftpd wget zlib1g * Pending package: apache2.................................(Queued) * Skipping package: bc......................................(Already Installed) * Pending package: build-essential.........................(Queued) * Skipping package: cpp.....................................(Already Installed) * Pending package: curl....................................(Queued) * Pending package: g++.....................................(Queued) * Pending package: gawk....................................(Queued) * Pending package: gcc.....................................(Queued) * Pending package: gcc-aarch64-linux-gnu...................(Queued) * Pending package: genisoimage.............................(Queued) * Pending package: gettext.................................(Queued) * Skipping package: git.....................................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Pending package: htmldoc.................................(Queued) * Pending package: isolinux................................(Queued) * Pending package: kea-dhcp4-server........................(Queued) * Pending package: language-pack-de........................(Queued) * Skipping package: language-pack-en........................(Already Installed) * Pending package: language-pack-es........................(Queued) * Pending package: language-pack-eu........................(Queued) * Pending package: language-pack-fr........................(Queued) * Pending package: language-pack-ja........................(Queued) * Pending package: language-pack-pt........................(Queued) * Pending package: language-pack-zh-hans...................(Queued) * Pending package: lftp....................................(Queued) * Pending package: libapache2-mod-php......................(Queued) * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl4t64.............................(Already Installed) * Pending package: liblzma-dev.............................(Queued) * Pending package: m4......................................(Queued) * Pending package: mariadb-client..........................(Queued) * Pending package: mariadb-server..........................(Queued) * Pending package: net-tools...............................(Queued) * Pending package: nfs-kernel-server.......................(Queued) * Pending package: openssh-server..........................(Queued) * Pending package: php.....................................(Queued) * Pending package: php-bcmath..............................(Queued) * Pending package: php-cli.................................(Queued) * Pending package: php-curl................................(Queued) * Pending package: php-fpm.................................(Queued) * Pending package: php-gd..................................(Queued) * Pending package: php-intl................................(Queued) * Pending package: php-json................................(Queued) * Pending package: php-ldap................................(Queued) * Pending package: php-mbstring............................(Queued) * Pending package: php-mysql...............................(Queued) * Pending package: php-mysql...............................(Queued) * Skipping package: sbsigntool..............................(Already Installed) * Skipping package: tar.....................................(Already Installed) * Pending package: tftpd-hpa...............................(Queued) * Pending package: tftp-hpa................................(Queued) * Skipping package: unzip...................................(Already Installed) * Pending package: vsftpd..................................(Queued) * Skipping package: wget....................................(Already Installed) * Skipping package: zlib1g..................................(Already Installed) * Installing 42 packages......................................OK * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: gcc-aarch64-linux-gnu.....................OK * Checking package: genisoimage...............................OK * Checking package: gettext...................................OK * Checking package: git.......................................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: isolinux..................................OK * Checking package: kea-dhcp4-server..........................OK * Checking package: language-pack-de..........................OK * Checking package: language-pack-en..........................OK * Checking package: language-pack-es..........................OK * Checking package: language-pack-eu..........................OK * Checking package: language-pack-fr..........................OK * Checking package: language-pack-ja..........................OK * Checking package: language-pack-pt..........................OK * Checking package: language-pack-zh-hans.....................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php........................OK * Checking package: libc6.....................................OK * Checking package: libcurl4t64...............................OK * Checking package: liblzma-dev...............................OK * Checking package: m4........................................OK * Checking package: mariadb-client............................OK * Checking package: mariadb-server............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php.......................................OK * Checking package: php-bcmath................................OK * Checking package: php-cli...................................OK * Checking package: php-curl..................................OK * Checking package: php-fpm...................................OK * Checking package: php-gd....................................OK * Checking package: php-intl..................................OK * Checking package: php-json..................................OK * Checking package: php-ldap..................................OK * Checking package: php-mbstring..............................OK * Checking package: php-mysql.................................OK * Checking package: sbsigntool................................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Setting up and starting MySQL...............................OK * Setting up MySQL user and database..........................OK * Backing up user reports.....................................Done * Stopping web service........................................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................Skipped * Copying new files to web folder.............................OK * Creating the language binaries..............................Done * Creating config file........................................OK * Creating paths file.........................................OK * Creating redirection index file.............................OK * Downloading kernel, init and fog-client binaries............Done * Copying binaries to destination paths.......................OK This run will mint a new FOG PKI CA. A CA's name constraints are fixed at the moment it's issued -- widening them later means re-issuing it (rm -rf the CA directory, then re-run). Extra hostnames for this server, space-separated (blank = none): Internal domains, space-separated, e.g. example.local (blank = none): * Creating FOG Server CA......................................OK * Creating FOG Secure Boot CA.................................OK * Creating Secure Boot code signing certificate...............OK * Signing FOS kernels and Memtest86+ for Secure Boot..........Done * Installing Secure Boot signing helper.......................Done * Publishing Secure Boot enrolment kit........................Done * Enabling apache and fpm services on boot....................OK * Creating SSL Private Key....................................OK * Creating client communication certificate...................OK * Creating FOG Web CA.........................................OK * Creating web server private key.............................OK * Creating SSL Certificate....................................OK * Publishing client communication certificate.................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (SSL available, no redirect).OK * Starting and checking status of web services................OK * Changing permissions on apache log files....................OK * Checking web server serves FOG..............................Done * Backing up database.........................................Skipped * Install/update the FOG database schema now? (Y/n) * Updating Database...........................................OK * Verifying database schema...................................Done * Update fogstorage database password.........................OK * Granting access to fogstorage database user.................OK * Setting up storage..........................................OK * Setting up and starting DHCP Server (Kea)...................OK * Downloading iPXE binaries (v2.0.0-fog.7.1)..................OK * Downloading iPXE Secure Boot binaries (v2.0.0-fog.7.1)......OK * Configuring default iPXE file...............................OK * Setting up and starting TFTP Server.........................OK * Setting up and starting VSFTP Server........................OK * Setting up FOG Snapins......................................OK * Restricting private key access..............................OK ################################################################### # The CA private key for this server is on this server, readable # # only by root: # # /opt/fog/pki/root/ca/.fogCA.key # # # # That protects it from a compromise of the web application, but # # not from a compromise of the machine. To move it to a vault: # # /opt/fog/bin/fog-offline-ca-key /mnt/vault # # # # Day to day nothing needs it. Restore it only to issue a new # # intermediate, or a certificate for a new storage node. # # # # The Secure Boot CA private key is also on this server, # # readable only by root: # # /opt/fog/pki/secureboot/ca/.fogSBCA.key # # # # Restore it to issue a new Secure Boot intermediate, or a # # new signing leaf. To move it to a vault: # # /opt/fog/bin/fog-offline-ca-key /mnt/vault --zone secureboot # ################################################################### * Trusting the FOG CA on this server..........................Done * Setting up UDPCast..........................................OK * Configuring UDPCast.........................................OK * Building UDPCast............................................OK * Installing UDPCast..........................................OK * Installing FOG System Scripts...............................OK * Configuring FOG System Services * Setting permissions on FOGMulticastManager.service script...OK * Enabling FOGMulticastManager.service Service................OK * Setting permissions on FOGImageReplicator.service script....OK * Enabling FOGImageReplicator.service Service.................OK * Setting permissions on FOGSnapinReplicator.service script...OK * Enabling FOGSnapinReplicator.service Service................OK * Setting permissions on FOGScheduler.service script..........OK * Enabling FOGScheduler.service Service.......................OK * Setting permissions on FOGPingHosts.service script..........OK * Enabling FOGPingHosts.service Service.......................OK * Setting permissions on FOGSnapinHash.service script.........OK * Enabling FOGSnapinHash.service Service......................OK * Setting permissions on FOGImageSize.service script..........OK * Enabling FOGImageSize.service Service.......................OK * Setting up FOG Services.....................................OK * Creating FOS report log directory...........................OK * Creating FOG fault log directory............................OK * Creating FOG session directory..............................OK * Starting FOGMulticastManager.service Service................OK * Starting FOGImageReplicator.service Service.................OK * Starting FOGSnapinReplicator.service Service................OK * Starting FOGScheduler.service Service.......................OK * Starting FOGPingHosts.service Service.......................OK * Starting FOGSnapinHash.service Service......................OK * Starting FOGImageSize.service Service.......................OK * Setting up NFS configuration file...........................OK * Setting up exports file.....................................OK * Setting up and starting RPCBind.............................OK * Setting up and starting NFS Server..........................OK * Linking FOG Logs to Linux Logs..............................OK * Linking FOG Service config /etc.............................OK * Installing FOG utilities....................................OK * Ensuring node username and passwords match..................Done * Setting up FOG External Reporting...........................Done * Setup complete You can now login to the FOG Management Portal using the information listed below. The login information is only if this is the first install. This can be done by opening a web browser and going to: http://192.168.3.1/fog/management Default User Information Username: fog Password: password * Changed configurations: The FOG installer changed configuration files and created the following backup files from your original files: * /etc/kea/kea-dhcp4.conf <=> /etc/kea/kea-dhcp4.conf.1791821429 * /etc/vsftpd.conf <=> /etc/vsftpd.conf.1791821429 * /etc/exports <=> /etc/exports.1791821429