phil0805  [ Profile ]

Sort by: Date / Title /

  1. 1 month ago
    --Mounting the CD/DVD-- 
    #mount -t iso9660 /dev/cdrom /media/cdrom (adapt this to your environement)
    
    --Mounting the ISO image-- 
    #mount -o loop /path/to/file.iso  /path/to/isodest (adapt this to your environement)
    
    -- Using the command 'createrepo' to create the repository --
    Note : You will need to download the package 'createrepo' in order to be able to create the repository (look at http://dag.wieers.com/rpm/packages/createrepo/).
    
    Change to directory where you can list the content of the DVD :
    #cd /media/cdrom
    #createrepo .  (it should take some time)
    #yum clean all 
    
    --Create a new .repo file--
    #cd /etc/yum.repo.d/
    In this directory using your prefered text editor create a new file .repo :
    #vim rhel5_dvd.repo
    And the file should look like this :
    
    [rhel5_dvd]
    name=DVD Redhat Enterprise Linux 5
    baseurl=file:///media/cdrom/
    enabled=1
    gpgcheck=0
  2. 1 year ago and saved by 1 other
    If you have the boot loader Grub :
    1. Start the machine and wait until the bootloader screen appears
    2. Select the operating system and type E for edit
    3. Select kernel and type E for edit
    4. Select boot and add runlevel 1 to the end of the line
    5. Press Enter and then B for boot
    6. After booting the kernel, use passwd to change the password
    7. Reboot the PC and use the new root password
    
    If you have the boot loader lilo :
    1. Start the machine and wait until the bootloader screen appears
    2. Type linux single to enter single user mode
    3. After booting the kernel, use passwd to change the password
    4. Reboot the PC and use the new root password
  3. 1 year ago and saved by 2 others
    1. # Prérequis: Linux 2.6 avec package bridge-utils
    2.  
    3. ifconfig eth0 0.0.0.0 promisc
    4. ifconfig eth1 0.0.0.0 promisc
    5.  
    6. brctl addbr bridge1
    7. brctl addif bridge1 eth0
    8. brctl addif bridge1 eth1
    9.  
    10. # Si communication avec routeur cisco
    11. brctl sethello bridge1 1
    12. brctl setfd bridge1 4
    13.  
    14. # Donner une adresse Ip au bridge
    15. ifconfig bridge1 @IP netmask @Mask
    16.  
    17. # Supprimer un bridge
    18. brctl delbr bridge1
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)