7 Comments

  1. 1.
    I have finished installation of xen 3.4.3 in light of your tutorial,and it works well. Thanks a lot.

    2.During the installation of DomainU(Fedora12x86_64 too),I download the images from my local ftp repo(ftp server:Hom ftp server,anonymous Home Directory = my DVD disk which is a Fedora12x86_64 installation disk). I visit my local ftp with firefox browser,and it works well.

    However,when I execute:

    [root@localhost czm]# yum update –disableexcludes=[mylocalftpyum.repo]
    Loaded plugins: presto, refresh-packagekit
    fedora/metalink | 1.8 kB

    00:00
    fedora | 4.2 kB

    00:00
    fedora/primary_db | 12 MB

    00:41
    Traceback (most recent call last):
    File “/usr/lib/python2.6/site-packages/urlgrabber/grabber.py”, line

    1106, in _hdr_retrieve
    self.size = int(s)
    ValueError: invalid literal for int() with base 10: ‘20091109000910.000’

    I have tried the following tow edition of repos,but they were both reluctant to work.
    ——————————————–
    Attachment: mylocalftpyum.repo

    [mylocalftpyum]
    name=My Local Ftp yum repo for fedora12X86_64
    baseurl=ftp://192.168.0.100
    enabled=0
    #metadata_expire=7d
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    —————————————————————-
    Attachment: mylocalftpyum.repo

    [mylocalftpyum]
    name=My Local Ftp yum repo for fedora12X86_64
    baseurl=ftp://192.168.0.100
    enabled=0
    #metadata_expire=7d
    gpgcheck=0
    —————————————————————

    Best regards.
    Caizm

    1. I am confused: is the DomU already installed successfully? Where (dom0 or domu) do you use the yum?

      Using DVD image as the yum repository source should be ok: http://fclose.com/b/linux/54/

      BTW: if you want to install DomU using the DVD or DVD image, one possible method is to attached the DVD drive or DVD ISO image to DomU as it’s cdrom.

      One configuration example (using iso image) is as follows (the disk config only here).

      disk=[‘file:/lhome/xen/vm-10.0.1.235/vmdisk0,xvda,w’, ‘file:/lhome/FC-12-x86_64-DVD.iso,xvdc:cdrom,r’]

  2. Sorry ,clerical errors last time.

    Attachment: mylocalftpyum.repo

    [mylocalftpyum]
    name=My Local Ftp yum repo for fedora12X86_64
    baseurl=ftp://192.168.0.100
    enabled=1 //【Note 】
    #metadata_expire=7d
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    —————————————————————-
    Attachment: mylocalftpyum.repo

    [mylocalftpyum]
    name=My Local Ftp yum repo for fedora12X86_64
    baseurl=ftp://192.168.0.100
    enabled=1 //【Note 】
    #metadata_expire=7d
    gpgcheck=0

    1. The configuration seems good if the directory structure is correct.

      What about try to install some packages instead of upgrade? It will not update any package since they are the same versions as the repository.

      1. Many thanks.I have finished installation of DomainU from local yum repository.
        Suggestion: As installing DomainU from remote yum repository will last several hours,setting up a local yum repository would be a good idea.

  3. Dear Ma,
    Your suggestion takes effect.I install Xen 3.4.3 in Fedora【14】x86_64 smoothly.

    Attachment:
    Ma’s suggestion:Before make xen, try to install glibc-devel.i686 first.

Leave a Reply

Your email address will not be published. Required fields are marked *