spirit posteets tagged yum

 

  • 3 years ago
    1. ssh root@remote.host “rpm -qa” | xargs yum -y install
  • 8 years ago
    // APT: Ajouter la ligne suivante dans /etc/apt/apt.conf.d/70debconf
    Acquire::http::Proxy "http://192.168.1.1:80";
    (éventuellement http://login:passwd@192.168.1.1:8080)
    
    // YUM: deux solutions:
    - export http_proxy=http://192.168.1.1:8080
    (éventuellement http_proxy=http://login:passwd@192.168.1.1:8080)
    - [ou] Editer le fichier /etc/yum.conf et rajouter proxy=http://192.168.1.1:8080
    (éventuellement aussi proxy_username=userxxx et proxy_password=passxxx)
  • 8 years ago
    1. # /etc/yum.repos.d/FC6.repo
    2. [fc6-base]
    3. name=Fedora Core 6 Updates
    4. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$basearch
    5. enabled=0
    6. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    7. gpgcheck=0
    8. [fc6-updates]
    9. name=Fedora Core 6 Updates
    10. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$basearch
    11. enabled=0
    12. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    13. gpgcheck=0
    14. [fc6-extras]
    15. name=Fedora Core 6 Extras
    16. mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=$basearch
    17. enabled=0
    18. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    19. gpgcheck=0
    20. # ————————————————–
    21. yum install package_name —enablerepo=fc6*

    “yum” related tags

    spirit’s tags