ссылки
1 2 3 4 5 6 7 8 9 |
https://habr.com/ru/post/448476/ https://fogproject.org/download https://wiki.fogproject.org/wiki/index.php?title=CentOS_7 https://habr.com/ru/post/130987/ https://wiki.fogproject.org/wiki/index.php/Windows_DHCP_Server https://wiki.fogproject.org/wiki/index.php/DCHP_Settings https://softboard.ru/topic/73318-fog-project-%D0%BC%D0%B0%D1%81%D1%81%D0%BE%D0%B2%D0%BE%D0%B5-%D0%BA%D0%BB%D0%BE%D0%BD%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D0%BE%D1%81-%D0%BF%D0%BE-%D1%81%D0%B5%D1%82%D0%B8/ https://forums.fogproject.org/topic/12908/ipxe-could-not-boot-no-such-file-or-directory/5 https://fogproject.org/download |
установка на CentOS 7
1 2 3 4 5 6 7 |
yum install git -y cd ~ mkdir git cd git git clone https://github.com/FOGProject/fogproject.git cd fogproject/bin ./installfog.sh |
установка на любой linux
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# из офф док # https://fogproject.org/download - актуальные ссылки # В настоящее время установка сервера FOG поддерживается только на компьютере под управлением Linux. # Мы рекомендуем использовать дистрибутив с долгосрочной поддержкой, предназначенный для серверов, таких как CentOS или Debian , хотя вы можете использовать множество # других дистрибутивов. # Мы также рекомендуем установить FOG Project внутри виртуальной машины, чтобы упростить резервное копирование и обновление. su - cd /opt wget https://github.com/FOGProject/fogproject/archive/1.5.9.tar.gz tar -xzvf 1.5.9.tar.gz cd fogproject-1.5.9/bin ./installfog.sh |
ответы на installfog.sh (у нас уже есть DHCP и DNS серверы)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] 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)] N ### - выбрали нормальный режим We found the following interfaces on your system: * enp1s0 - 10.0.0.28/24 Would you like to change the default network interface from enp1s0? If you are not sure, select No. [y/N] N ### - сетевую карту оставили без изменений Would you like to setup a router address for the DHCP server? [Y/n] Y ### - роутер определился правильно Would you like DHCP to handle DNS? [Y/n] N - DNS не трогали Would you like to use the FOG server for DHCP service? [y/N] N ### - сервер DHCP не подымаем This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] 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] N ### - от https отказались Which hostname would you like to use? Currently is: fog 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] 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 # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Debian GNU/Linux * Interface: enp1s0 * Server IP Address: 10.0.0.28 * Server Subnet Mask: 255.255.255.0 * Server Hostname: fog * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * DHCP will NOT be setup but you must setup your | current DHCP server to use FOG for PXE services. * On a Linux DHCP server you must set: next-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. 10.0.0.28) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) Y ### - Со всем согласились и продолжели установку |
!!!! ВНИМАНИЕ во время установки нас попросят открыть страницу managament
!!!! Если нажмете ENTER то установка вылетит с ошибкой
1 2 3 4 |
* You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://10.0.0.28/fog/management |
Когда FOG установится вы увидите:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
* 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://10.0.0.28/fog/management Default User Information Username: fog Password: password |
default login and password
1 2 3 4 |
http://192.168.15.135/fog/ fog password |
Для работы TFTP нужно собрать загрузочный файл
1 2 |
cd /opt/fogproject/utils/FOGiPXE/ ./buildipxe.sh |
Опции DHCP для TFTP
1 2 |
- option 66 – указать IP-адрес вашего сервера FOG - option 67 – указать undionly.kpxe |