My .fogsetting file :
Note : Linux user and Database user passwords have been changed in this file. Not the real password.
## Start of FOG Settings
## Created by the FOG Installer
## Find more information about this file in the FOG Project wiki:
## https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
## Version: 1.5.8
## Install time: ven. 01 mai 2020 00:20:41 CEST
ipaddress='192.168.1.10'
copybackold='0'
interface='eth0'
submask='255.255.255.0'
hostname='SERVER'
routeraddress='192.168.1.1'
plainrouter='192.168.1.1'
dnsaddress='192.168.1.10'
username='fogproject'
password='@kys9ndprTjs4NsZQllo'
osid='1'
osname='Redhat'
dodhcp='y'
bldhcp='1'
dhcpd='dhcpd'
blexports='1'
installtype='N'
snmysqluser='fogmaster'
snmysqlpass='HDYih5=7SDT4sTr5xpkQ'
snmysqlhost='localhost'
mysqldbname='fog'
installlang='1'
storageLocation='/images'
fogupdateloaded=1
docroot='/var/www/html/'
webroot='/fog/'
caCreated='yes'
httpproto='https'
startrange='192.168.1.2'
endrange='192.168.1.10'
bootfilename='undionly.kpxe'
packages='bc curl dhcp gcc gcc-c++ genisoimage gettext git gzip httpd lftp m4 make mod_ssl mtools mysql mysql-server net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel'
noTftpBuild=''
sslpath='/opt/fog/snapins/ssl/'
backupPath='/home/'
armsupport=''
php_ver=''
php_verAdds=''
sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key'
## End of FOG Settings
I saved FOG install script messages :
[root@SERVER bin]# ./installfog.sh
Installing LSB_Release as needed
* Attempting to get release information.......................Done
...
Version: 1.5.8 Installer/Updater
* Found FOG Settings from previous install at: /opt/fog/.fogsettings
* Performing upgrade using these settings
Starting Redhat based Installation
...
* Here are the settings FOG will use:
* Base Linux: Redhat
* Detected Linux Distribution: CentOS
* Interface: eth0
* Server IP Address: 192.168.1.10
* Server Subnet Mask: 255.255.255.0
* Server Hostname: SERVER
* Installation Type: Normal Server
* Internationalization: 1
* Image Storage Location: /images
* Using FOG DHCP: Yes
* DHCP router Address: 192.168.1.1
* Are you sure you wish to continue (Y/N) y
* Installation Started
* Testing internet connection.................................Done
* Adjusting repository (can take a long time for cleanup).....OK
* Preparing Package Manager...................................OK
* Packages to be installed:
bc curl dhcp gcc gcc-c++ genisoimage gettext git gzip httpd lftp m4 make mod_ssl mtools mysql mysql-server net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel
* Skipping package: bc......................................(Already Installed)
* Skipping package: curl....................................(Already Installed)
* Skipping package: dhcp....................................(Already Installed)
* Skipping package: gcc.....................................(Already Installed)
* Skipping package: gcc-c++.................................(Already Installed)
* Skipping package: genisoimage.............................(Already Installed)
* Skipping package: gettext.................................(Already Installed)
* Skipping package: git.....................................(Already Installed)
* Skipping package: gzip....................................(Already Installed)
* Skipping package: httpd...................................(Already Installed)
* Skipping package: lftp....................................(Already Installed)
* Skipping package: m4......................................(Already Installed)
* Skipping package: make....................................(Already Installed)
* Skipping package: mod_ssl.................................(Already Installed)
* Skipping package: mtools..................................(Already Installed)
* Skipping package: mysql...................................(Already Installed)
* Skipping package: mysql-server............................(Already Installed)
* Skipping package: net-tools...............................(Already Installed)
* Skipping package: nfs-utils...............................(Already Installed)
* Skipping package: php.....................................(Already Installed)
* Skipping package: php-bcmath..............................(Already Installed)
* Skipping package: php-cli.................................(Already Installed)
* Skipping package: php-common..............................(Already Installed)
* Skipping package: php-fpm.................................(Already Installed)
* Skipping package: php-gd..................................(Already Installed)
* Skipping package: php-ldap................................(Already Installed)
* Skipping package: php-mbstring............................(Already Installed)
* Skipping package: php-mysqlnd.............................(Already Installed)
* Skipping package: php-process.............................(Already Installed)
* Skipping package: syslinux................................(Already Installed)
* Skipping package: tar.....................................(Already Installed)
* Skipping package: tftp-server.............................(Already Installed)
* Skipping package: unzip...................................(Already Installed)
* Skipping package: vsftpd..................................(Already Installed)
* Skipping package: wget....................................(Already Installed)
* Skipping package: xinetd..................................(Already Installed)
* Skipping package: xz-devel................................(Already Installed)
* Updating packages as needed.................................OK
* Confirming package installation
* Checking package: bc........................................OK
* Checking package: curl......................................OK
* Checking package: dhcp......................................OK
* Checking package: gcc.......................................OK
* Checking package: gcc-c++...................................OK
* Checking package: genisoimage...............................OK
* Checking package: gettext...................................OK
* Checking package: git.......................................OK
* Checking package: gzip......................................OK
* Checking package: httpd.....................................OK
* Checking package: lftp......................................OK
* Checking package: m4........................................OK
* Checking package: make......................................OK
* Checking package: mod_ssl...................................OK
* Checking package: mtools....................................OK
* Checking package: mysql.....................................OK
* Checking package: mysql-server..............................OK
* Checking package: net-tools.................................OK
* Checking package: nfs-utils.................................OK
* Checking package: php.......................................OK
* Checking package: php-bcmath................................OK
* Checking package: php-cli...................................OK
* Checking package: php-common................................OK
* Checking package: php-fpm...................................OK
* Checking package: php-gd....................................OK
* Checking package: php-ldap..................................OK
* Checking package: php-mbstring..............................OK
* Checking package: php-mysqlnd...............................OK
* Checking package: php-process...............................OK
* Checking package: syslinux..................................OK
* Checking package: tar.......................................OK
* Checking package: tftp-server...............................OK
* Checking package: unzip.....................................OK
* Checking package: vsftpd....................................OK
* Checking package: wget......................................OK
* Checking package: xinetd....................................OK
* Checking package: xz-devel..................................OK
* Configuring services
* Setting up fogproject user..................................Skipped
* Locking fogproject as a system account......................OK
* Setting up fogproject password..............................OK
* Stopping FOGMulticastManager Service........................OK
* Stopping FOGImageReplicator Service.........................OK
* Stopping FOGSnapinReplicator Service........................OK
* Stopping FOGScheduler Service...............................OK
* Stopping FOGPingHosts Service...............................OK
* Stopping FOGSnapinHash Service..............................OK
* Stopping FOGImageSize Service...............................OK
* Setting up and starting MySQL................................./lib/common/functions.sh: line 1038: systemctl : commande introuvable
../lib/common/functions.sh: line 1039: systemctl : commande introuvable
OK
* Setting up MySQL user and database..........................Skipped
* Backing up user reports.....................................Done
* Stopping web service........................................OK
* Removing vhost file.........................................OK
* Setting up Apache and PHP files.............................OK
* Testing and removing symbolic links if found................OK
* Backing up old data.........................................OK
* Copying new files to web folder.............................OK
* Creating the language binaries..............................Done
* Creating config file........................................OK
* Downloading kernel, init and fog-client binaries............Done
* Extracting the binaries archive.............................OK
* Copying binaries to destination paths.......................OK
* Enabling apache and fpm services on boot....................OK
* Creating SSL Certificate....................................OK
* Creating auth pub key and cert..............................OK
* Resetting SSL Permissions...................................OK
* Setting up Apache virtual host (SSL)........................OK
* Starting and checking status of web services................OK
* Changing permissions on apache log files....................OK
* Backing up database.........................................Done
* You still need to install/update your database schema.
* This can be done by opening a web browser and going to:
https://192.168.1.10/fog/management
* Press [Enter] key when database is updated/installed.
* Update fogstorage database password.........................OK
* Granting access to fogstorage database user.................Skipped
* Setting up storage..........................................OK
* Setting up and starting DHCP Server.........................OK
* Compiling iPXE binaries trusting your SSL certificate.......OK
* Setting up and starting TFTP and PXE Servers................OK
* Setting up and starting VSFTP Server........................OK
* Setting up FOG Snapins......................................OK
* Setting up UDPCast..........................................OK
* Configuring UDPCast.........................................OK
* Building UDPCast............................................OK
* Installing UDPCast..........................................OK
* Installing FOG System Scripts...............................OK
* Configuring FOG System Services
* Setting FOGMulticastManager script executable...............OK
* Enabling FOGMulticastManager Service........................OK
* Setting FOGImageReplicator script executable................OK
* Enabling FOGImageReplicator Service.........................OK
* Setting FOGSnapinReplicator script executable...............OK
* Enabling FOGSnapinReplicator Service........................OK
* Setting FOGScheduler script executable......................OK
* Enabling FOGScheduler Service...............................OK
* Setting FOGPingHosts script executable......................OK
* Enabling FOGPingHosts Service...............................OK
* Setting FOGSnapinHash script executable.....................OK
* Enabling FOGSnapinHash Service..............................OK
* Setting FOGImageSize script executable......................OK
* Enabling FOGImageSize Service...............................OK
* Setting up FOG Services.....................................OK
* Starting FOGMulticastManager Service........................OK
* Starting FOGImageReplicator Service.........................OK
* Starting FOGSnapinReplicator Service........................OK
* Starting FOGScheduler Service...............................OK
* Starting FOGPingHosts Service...............................OK
* Starting FOGSnapinHash Service..............................OK
* Starting FOGImageSize Service...............................OK
* Setting up exports file.....................................OK
* Setting up and starting RPCBind.............................OK
* Setting up and starting NFS Server..........................OK
* Ensuring node username and passwords match..................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:
https://192.168.1.10/fog/management
Default User Information
Username: fog
Password: password
[root@SERVER bin]#
Any idea?