Guest Installation via local http fails

View: New views
4 Messages — Rating Filter:   Alert me  

Guest Installation via local http fails

by Claus Reheis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all!

I found some time and thought about playing around with Xen 3.1 in
Fedora 7!
I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host
with help of a nice howto in the O`Reilly book about Fedora what suggest
the folling steps:

1)Setup a network installation server in Dom0:

setenforce 0

ln -s /media/disk/ /var/www/html/fedora

service httpd start

2)Start the Installation with virt-manager

The installation starts up fine until I can choose the installation
method!I choose http and after I always get the Error message:

"Unable to retrieve http://192.168.0.123/fedora//images/stage2.img "

The strange things are the two *//* !I cant get rid of it!I tried any
combination who came to my mind, but no success until now...

When I open Firefox and go to

http://192.168.0.123/fedora/images/stage2.img

or

localhost/fedora/images/stage2.img

the file just downloads fine without any error!
I tried the http installation from a fedora server:

http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/

No problem either!
So what is wrong with my attempt to install from the local server?

Thanks for your help,

Claus

--
Fedora-xen mailing list
Fedora-xen@...
https://www.redhat.com/mailman/listinfo/fedora-xen

Re: Guest Installation via local http fails

by Ronald Warsow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Claus Reheis wrote:

> Hi all!
>
> I found some time and thought about playing around with Xen 3.1 in
> Fedora 7!
> I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host
> with help of a nice howto in the O`Reilly book about Fedora what suggest
> the folling steps:
>
> 1)Setup a network installation server in Dom0:
>
> setenforce 0
>
> ln -s /media/disk/ /var/www/html/fedora
>
> service httpd start
>
> 2)Start the Installation with virt-manager
>
> The installation starts up fine until I can choose the installation
> method!I choose http and after I always get the Error message:
>
> "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img "
>
> The strange things are the two *//* !I cant get rid of it!I tried any
> combination who came to my mind, but no success until now...
>
> When I open Firefox and go to
>
> http://192.168.0.123/fedora/images/stage2.img
>
> or
>
> localhost/fedora/images/stage2.img
>
> the file just downloads fine without any error!
> I tried the http installation from a fedora server:
>
> http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/
>
> No problem either!
> So what is wrong with my attempt to install from the local server?
>

1. I'm not sure if the above can work with ln -s ... , so why not to
mount directly under /var/www ....

2. your iptables setting for http maybe ?

> Thanks for your help,
>
> Claus
>
> --
> Fedora-xen mailing list
> Fedora-xen@...
> https://www.redhat.com/mailman/listinfo/fedora-xen


--
      Ronald

--
Fedora-xen mailing list
Fedora-xen@...
https://www.redhat.com/mailman/listinfo/fedora-xen

Re: Guest Installation via local http fails[SOLVED]

by Claus Reheis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2007-09-08 at 23:48 +0200, Ronald Warsow wrote:

> Claus Reheis wrote:
> > Hi all!
> >
> > I found some time and thought about playing around with Xen 3.1 in
> > Fedora 7!
> > I tried to setup Fedora 7 as a para-virtualized guest on a Fedora 7 host
> > with help of a nice howto in the O`Reilly book about Fedora what suggest
> > the folling steps:
> >
> > 1)Setup a network installation server in Dom0:
> >
> > setenforce 0
> >
> > ln -s /media/disk/ /var/www/html/fedora
> >
> > service httpd start
> >
> > 2)Start the Installation with virt-manager
> >
> > The installation starts up fine until I can choose the installation
> > method!I choose http and after I always get the Error message:
> >
> > "Unable to retrieve http://192.168.0.123/fedora//images/stage2.img "
> >
> > The strange things are the two *//* !I cant get rid of it!I tried any
> > combination who came to my mind, but no success until now...
> >
> > When I open Firefox and go to
> >
> > http://192.168.0.123/fedora/images/stage2.img
> >
> > or
> >
> > localhost/fedora/images/stage2.img
> >
> > the file just downloads fine without any error!
> > I tried the http installation from a fedora server:
> >
> > http://limestone.uoregon.edu/ftp/fedora/linux/7/Fedora/x86_64/os/
> >
> > No problem either!
> > So what is wrong with my attempt to install from the local server?
> >
>
> 1. I'm not sure if the above can work with ln -s ... , so why not to
> mount directly under /var/www ....
ok
>
> 2. your iptables setting for http maybe ?
ok

Changed settings from "Virtual Network" to "Shared physical device =
eth0" and its workinf fine now...

I dont know what did the trick, but I will find out:)

Thanks for your help,

Claus
> >
> > --
> > Fedora-xen mailing list
> > Fedora-xen@...
> > https://www.redhat.com/mailman/listinfo/fedora-xen
>
>

--
Fedora-xen mailing list
Fedora-xen@...
https://www.redhat.com/mailman/listinfo/fedora-xen

Re: Guest Installation via local http fails

by Valdas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message