Changeset 753 in MondoRescue for branches/stable/tools/qemu-vm.txt


Ignore:
Timestamp:
Aug 6, 2006, 1:43:13 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Qemu doc updated for SLES 10
  • creation of tar file with -p to preserve directory modes
  • mindi's version now handled correctly in svn2build
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/qemu-vm.txt

    r629 r753  
    1 Booting CD
     1#Booting CD
    22qemu-img create -f qcow image.qemu 3G
    33qemu -cdrom /dev/hdc -m 256 -boot d image.qemu
    44
    55# RPM based : urpmi, yum install, yast2
    6     neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man patch
     6urpmi neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget gvim/vim-X11 gcc-c++ docbook-utils-pdf ImageMagick man patch mindi mondo
    77
    88# gentoo
    9 Cf: http://wiki.xensource.com/xenwiki/QEMUGentoo
     9#Cf: http://wiki.xensource.com/xenwiki/QEMUGentoo
    1010emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue
    1111
    12 Changing CD during install:
     12#Changing CD during install:
    1313Ctrl-Alt-2
    1414eject cdrom
     
    1616change cdrom /dev/cdrom
    1717
    18 Boot single user pour change passwd root
    19 Clavier fr:
     18# Slack: put loadkeys fr in /etc/rc.d/rc.keymap
    2019
    21 loadkeys fr
    22 perl -pi -e 's/"us"/"fr"/' /etc/sysconfig/keyboard
    23 perl -pi -e 's/"us"/"fr"/' /etc/X11/XF86Config
    24 perl -pi -e 's/"us"/"fr"/' /etc/X11/xorg.conf
    25 Slack: put loadkeys fr in /etc/rc.d/rc.keymap
    26 
    27 Conf IP:
    28     Ajout machine dans DNS interne (/usr/local/etc/named/etc/db.mondo.*)
    29     Reload named
    30 
    31 Clé SSH:
    32     Ajout clé ssh pour root:
     20#Clé SSH:
     21#   Ajout clé ssh pour root:
    3322mkdir /root/.ssh
    3423chmod 700 /root/.ssh
     
    3625chmod 600 /root/.ssh/authorized_keys
    3726
    38 Install packages manquant pour mondo:
    39     afio buffer
    40 
    41 Créer compte bruno avec répertoires nécéssaires + env necessaire
     27#Créer compte bruno avec répertoires nécéssaires + env necessaire
    4228mkdir /users
    4329useradd bruno -d /users/bruno
     
    6046chmod 700 ~/.ssh
    6147scp -p victoria2.home.musique-ancienne.org:.ssh/id'*' ~/.ssh
     48# Passwd asked above
    6249cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
    6350chmod 600 ~/.ssh/authorized_keys
     
    6855EOF
    6956
    70 rebuild paquets necessaires mondo:
     57#rebuild paquets necessaires mondo:
    7158wget ftp://ftp.mondorescue.org/src/afio-2.4.7-1.src.rpm
    7259wget ftp://ftp.mondorescue.org/src/buffer-1.19-1.src.rpm
    7360rpm -ivh afio-2.4.7-1.src.rpm buffer-1.19-1.src.rpm
    74 mkdir -p build/BUILD build/RPMS/i386
     61mkdir -p build/BUILD build/RPMS/i386 build/SRPMS
    7562rpmbuild -ba build/SPECS/afio.spec
    7663rpmbuild -ba build/SPECS/buffer.spec
    7764chmod 644 build/RPMS/i386/*
    78 scp -p build/RPMS/i386/afio-[0-9]* build/RPMS/i386/buffer-[0-9]* ftp.mondorescue.org:/mondo/ftp/rhel/3/
     65scp -p build/RPMS/i?86/afio-[0-9]* build/RPMS/i?86/buffer-[0-9]* ftp.mondorescue.org:/mondo/ftp/rhel/3/
    7966
    8067
    8168root:
    82 rpm -ivh ~bruno/RPMS/RPMS/i386/afio-[0-9]* ~bruno/RPMS/RPMS/i386/buffer-[0-9]*
     69rpm -ivh ~bruno/build/RPMS/i?86/afio-[0-9]* ~bruno/build/RPMS/i?86/buffer-[0-9]*
     70# In case
     71scp bruno@10.0.2.2:/usr/bin/man2dvi /usr/local/bin
    8372
    84 pour gentoo
     73#for gentoo
    8574chown bruno /etc/make.conf
    8675bruno in portage group
Note: See TracChangeset for help on using the changeset viewer.