Jump to content

Recommended Posts

Posted

/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

Posted

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?

Posted

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.

Posted

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.

Posted
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

Posted
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

Posted
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?
Posted
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

Posted
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

  • Thanks 1
Posted
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!

Posted
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

Posted

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

Posted
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

Posted
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

Posted

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?

Posted
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

Posted
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???
Posted (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 by clarky2k3
  • Thanks 1
Posted

^^ 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

  • Thanks 1
Posted

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

Posted
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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...