[root@fog ~]# yum remove -y httpd Loaded plugins: fastestmirror Setting up Remove Process Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-39.el6.centos will be erased --> Processing Dependency: httpd-mmn = 20051115 for package: php-5.3.3-46.el6_6.x86_64 --> Running transaction check ---> Package php.x86_64 0:5.3.3-46.el6_6 will be erased --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: httpd x86_64 2.2.15-39.el6.centos @base 2.9 M Removing for dependencies: php x86_64 5.3.3-46.el6_6 @updates 3.5 M Transaction Summary ================================================================================ Remove 2 Package(s) Installed size: 6.5 M Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Erasing : php-5.3.3-46.el6_6.x86_64 1/2 Erasing : httpd-2.2.15-39.el6.centos.x86_64 2/2 Verifying : httpd-2.2.15-39.el6.centos.x86_64 1/2 Verifying : php-5.3.3-46.el6_6.x86_64 2/2 Removed: httpd.x86_64 0:2.2.15-39.el6.centos Dependency Removed: php.x86_64 0:5.3.3-46.el6_6 Complete! [root@fog ~]# cd /tmp/fog120/bin/ [root@fog bin]# ./ installfog.sh .install.sh .svn/ [root@fog bin]# ./installfog.sh Script started, file is /var/log/foginstall.log 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] y 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) * Skipping package: php-gd (Already installed) * Skipping package: php-mysql (Already installed) * Skipping package: mysql (Already installed) * Skipping package: mysql-server (Already installed) * Skipping package: tftp-server (Already installed) * Skipping package: nfs-utils (Already installed) * Skipping package: vsftpd (Already installed) * 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) * Skipping package: gcc (Already installed) * Skipping package: gcc-c++ (Already installed) * Skipping package: lftp (Already installed) 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 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...OK You still need to install/update your database schema. This can be done by opening a web browser and going to: http://192.168.56.128/fog/management Press [Enter] key when database is updated/installed. * Configuring Fresh Clam...Skipped (See wiki for installation instructions) * Setting up storage...OK * Setting up and starting NFS Server...OK * Setting up and starting DHCP Server...Skipped * Setting up and starting TFTP and PXE Servers...OK * Setting up and starting VSFTP Server...OK * Setting up sudo settings...OK * Setting up FOG Snapins...OK * Setting up and building UDPCast...OK * Installing init scripts...OK * Setting up FOG Services...OK * Starting FOG Multicast Management Server...OK * Starting FOG Image Replicator Server...OK * Starting FOG Task Scheduler Server...OK * Setting up FOG Utils...OK Would you like to notify the FOG group about this installation? * This information is only used to help the FOG group determine if FOG is being used. This information helps to let us know if we should keep improving this product. Send notification? (Y/N)y * Thank you, sending notification...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.56.128/fog/management Default User: Username: fog Password: password Script done, file is /var/log/foginstall.log