YUM Repository Configuration RHEL 7 | RHCSA Certification #10 | Tech Arkit | EX200

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Yellowdog Updater, Modified - YUM Repository Configuration in RHEL 7 Step by Step Guide. In this video Session i have explained how to configure YUM repository using Installation DVD media content.
    #RHCSA #Linux #TechArkit
    Loaded plugins: product-id, subscription-manager
    This system is registered to Red Hat Subscription Management, but is not
    receiving updates. You can use subscription-manager to assign subscriptions.
    There are no enabled repos.
    Run "yum repolist all" to see the repos you have.
    You can enable repos with yum-config-manager --enable repo
    RUclips PlayLists
    Shell-Scripting: goo.gl/a1Hu3s
    Linux-Commands: goo.gl/QDoL7h
    RHCSA Certification: goo.gl/X2Ksqn
    Putty Software Tricks: goo.gl/MB1Do2
    Linux OS: goo.gl/62p8s9
    Follow Us on Social Media
    Telegram Group: goo.gl/KPvMda
    arkit.co.in/on...
    Reddit: bit.ly/redditark
    goo.gl/mcUvef
    Mailing List: bit.ly/feedburn...
    goo.gl/fb/WAU7JG
    Facebook: linuxarkit
    goo.gl/2QN4sD
    LinkedIn: bit.ly/linkedark
    goo.gl/ZLcikC
    Twitter: / aravikumar48

Комментарии • 53

  • @TechArkit
    @TechArkit  6 лет назад +1

    To Avoid Subscription Manager error in RHEL 7 do rpm --import then configure YUM. Install packages and Enjoy.

    • @SureshKumar-mp7jm
      @SureshKumar-mp7jm 4 года назад +1

      What is the key path .?

    • @TechArkit
      @TechArkit  4 года назад +2

      @@SureshKumar-mp7jm Its located in DVD/ISO file RPM-GPG-KEY

  • @fayazmohammad1391
    @fayazmohammad1391 Год назад +1

    thankyou soooo much sir

  • @parshuramkattimani2934
    @parshuramkattimani2934 3 года назад +1

    Superb video
    Make video on pwck cmd in rhel

  • @sbsekar
    @sbsekar 6 лет назад +3

    Bro good video
    kindly make font little bit bigger so we can watch over phone

    • @TechArkit
      @TechArkit  6 лет назад +1

      Thanks for your Feedback Chandra Sekar. will do that.

  • @asdaqamin
    @asdaqamin 6 лет назад +1

    Dear Tech Arkit,
    I used Yum without createrepo command & copy to /rpms. I just make the file repo config file for /mnt & get the same repo.
    So why most of the guides used createrepo command. Simply I dont understand yet.

    • @TechArkit
      @TechArkit  6 лет назад +2

      By Default installation media comes with pre-created repository in CD/DVD/ISO. So no need to create repo again.

  • @subbarayuduburri7374
    @subbarayuduburri7374 4 года назад +1

    I am download rhel 7.7 version from the Reshat web site and install that OS on physical machine after that I am checking yum repolist it is showing the status 0.

    • @TechArkit
      @TechArkit  4 года назад +1

      Of-course because you need to configure YUM repository using DVD media or install EPEL rpm for EPEL repository.

    • @subbarayuduburri7374
      @subbarayuduburri7374 4 года назад +2

      I am using DVD media here my problem is I don't want create local repo I just want download packages from online I mean through Redhat .

    • @subbarayuduburri7374
      @subbarayuduburri7374 4 года назад +1

      @@TechArkit And I am alredy subscribed in Redhat but I tried to install package it is not installed and I tried to subscribe to go to Application - system tools - Redhat Subscription manager and try register it is display message like Unable to reach the server at subscription.rhsm.redhat.com:443/subscription what is the problem of this one can u please reply for this .

    • @TechArkit
      @TechArkit  4 года назад +1

      @@subbarayuduburri7374 Do you have internet connectivity to your Linux server, please verify. It looks like you do not have internet access.

  • @prasannanayak5454
    @prasannanayak5454 5 лет назад +2

    Hi Tech Arkit!
    After vi /etc/yum.repos.d/rhel7.repo ..
    Yum repolist shows error
    Error is-- file contains parsing errors: file:///etc/yum.repos.d/file.repo
    [Line 7]. Like this.
    Please reply.I'm stuck with it.

    • @TechArkit
      @TechArkit  5 лет назад +1

      you should provide file path as RPMs data

    • @prasannanayak5454
      @prasannanayak5454 5 лет назад +1

      @@TechArkit ya now it's done. Thank u soooo muchhh.

    • @TechArkit
      @TechArkit  5 лет назад +2

      Good Job

  • @xcode7938
    @xcode7938 4 года назад +1

    I gave cd /run/media/root/ tab, but it does not display rhel. I don't know why

    • @TechArkit
      @TechArkit  4 года назад +1

      When CD/DVD media auto mounted then only it will show there, otherwise you have mount manually. mount /dev/sr0 /media

    • @xcode7938
      @xcode7938 4 года назад

      @@TechArkit thank you, but it seem I had given the cd in auto detect, then I gave the location of iso image and it was all sotried out. I was able to find the solution the next day. Just wanted to say thanks.

  • @anilreddylakkireddy9451
    @anilreddylakkireddy9451 6 лет назад +2

    Hi, I followed the same steps done by you in this video but still it's not working. Error: cannot find a valid baseurl for repo. Pls help me

    • @TechArkit
      @TechArkit  6 лет назад +2

      Can you post me the steps what you have done. You have to mount the ISO file to /mnt and create file.repo file in /etc/yum.repos.d/ and check for yum repolist. That's it.

    • @naveenn62
      @naveenn62 5 лет назад +2

      You can try it via FTP as well , worked for me.
      Install vsftpd and it's dependency deltarpm , then enable service.

  • @pinkiethebat8200
    @pinkiethebat8200 3 года назад +1

    When trying to mount repository, I get this error:
    "error: open of createrepo failed: No such file or directory"

    • @TechArkit
      @TechArkit  3 года назад +1

      Please check your ISO is attached to the VM.

  • @kshitizsrivastava9410
    @kshitizsrivastava9410 3 года назад +1

    Solved

  • @reshmamahapatro4508
    @reshmamahapatro4508 5 лет назад +1

    what will the output if i put gpgcheck=0 ?

    • @TechArkit
      @TechArkit  5 лет назад +1

      gpgcheck=0 means it wont check for key file.

  • @tarunbhatia8652
    @tarunbhatia8652 5 лет назад

    how are you able to create anything under mnt ? mine is giving error with root

    • @TechArkit
      @TechArkit  5 лет назад

      You can create sub directories under /mnt and mount each path to each mount point.

  • @techsudo5170
    @techsudo5170 3 года назад +1

    Question, does this also apply if I'm using Satellite server?

    • @TechArkit
      @TechArkit  3 года назад +1

      Nope, Satellite server has its own URL.

  • @robjohnson8522
    @robjohnson8522 3 года назад +1

    AS I read all the comments here it becomes obvious that yum is one of the worst tools ever put in Linux and it needs serious work to be a contender. I see many people here who are getting errors like mine yet the conf file does not contain any of the repositories that are causing problems. What a piece of crap "tool"! Tools are supposed to make your life easier not spend two days trying to figure out why the tool does not work.

    • @TechArkit
      @TechArkit  3 года назад +1

      its not that complex, if you simply follow this video do not do any extra steps it will work in 10 minutes.

    • @robjohnson8522
      @robjohnson8522 3 года назад

      Clearly, you did not read my whole comment.

  • @pranavjoshi5961
    @pranavjoshi5961 4 года назад +1

    Sir Ivh or Uvh main kya fark hai ??

    • @TechArkit
      @TechArkit  4 года назад +1

      ivh is for installing. Uvh is for Updating the packages. i = install, U = Update.

  • @sebastianolender3475
    @sebastianolender3475 4 года назад +1

    Hey Man, this is totally not working for RHEL. I believe you did it on CentOS.

    • @TechArkit
      @TechArkit  4 года назад +1

      May i know what is the error/issue your getting, I will help you out. 100% it should work in RHEL.

  • @Alberto4178-t7f
    @Alberto4178-t7f 5 лет назад +1

    hi tech Arkit , thank for the video , please at the exam if they don't provide the gpgkey how should i do ? and about the network configuration i use nmcli : nmcli connection add con-name tech Arkit ifname type ethernet ip4 172.0000 gw4 174.0000
    and : nmcli connection modify tech Arkit ipv4.dns , and nmcli con up Arkit , please can help me a have a rhcsa next week and thank you again god bless you

    • @TechArkit
      @TechArkit  5 лет назад +1

      if they don't provide gpgkey keep it disabled. gpgkey=0.

    • @Alberto4178-t7f
      @Alberto4178-t7f 5 лет назад +1

      @@TechArkit and I need to enabled it ?

    • @TechArkit
      @TechArkit  5 лет назад +1

      @@Alberto4178-t7f No disable gpgkey in case they did not mention in the question.

  • @nandhinisakrapani3364
    @nandhinisakrapani3364 2 года назад +1

    Totally confused 😕

    • @TechArkit
      @TechArkit  Год назад +1

      What is the confustion>