kevbaz Posted June 2, 2009 Posted June 2, 2009 /Hi folks Ive been trying to setup and test Fog to see whether it would be a suitable replacement to what we currently use for imaging (ghost) how ever i have thus far been unable to get it to install. I have installed Fedora and have followed the install instructions to the latter but when it comes to installing fog i get the following... Installation Started... Installing required packages, if this fails make sure you have an active internet connection. * Skipping package: httpd (Already Installed) * Installing package: php * Installing package: php-gd * Installing package: php-cli * Installing package: mysql * Installing package: mysql-server * Installing package: php-mysql * Installing package: tftp-server * Skipping package: nfs-utils (Already Installed) * Installing package: vsftpd * Skipping package: net-tools (Already Installed) * Installing package: wget * Installing package: xinetd * Skipping package: tar (Already Installed) * Skipping package: gzip (Already Installed) * Installing package: make * Skipping package: m4 (Already Installed) * Installing package: gcc * Installing package: gcc-c++ * Installing package: htmldoc * Skipping package: perl (Already Installed) * Installing package: perl-Crypt-PasswdMD5 * Skipping package: lftp (Already Installed) Confirming package installation. * Checking package: httpd...OK * Checking package: php...Failed! [root@fogserver bin]# this happens every time, php seemingly will not install so fog wont. any ideas oh and im completely new to linux so a bit of a learning curve for me cheers Kev
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 i have just tried a yum update and i got this.. [root@fogserver bin]# yum update Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386 error was [Errno 14] HTTP Error 403: Forbidden ( The ISA Server denied the specified Uniform Resource Locator (URL). ) Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again [root@fogserver bin]# but i can browse to the link via firefox?
maniac Posted June 2, 2009 Posted June 2, 2009 I had simelar problems using fedora when I first tried setting Fog up. I switched to using Ubuntu to host it on intead and it installed first time on there. Mike.
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 run the following commands as the root user - yum install php yum install php-mysql yum install php-gd yum install php-cli then run the fog installer.
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 I had simelar problems using fedora when I first tried setting Fog up. I switched to using Ubuntu to host it on intead and it installed first time on there. Mike. I too had no problems with ubuntu 8.04 LTS or 8.10
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 run the following commands as the root user - yum install php yum install php-mysql yum install php-gd yum install php-cli then run the fog installer. just tried, got this [root@fogserver ~]# yum install php Loaded plugins: refresh-packagekit Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386 error was [Errno 14] HTTP Error 403: Forbidden ( The ISA Server denied the specified Uniform Resource Locator (URL). ) Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again [root@fogserver ~]# thanks
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 try - apt-get install php apt-get install php-mysql apt-get install php-gd apt-get install php-cli
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 Obviously its ISA thats blocking it, however when i browse to the url via firefox it opens fine as i was asked to authenticate when i opened firefox the first time, however going through the terminal doesnt, is there anyway to resolve this?
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 try - apt-get install php apt-get install php-mysql apt-get install php-gd apt-get install php-cli not sure if im doing it right? [root@fogserver ~]# apt-get install php bash: apt-get: command not found
Arcath Posted June 2, 2009 Posted June 2, 2009 not sure if im doing it right? apt-get is the ubuntu packages installer have you set the proxy for yum? the easiest way to do this is: http_proxy=http://your.proxy.tld:port export http_proxy then use yum as normal 1
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 Do you have your DNS servers listed in /etc/resolv.conf ?
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 apt-get is the ubuntu packages installer have you set the proxy for yum? the easiest way to do this is: http_proxy=http://your.proxy.tld:port export http_proxy then use yum as normal Sorry, yes apt is the debian based updater!
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 apt-get is the ubuntu packages installer have you set the proxy for yum? the easiest way to do this is: http_proxy=http://your.proxy.tld:port export http_proxy then use yum as normal Tried that and it made no difference Do you have your DNS servers listed in /etc/resolv.conf ? can you give me an example of what this config should resemble? thanks for the help so far guys very much appreciated, please bare with me, like i said im new to linux and still finding my way about. cheers
Arcath Posted June 2, 2009 Posted June 2, 2009 how have you set your IP? is it still set to DHCP? /etc/resolv.conf should contain the IP of the DNS Servers on your network
webman Posted June 2, 2009 Posted June 2, 2009 Apparently, if you need to authenticate, you need to use this format: http_proxy=http://user:[email protected]:8080 export http_proxy
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 how have you set your IP? is it still set to DHCP? /etc/resolv.conf should contain the IP of the DNS Servers on your network nameserver 192.168.8.1 nameserver 192.168.8.2
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 how have you set your IP? is it still set to DHCP? /etc/resolv.conf should contain the IP of the DNS Servers on your network it was set to dhcp, but i changed it by right clicking on the wired network connection by the clock, choosing edit connections > auto eth0 > edit > ipv4 > then manually setting it, applying then closing the window, however i have just gone to double check and its rest back to dhcp? nameserver 192.168.8.1 nameserver 192.168.8.2 yep got that set
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 ok managed to get the ip manually set, (PITA!) but im still not able to get yum to authenticate ive tried editing the yum.conf and adding htt, username and password but to no avail, ive also tried adding the username with the domain\ prefix but that didnt work either any ideas?
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 well ive managed to resolve it.... i plugged in a t-mobile webnwalk usb dongle and did it that way.....
Arcath Posted June 2, 2009 Posted June 2, 2009 well ive managed to resolve it.... i plugged in a t-mobile webnwalk usb dongle and did it that way..... ouch ive never used yum with a proxy server that requires authentication, cant see why it shouldnt work tho
kevbaz Posted June 2, 2009 Author Posted June 2, 2009 Ive now got it installed and all up and running, i can log into the web console from my machine and set up sessions etc, however when trying out the test (memtest) the machine im trying it on will not pxe boot into memtest, instead it gets stuck trying to contact one of our dhcp servers???
clarky2k3 Posted June 2, 2009 Posted June 2, 2009 (edited) You need to specifiy the TFTP server ip adress and boot file - 1. Open DHCP configuration Start > Administrative Tools > DHCP. 2. Then expand your server, expand the applicable scope (often only one is there) 3. right click on Scope Options 4. click Configure Options 5. tick 066 and enter the IP Address of the FOG server 6. tick 067 and enter pxelinux.0 (thats a zero). 7. Make sure that 060 is unticked. Edited June 2, 2009 by clarky2k3 1
Arcath Posted June 2, 2009 Posted June 2, 2009 ^^ make sure youve done that and make sure that on the fog machine the firewall (System -> Administration -> Firewall) is off and SELinux is off (System -> Administration -> SELinux Management). also you will need to disable iptables and ip6tables in System -> Administration -> Services 1
kevbaz Posted June 3, 2009 Author Posted June 3, 2009 yep all that was done, turns out that WDS was running (but not in use) and it was interfearing with the fog side of things. all sorted now, just getting to grips with it cheers
kevbaz Posted June 3, 2009 Author Posted June 3, 2009 Do you have to manually add all the devices by mac address or can you import them from a database? we run spice works here so we have them all in a database already, that possible?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now