How to Create Local Yum Repo on CentOS 7

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 20

  • @yani.e
    @yani.e 3 ปีที่แล้ว +1

    You’re awesome homez!!! You saved me an hour of headache…

    • @lazyadmin3760
      @lazyadmin3760  3 ปีที่แล้ว

      Glad you have liked the video

  • @juanotecruz
    @juanotecruz 4 ปีที่แล้ว +1

    thank you LazyAdmin great video!!!!!!

  • @1989Michelito
    @1989Michelito 2 ปีที่แล้ว +1

    I would like to add epel repository also , i'm wondering how I can add this , I imagine I have to create another folder for example epel but my question is : do I have to download epel packages to a folder "epel" or I have this in the folder "extras " ?

    • @lazyadmin3760
      @lazyadmin3760  2 ปีที่แล้ว

      Yes you have to download epel packages and reference them

  • @arkanjo7509
    @arkanjo7509 3 ปีที่แล้ว +2

    thanks

  • @samiulhaqmalik7591
    @samiulhaqmalik7591 2 ปีที่แล้ว

    Hello,
    How to Verify that this package can be installed from your repo?

  • @amrelkhedewy
    @amrelkhedewy 2 ปีที่แล้ว +1

    Hello
    How to add remi repository on the server?
    And how could i install package on the client side from specific repo
    For Example:
    I need to install php72 which located in remi repo..how this could be done on the client side?

    • @lazyadmin3760
      @lazyadmin3760  2 ปีที่แล้ว

      # nano /etc/yum.repos.d/remi.repo
      Set the enabled field to 1
      [remi]
      name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
      #baseurl=rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
      mirrorlist=rpms.famillecollet.com/enterprise/$releasever/remi/mirror
      enabled=1
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
      failovermethod=priority
      [remi-test]
      name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch
      #baseurl=rpms.famillecollet.com/enterprise/$releasever/test/$basearch/
      mirrorlist=rpms.famillecollet.com/enterprise/$releasever/test/mirror
      enabled=1
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

  • @TheRetroReflections
    @TheRetroReflections 3 ปีที่แล้ว

    I have created a folder called packages In /var/www/html/ and copied some .rpm packages to it. Then changed selinux context to httpd_sys_content_t.
    Also added http in firewall.
    On the client machine I created a repo file "new.repo" in /etc/yum.repos.d/
    The repo file contains
    [new]
    name = newrepo
    enabled = 1
    gpgcheck = 0
    baseurl= 192.168.10.54/Packages/
    Then I cleaned the yum cache using
    Yum clean all
    And then I tried to list repos using
    Yum repolist all
    But it says the repo file is disabled.
    I tried everything but it's still disabled
    Please help

  • @ahmedjarral8923
    @ahmedjarral8923 3 ปีที่แล้ว

    hey lazy admin... why we do gpgcheck= 0 can you tell me... i am sorta new to this thing..

    • @lazyadmin3760
      @lazyadmin3760  3 ปีที่แล้ว +1

      Gpgcheck is to verify they signatures if they are signed or not setting it 0 meand do not check or verify the digital signatures

    • @ahmedjarral8923
      @ahmedjarral8923 3 ปีที่แล้ว

      @@lazyadmin3760 when i am installing the pakages for updates after 800 they just fails.. i dont know why.. :(

  • @salmanzafar1949
    @salmanzafar1949 3 ปีที่แล้ว

    you are best , what best time to talk to you.

  • @senghimeith9780
    @senghimeith9780 3 ปีที่แล้ว

    Your screen is smallest