I upgraded to v. 1.1.2 and everything went fine (after I ran the ‘yum remove dhclient’), only question now, is where is the images folder where I can put my custom boot iso’s? I noticed tftpboot isn’t there anymore. I also need to edit the default menu.
Thanks again,
Jim
Posts made by Jim Smith
-
RE: FOG v0.32 install script doesn't install DHCP
-
RE: FOG v0.32 install script doesn't install DHCP
Well I think I was having some sort of issue with version 1.1.2, maybe it was the dhcp conflict, it’s been a long day. But removing the dhclient and installing dhcp, then installing the .32 script worked. I can now get to the FOG Mgmt gui.
Thanks for your help!
I’ll try v1.1.2 soon.
Jim -
FOG v0.32 install script doesn't install DHCP
First the install script didn’t install DHCP…
[root@localhost ~]# cd /opt
[root@localhost opt]# cd fog*
[root@localhost fog_0.32]# cd bin
[root@localhost bin]# ./installfog.sh..#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
Created by:
SyperiorSoft
[url]http://www.SyperiorSoft.com[/url]
Developers:
Chuck Syperski
Jian Zhang
GNU GPL Version 3
###########################################
Version: 0.32 Installer/Updater
What version of Linux would you like to run the installtion for?
1) Redhat Based Linux (Fedora, CentOS) 2) Ubuntu Based Linux (Kubuntu, Edubuntu)
Choice: [1]1
Staring Redhat 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:
[url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]What type of installation would you like to do? [N] n
What is the IP address to be used by this FOG Server? [192.168.1.6]
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.1.1]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.1.1]Would you like to change the default network interface from eth0?
If you are not sure, select No. [y/N]nWould you like to use the FOG server for dhcp service? [Y/n] y
This version of FOG has internationalization support, would
you like to install the additional language packs? [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 Fedora, or with sudo on Ubuntu.
Here are the settings FOG will use:
Distro: Redhat
Installation Type: Normal Server
Server IP Address: 192.168.1.6
DHCP router Address: 192.168.1.1
DHCP DNS Address: 192.168.1.1
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0Are 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.- Skipping package: httpd (Already Installed)
- Skipping package: php (Already Installed)
- Skipping package: php-gd (Already Installed)
- Skipping package: php-cli (Already Installed)
- Skipping package: php-gettext (Already Installed)
- Skipping package: mysql (Already Installed)
- Skipping package: mysql-server (Already Installed)
- Skipping package: php-mysql (Already Installed)
- Installing package: dhcp
- 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: htmldoc (Already Installed)
- Skipping package: perl (Already Installed)
- Skipping package: perl-Crypt-PasswdMD5 (Already Installed)
- Skipping package: lftp (Already Installed)
- Skipping package: clamav-update (Already Installed)
Confirming package installation.
- Checking package: httpd…OK
- Checking package: php…OK
- Checking package: php-gd…OK
- Checking package: php-cli…OK
- Checking package: php-gettext…OK
- Checking package: mysql…OK
- Checking package: mysql-server…OK
- Checking package: php-mysql…OK
- Checking package: dhcp…Failed!
Then I tried to install dhcp via yum command -
[root@localhost ~]# yum install dhcp
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package dhcp.i686 12:4.1.2-4.ESV.R2.fc13 set to be updated
–> Finished Dependency ResolutionDependencies Resolved
================================================================================
Package Arch Version Repository SizeInstalling:
dhcp i686 12:4.1.2-4.ESV.R2.fc13 updates 894 kTransaction Summary
Install 1 Package(s)
Upgrade 0 Package(s)Total size: 894 k
Installed size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction TestTransaction Check Error:
file /usr/share/man/man5/dhcp-eval.5.gz from install of dhcp-12:4.1.2-4.ESV.R2.fc13.i686 conflicts with file from package dhclient-12:4.1.1-15.fc13.i686
file /usr/share/man/man5/dhcp-options.5.gz from install of dhcp-12:4.1.2-4.ESV.R2.fc13.i686 conflicts with file from package dhclient-12:4.1.1-15.fc13.i686Error Summary
So now what?
And as a side note - I can’t access the FOG web gui management page, I changed the [SIZE=12px][FONT=Arial][COLOR=#000000]“MYSQL_PASSWORD” to a blank password[/COLOR][/FONT][/SIZE] at ‘[SIZE=12px][FONT=Arial][COLOR=#000000]/var/www/fog/commons/config.php’, and there’s no such path as [/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]‘/opt/fog/service/etc/config.php’ to change the other “MYSQL_PASSWORD”.[/COLOR][/FONT][/SIZE](As a 2nd side note, I already have a working FOG server, so I know it can be done, although I bought a newer computer to load Fedora (13 - old machine was with FOG.)
Please help, thank you very much.
Jim -
RE: Unable to reach default FOG web page
I have installed FOG on my Fedore Core 7 box, and I am unable to get to the default management webpage ([URL=‘http://localhost/fog/management’][SIZE=12px][FONT=Arial][U][B][COLOR=#000000]http://localhost/fog/management[/COLOR][/B][/U][/FONT][/SIZE][/URL]). I created 'fog" in www, and copied everything from ‘packages/web/’ to ‘var/www/fog/’.
Now the problem is that I’m not sure if I’ve edited the ‘/var/www/fog/commons/config.php’ file correctly with the correct MySQL settings. I’m also not sure if the ‘/opt/fog_0.32/packages/service/etc/config.php’ file was also edited correctly.
And when I try to log into the MySQL server via the terminal using the username and password indicated in the config.php file, it doesn’t accept the password.
Any help would be greatly appricated!
Thanks.