Script started on Fri 31 Jul 2015 05:07:34 PM WEST CentOS ..#######:. ..,#,.. .::##::. .:###### .:;####:......;#;.. ...##... ...##;,;##::::.##... ,# ...##.....##:::## ..:: ## .::###,,##. . ##.::#.:######::. ...##:::###::....#. .. .#...#. #...#:::. ..:####:.. ..##......##::## .. # # . ...##:,;##;:::#: ... ##.. .# . .:;####;::::.##:::;#:.. # ..:;###.. ########################################### # FOG # # Free Computer Imaging Solution # # # # http://www.fogproject.org/ # # # # Developers: # # Chuck Syperski # # Jian Zhang # # Peter Gilchrist # # Tom Elliott # # GNU GPL Version 3 # ########################################### Version: 1.2.0 Installer/Updater 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) Choice: [1] Staring Redhat / CentOS Installation. ../lib/redhat/functions.sh: line 1: n#: command not found 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] What is the IP address to be used by this FOG Server? [192.168.56.128] Would you like to setup a router address for the DHCP server? [Y/n] y What is the IP address to be used for the router on the DHCP server? [192.168.56.2] Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n] What is the IP address to be used for DNS on the DHCP server and client boot image? [192.168.56.2] Would you like to change the default network interface from eth0? If you are not sure, select No. [y/N]n Would you like to use the FOG server for DHCP service? [Y/n] n This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] n Would you like to donate computer resources to the FOG Project to mine cryptocurrency? This will only take place during active tasks and should NOT have any impact on performance of your imaging or other tasks. The currency will be used to pay for FOG Project expenses and to support the core developers working on the project. For more information see: http://fogproject.org/?q=cryptocurrency Would you like to donate computer resources to the FOG Project? [y/N] n ##################################################################### FOG now has everything it needs to setup your server, 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 on Redhat or with sudo on Ubuntu. ** Notice ** Redhat users will need to disable SELinux and iptables in order to use FOG Please see our wiki for more information at http://www.fogproject.org/wiki Here are the settings FOG will use: Base Linux: Redhat Detected Linux Distribution: CentOS Installation Type: Normal Server Server IP Address: 192.168.56.128 DHCP router Address: 192.168.56.2 DHCP DNS Address: 192.168.56.2 Interface: eth0 Using FOG DHCP: 0 Internationalization: 0 Donate: 0 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 On a Windows DHCP server you must set: option 066 & 067 Option 066 is the IP of the FOG Server: (e.g. 192.168.56.128) Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe) Are you sure you wish to continue (Y/N) y Installation Started... Installing required packages, if this fails make sure you have an active internet connection. * Packages to be installed: httpd php php-cli php-common php-gd php-mysql mysql mysql-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp * Installing package: httpd * Installing package: php * Skipping package: php-cli (Already installed) * Skipping package: php-common (Already installed) * Installing package: php-gd * Installing package: php-mysql * Installing package: mysql * Installing package: mysql-server * Installing package: tftp-server * Installing package: nfs-utils * Installing package: vsftpd * Skipping package: net-tools (Already installed) * Skipping package: wget (Already installed) * Skipping package: xinetd (Already installed) * Skipping package: tar (Already installed) * Skipping package: gzip (Already installed) * Skipping package: make (Already installed) * Skipping package: m4 (Already installed) * Installing package: gcc * Installing package: gcc-c++ * Installing package: lftp Confirming package installation. * Checking package: httpd...OK * Checking package: php...OK * Checking package: php-cli...OK * Checking package: php-common...OK * Checking package: php-gd...OK * Checking package: php-mysql...OK * Checking package: mysql...OK * Checking package: mysql-server...OK * Checking package: tftp-server...OK * Checking package: nfs-utils...OK * Checking package: vsftpd...OK * Checking package: net-tools...OK * Checking package: wget...OK * Checking package: xinetd...OK * Checking package: tar...OK * Checking package: gzip...OK * Checking package: make...OK * Checking package: m4...OK * Checking package: gcc...OK * Checking package: gcc-c++...OK * Checking package: lftp...OK Configuring services. * Setting up fog user...OK * Setting up and starting MySQL...OK * Backing up user reports...OK * Did you leave the mysql password blank during install? (Y/n) y * Setting up and starting Apache Web Server...Failed! (2) Script done on Fri 31 Jul 2015 05:16:24 PM WEST