YUM Repo Setup | RHEL 8 | AppStream & BaseOS YUM Repository | Tech Arkit

Sdílet
Vložit
  • čas přidán 9. 09. 2024
  • Yum is the Red Hat package manager that is able to query information about available packages, fetch packages from configured repositories, install and uninstall them, and update an entire system to the latest available version. Yum performs automatic dependency resolution on packages you are updating, installing, or removing, and thus is able to automatically determine, fetch, and install all available dependent packages. In this article YUM ( YellowDog Updater Module ) Local installation and configuration step by step guide.
    #rhel8 #yum #appstream #baseos
    CZcams PlayLists
    RHCE: goo.gl/LGTmDK
    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
    Github: github.com/tec...
    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
    Google Plus: bit.ly/gplusark | goo.gl/79zwX9
    Whatsapp Group: bit.ly/wappg
    Telegram Group: bit.ly/linux-te...
    AWS Free Tier Account: bit.ly/aws-free...

Komentáře • 151

  • @aryangupta7414
    @aryangupta7414 Před 4 lety +2

    Sir Thank yu for this video I am learning red hat form a few weeks but have been facing problems in installing despite my repo were configured properly but after this video i have sucessfull installed httpd.
    Thanks.

  • @meltonmajor
    @meltonmajor Před 3 lety +1

    I was searching for it and finally got it, tha k you

  • @srikanthbhaee9826
    @srikanthbhaee9826 Před 5 lety +1

    little bit new thing thanks for your knowledge sharing...........!!!!!!!!!

    • @TechArkit
      @TechArkit  Před 5 lety +1

      Thanks Srikanth. Stay tune for more videos and courses.

  • @sid828
    @sid828 Před 4 lety +2

    Thank you bro finally done 🙌🙌

  • @cliqsnap6857
    @cliqsnap6857 Před 3 lety +2

    thanqqqq sir...its working...TYSM

  • @harshanaladala1597
    @harshanaladala1597 Před rokem +1

    Thank u so much bro i got it

    • @TechArkit
      @TechArkit  Před rokem +1

      Welcome 👍

    • @harshanaladala1597
      @harshanaladala1597 Před rokem +1

      @@TechArkit most help full for me this one Al most I searched every where I didn't get any thing 😅😅

  • @waw150
    @waw150 Před 3 lety +1

    thanks, your video really helped me

  • @arijitghosh5739
    @arijitghosh5739 Před 2 lety +1

    thank you sir

    • @TechArkit
      @TechArkit  Před 2 lety +2

      All the best

    • @arijitghosh5739
      @arijitghosh5739 Před 2 lety

      @@TechArkit thank you soo much sir, tomorrow i was passed my RHCSA exam 😌thank you for your video sir 🔥❤️

  • @studyone7676
    @studyone7676 Před 4 lety +1

    Thanks for your sharing video .

  • @narenchaudhary1507
    @narenchaudhary1507 Před 4 lety +1

    Thank you very much sir

  • @maskawathlatifturzo3731
    @maskawathlatifturzo3731 Před 3 lety +1

    Good video !

  • @azharuddin1st
    @azharuddin1st Před 3 měsíci +1

    failed to download metadata 'BaseOS' ? what is the problem and solve this ................

  • @desidudevlogs3121
    @desidudevlogs3121 Před 4 lety +1

    Great video 👍

    • @TechArkit
      @TechArkit  Před 4 lety +2

      Thanks

    • @desidudevlogs3121
      @desidudevlogs3121 Před 4 lety +1

      Create video on slow server performance issues. Thanks in advance.

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@desidudevlogs3121 Okay, will do one.

  • @krishnak2359
    @krishnak2359 Před 11 měsíci +1

    Hi .. Its working fine on rhel 9 .If Possible , Kindly upload more vedio about repo configuration through http,ftp, nfs local path..

  • @rutujakonde236
    @rutujakonde236 Před 4 lety +1

    Thanks

  • @gbalajikav8868
    @gbalajikav8868 Před 4 lety +1

    👍🏼

  • @sagarsakta7227
    @sagarsakta7227 Před rokem +1

    Hi Sir, I am not having AppStream and BaseOS in my /mnt dir, how I can get these? I not able to install anything

    • @TechArkit
      @TechArkit  Před rokem +1

      If it is RHEL 8 or earlier version you will see those folders.

  • @ZestyGal_finds
    @ZestyGal_finds Před rokem +1

    Your great video made me appraise you for this. I've watched multiple videos and came across yours with no expectation. But I followed you steps and my issue with repository issue vanished while installing https but other application still cannot be installed still the same error.
    I cannot see any content on mnt its blank for me

    • @TechArkit
      @TechArkit  Před rokem +1

      You have to mount the ISO file in /mnt

  • @delix1992
    @delix1992 Před 3 lety +2

    Why the redhat 124 official book, not mentioned appstream and baseos? they are the tief

  • @JoseAntonio-sn6sf
    @JoseAntonio-sn6sf Před 3 lety +1

    There is no epel-release nor ansible in appstream & baseos, can't install ansible but the repo is added cause httpd can be installed, the message I got when yum install ansible is:
    Updating Subscription Management repositories.
    Unable to read consumer identity
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Last metadata expiration check: 0:43:44 ago on Tue 23 Feb 2021 02:34:30 AM EST.
    No match for argument: ansible
    Error: Unable to find a match: ansible

    • @TechArkit
      @TechArkit  Před 3 lety +1

      Use EPEL or Local Yum repo to install Ansible.

  • @kennethregalado2058
    @kennethregalado2058 Před rokem +1

    One question, can we just baseurl from the mounted folder? just to avoid copying the AppStream and BaseOS.

    • @TechArkit
      @TechArkit  Před rokem +1

      Yes, you can do that, thing is RPMs and .XML files should be available for the read then you can point any path to create repo.

  • @sandeepsinghnegi9220
    @sandeepsinghnegi9220 Před 4 lety +2

    Hello Arkit, Good evening. good video. Hope you have time for my question ?
    "
    Error Summary
    -------------
    Disk Requirements:
    At least 236MB more space needed on the /opt filesystem.
    " what i am trying to do is to install the google chrome, i have download the setup in Root/Downloads folder. Getting above error when trying to install the same. i have mounted my ISO file on /opt.

    • @TechArkit
      @TechArkit  Před 4 lety +1

      You do not have enough space in /opt partition

    • @ashishgupta3788
      @ashishgupta3788 Před 3 lety

      Can you pleaSe run --- yum clean all and rm -rf /tmp/*

  • @anjilkhadka7387
    @anjilkhadka7387 Před 3 lety +1

    I've done exactly what you did but still not showing in yum repolist!!! What should i do

    • @TechArkit
      @TechArkit  Před 3 lety +1

      What is the error message your getting can you please post here.

  • @ashishgupta3788
    @ashishgupta3788 Před 2 lety +1

    Hello Sir,
    Configured yum via FTP in rhel 8.
    Unregister Subscription because of defaults yum packages.
    some packages am getting an error while installing from yum
    eg. Httpd
    "no available metada for modular package"
    Please advise

  • @Irfan-ju6dj
    @Irfan-ju6dj Před 2 lety +1

    Thanks for the great explanation, is there any need to give (Appstream) and name = Appstream , is it compulsary?

  • @marxamirtharaj
    @marxamirtharaj Před rokem +1

    RPM-GPG-KEY-redhat-release not present in mnt directory of rhel 9

    • @TechArkit
      @TechArkit  Před rokem +1

      RHEL 9 method is changed.

    • @marxamirtharaj
      @marxamirtharaj Před rokem

      @@TechArkit yes bro I found the path overall thanks for your contribution. Works fine 👍👍👍

  • @johnpittmangibson2885
    @johnpittmangibson2885 Před rokem +1

    My mnt directory is empty. I am running a VM. RHEL 8.8.

    • @TechArkit
      @TechArkit  Před rokem +2

      You have to mount the DVD media to /mnt to get repository working

    • @johnpittmangibson2885
      @johnpittmangibson2885 Před rokem

      @@TechArkit Okay but I’m using VM and my laptop 💻 don’t have slot for dvd media.

  • @ashishgupta3788
    @ashishgupta3788 Před 3 lety +1

    What are exact meaning of Apstream ans baseOs?
    Why we have file;///rpms ? Why 3 slash??
    Yum wil install package from Apstream or BaseOs?

    • @TechArkit
      @TechArkit  Před 3 lety +2

      its a local file system that's why it need file:///

    • @ashishgupta3788
      @ashishgupta3788 Před 3 lety

      @@TechArkit Okay Sir.
      Thank You 👍👍

  • @galliharish2066
    @galliharish2066 Před 4 lety +1

    Hi I have followed your procedure to create a local repository in RHEL8 but when i execute the command "yum repolist" iam getting error "Failed to synchronize cache for repo 'AppStream' , ignoring this repo". Same is the error for BaseOS. How can I proceed?? Please let me know

    • @TechArkit
      @TechArkit  Před 4 lety +1

      I think .repo config as some mismatch in path provided or spelling mistakes in .repo file.

  • @Sohailkhan-we1qd
    @Sohailkhan-we1qd Před 3 lety +1

    I have saw in video already had a redhat.repo file, than you have created a two more repo files. I am not getting that and it's a confusing part of this video. Helpful, if you can provide insight me on this.
    Secondly, I tried same way, On yum clean all, it prompt me 0 files removed
    And on yum repolist no packages are showing just getting repo id and repo name. Can you please help on this as well.
    Love your work. Please keep going👌

    • @TechArkit
      @TechArkit  Před 3 lety +1

      Let me check. Please follow step by step what i was explaining in the video so that you will understand it correctly.

    • @Sohailkhan-we1qd
      @Sohailkhan-we1qd Před 3 lety +1

      @@TechArkit I had followed each step still stuck with the same output error. Can I get your mail id, so I can share screenshot with you?

    • @TechArkit
      @TechArkit  Před 3 lety +1

      @@Sohailkhan-we1qd yes aravikumar48@gmail.com

    • @Sohailkhan-we1qd
      @Sohailkhan-we1qd Před 3 lety

      @@TechArkit thanks for your help mate. It has been resolved one of my friend help me do it. Future reference, I am saving your mail.

  • @gokulc7043
    @gokulc7043 Před 2 lety +1

    I cannot find any files in mnt folder :(

    • @TechArkit
      @TechArkit  Před 2 lety +1

      You have to mount the CD/DVD ISO file.

  • @SHARK224
    @SHARK224 Před 2 lety +1

    I remove the redhat.repo accident in /etc/yum.repo.d How can i recover

    • @TechArkit
      @TechArkit  Před 2 lety +2

      No problem it will auto create when you reboot. You can create it manaully touch /etc/yum.repos.d/redhat.repo

    • @SHARK224
      @SHARK224 Před 2 lety +1

      @@TechArkit Thank you for your reply

  • @kogulakannangajendran1814

    Failed to synchronize cache for repo 'BaseOs', ignoring this repo. Appstream repo is working fine. I am getting this error, Pls help

    • @TechArkit
      @TechArkit  Před 4 lety +1

      run
      yum clean all
      and try again

    • @kogulakannangajendran1814
      @kogulakannangajendran1814 Před 4 lety +1

      @@TechArkit I made a typo error in repo config file. It is working now. Thanks!!!

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@kogulakannangajendran1814 Good. keep it up.

  • @leobelive
    @leobelive Před 4 lety +1

    I follow same procedure but I get error like a failed to download metadata for repo epel

    • @TechArkit
      @TechArkit  Před 4 lety +2

      check the config once again. i think your using repository which is looking for internet.
      cd /etc/yum.repos.d/
      mv * /opt/
      touch /etc/yum.repos.d/file.repo
      write the config and check

  • @vipu1212
    @vipu1212 Před 3 lety +1

    Cannot find both the folders in /mnt (in CentOS though). Any clue?

    • @TechArkit
      @TechArkit  Před 3 lety +2

      You have o mount ISO file to /mnt then only it is visible.

    • @vipu1212
      @vipu1212 Před 3 lety +1

      @@TechArkit Yes. Thank you :)

  • @debbiecowles4539
    @debbiecowles4539 Před 4 lety +1

    Dear Sir, Thank you for the educative videos. Please I am trying to set up a repo using vsftpd but I am stocked with Centos8, how can I set up FTP based repo for my lab??? Thank you in Advance

    • @TechArkit
      @TechArkit  Před 4 lety +1

      FTP Server Installation Guide: czcams.com/video/62xfSWBXBxU/video.html
      follow this steps:-
      YUM-Server: Install vsftpd packages and start ftp service
      YUM-Server: copy all the packages from DVD/ISO to /var/ftp/pub
      YUM-Client: vi /etc/yum.repos.d/ftp.repo
      [FTP-REpo]
      name=FTPTepo
      baseurl=ftp://YUM-SERVER-IP/
      enabled=1
      gpgcheck=0

    • @debbiecowles4539
      @debbiecowles4539 Před 4 lety

      Thank you sir, I am desperately in need for your reply

    • @debbiecowles4539
      @debbiecowles4539 Před 4 lety +1

      @@TechArkit Thank you sir, I successfully used this video to setup yum repo with centos 7 but is this going to work with Centos 8 with the AppStrean and BaseOS Packages?

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@debbiecowles4539 You can no need to configure if you have Internet however same config will work in Centos 8.

  • @davidpanchal3760
    @davidpanchal3760 Před 3 lety +2

    Bro not showing cd /mnt/ appstream N baseOS all files

  • @alchemyhere
    @alchemyhere Před 2 lety +1

    Thanku sir , sir can you say how to install php 7.1 using yum command

  • @gautamsehgal7730
    @gautamsehgal7730 Před 4 lety +1

    how to download yum packages in Virtual box.. I added the dvd drive and mounted it..now i use the same method to create local repo..then also I am not able to install any packages as it gives me error...Failed to download metadata for repo 'AppStream'
    Even if I run the command "yum repostlist" I still get the same error...please help

    • @TechArkit
      @TechArkit  Před 4 lety +1

      Yum repo is miss-configured. check yum repo config and correct it. If it is pointing to Online repo you have to have internet connection.

    • @gautamsehgal7730
      @gautamsehgal7730 Před 4 lety +1

      @@TechArkit it actually worked when i checked again the configuration of the local repo file.
      And i was not aware that in RHEL8 we need to copy both the directories in VM.
      Got to know from your video..thanks.
      I am able to install packages now.

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@gautamsehgal7730 Excellent.

  • @denvercrimson8866
    @denvercrimson8866 Před 3 lety +1

    I have a problem that 0 files removed is showing but you have 12 files removed

  • @rizwanpathan6512
    @rizwanpathan6512 Před 3 lety +1

    hey Arkit when i am doing yum repolist I dont see the status column i have rhel 8 please tell me what to do ?

    • @TechArkit
      @TechArkit  Před 3 lety +1

      post me the output of yum repolist here.

    • @rizwanpathan6512
      @rizwanpathan6512 Před 3 lety +1

      @@TechArkit sir the problem is in 8.0.0 version it shows the number in status
      While in 8.3.0 it's show enable in status column
      I got the solution

    • @rizwanpathan6512
      @rizwanpathan6512 Před 3 lety +1

      @@TechArkit I have one more issue that I have posted on telegram group please check that

  • @iragubenko4815
    @iragubenko4815 Před 4 lety +1

    Hey man thanks for the video i have a question in the exam the installation/source disk of the repository already mounted? Or do i have to insert it how does it work?

    • @TechArkit
      @TechArkit  Před 4 lety +2

      In Exam They will provide the appropriate server links you need to configure yum repository.

    • @iragubenko4815
      @iragubenko4815 Před 4 lety +1

      @@TechArkit do i have to create appstream with that link or just baseos

    • @iragubenko4815
      @iragubenko4815 Před 4 lety +1

      The same as in the video but instead of file use http?

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@iragubenko4815 If it sis RHEL 8 you need to create both.

    • @johnny-mnemonic13
      @johnny-mnemonic13 Před 3 lety

      Did you guys figure out how to create repo from http?

  • @catchmeifyoucan_2024
    @catchmeifyoucan_2024 Před 3 lety +1

    What about if we want to install package from the internet? How can we set up both offline and online repo simultaneously?

    • @TechArkit
      @TechArkit  Před 3 lety +1

      add multiple repo files under /etc/yum.repos.d/ based on requirement enable and disable the repos using yum command.

    • @catchmeifyoucan_2024
      @catchmeifyoucan_2024 Před 3 lety +1

      @@TechArkit can you make a video on this? I didn't find it in your playlist. FYI, I did RHCE on version 6 and things have changed drastically.

    • @ErsinGokay
      @ErsinGokay Před 3 lety

      ​@@catchmeifyoucan_2024 You can take advantage of the "priority plugin" where you can set priorities to the repos and the lower the priority value the higher the priority of that repo. You can set the "offline" repo as higher priority, online repo as lower priority and if the offline repo can't satisfy the yum need it fail and it will try the next priority repo. I hope this helps.

    • @catchmeifyoucan_2024
      @catchmeifyoucan_2024 Před 3 lety

      @@ErsinGokay is there any video tutorial or blog on it?

  • @anindyabhattacharya4878
    @anindyabhattacharya4878 Před 4 lety +3

    Getting an error -Repository "diskcontent" is missing name in configuration, using id
    Failed to synchronize for Repo "Appstreams", ignoring this repo
    Failed to synchronize for repo "BaseOS" ignoring this repo

    • @TechArkit
      @TechArkit  Před 4 lety +2

      Can you post the YUM Repo config file and where did you copy the ISO files.
      ls -ltr /etc/yum.repos.d/
      ls -ltr /CopiedRPMSpath/

    • @anindyabhattacharya4878
      @anindyabhattacharya4878 Před 4 lety +1

      @@TechArkit I am not able to paste content from VM, I have typed them.
      view /etc/yum.conf
      [main]
      gpgcheck=1
      installonly_limit= 3
      clear_requirements_on_remove=True
      best=True
      wc -l /etc/yum.conf
      5
      ---------------------------------------------------------------------
      ls -lrt /etc/yum.repos.d (only files name)
      all the below files have 644 perms
      CentOS-Vault.repo
      CentOS-Sources.repo
      CentOS-PowerTools.repo
      CentOS-Media.repo
      CentOS-fasttrack.repo
      CentOS-Extras.repo
      CentOS-Debuginfo.repo
      CentOS-CR.repo
      CentOS-centosplus.repo
      CentOS-Base.repo
      CentOS-Appstreme.repo
      BaseOS.repo (created this repo file)
      ----------------------------------------------------------------------
      vi Baseos.repo
      [diskcontent]
      Name = "BaseOS Repo"
      baseurls = file:///run/media/anindya/CentOS-8-BaseOS-x86_64/BaseOS/
      enabled =1
      ----------------------------------------------------------------------
      df -h
      /dev/src0 mounted on /run/media/anindya/CentOS-8-BaseOS-x86_64/
      ---------------------------------------------------------------------
      could not copy the BaseOS and Appstream into a single folder, it was taking huge time and system hung every time.

    • @ashishgupta3788
      @ashishgupta3788 Před 3 lety

      @@anindyabhattacharya4878 copy 1 by 1

  • @SanjayVerma-sr7mg
    @SanjayVerma-sr7mg Před 4 lety +1

    No need to make two different repo. U can put entry in a single repo file

    • @TechArkit
      @TechArkit  Před 4 lety +1

      Best practice is to creating separate repo files. Later point of time if you would like to troubleshoot repository issues its quiet difficult if in single file.

  • @sudhakartripathi6215
    @sudhakartripathi6215 Před 3 lety +1

    not able to understand your video..too fast..

  • @sudharsanyessian8210
    @sudharsanyessian8210 Před 3 lety +1

    R u taking any online class ??? So that I can attend it

    • @TechArkit
      @TechArkit  Před 3 lety +1

      I will but now there are no batches scheduled

  • @datta5188
    @datta5188 Před 5 lety +1

    I am preparing for rhcsa exam, I wants to know if Ldap, autofs are part of rhcsa rhel8 exam ?

    • @TechArkit
      @TechArkit  Před 5 lety +2

      Yes, LDAP is part of RHCSA and AutoFS is part of RHCE

    • @datta5188
      @datta5188 Před 5 lety

      Thank you

    • @marcellans8713
      @marcellans8713 Před 5 lety

      @@datta5188 It is actually NOT in RHCSA 8 (LDAP), read the Exam Objectives for that

    • @santhosh8623
      @santhosh8623 Před 4 lety

      Marcel Lans bro please send me the rhcsa 8 exam objectives

    • @marcellans8713
      @marcellans8713 Před 4 lety

      @@santhosh8623 search in Google for ex200v8k exam objectives. Redhat.com/en/services/training/ex200-red-hat-certified-system-administrator-rhcsa-exam if you see for example layered storage.... You found IT... In the create fa part

  • @hrfighter7980
    @hrfighter7980 Před 4 lety +1

    not work error is coming

    • @TechArkit
      @TechArkit  Před 4 lety +1

      Check your repo config properly, any spelling mistakes.

    • @hrfighter7980
      @hrfighter7980 Před 4 lety +1

      @@TechArkit appstream is not working on rhel 8 I configure ftp but I can't configure yum and yum.repo

    • @TechArkit
      @TechArkit  Před 4 lety +1

      @@hrfighter7980 You have to create yum repo file in client side. ftp://yum-serverip/appstream ftp://yum-serverip/baseos
      Server side: /var/ftp/pub/appstream /var/ftp/pub/baseos

  • @abhishekkumar-qe3hi
    @abhishekkumar-qe3hi Před rokem +1

    Not good understanding keep try totally rubbish

    • @TechArkit
      @TechArkit  Před rokem +1

      May i know what is subject is rubbish here?? i think you did noy understand the topic. See the video again in 2x speed.

  • @skjahangir4115
    @skjahangir4115 Před 4 lety +1

    Video quality is very bad

    • @TechArkit
      @TechArkit  Před 4 lety +1

      its may be your slow internet connection speed. Its full HD video as of now no complains about quality.

  • @anthonyscott2368
    @anthonyscott2368 Před 2 lety +1

    I know this video is old but can we use a webserver and make the URL HTTP://servername/repolocation?

    • @TechArkit
      @TechArkit  Před 2 lety +1

      There is another video in same channel.

  • @luvk421
    @luvk421 Před 2 lety +1

    I deleted /yum.repos.d/
    What do i do jow?

  • @ameygirkar5237
    @ameygirkar5237 Před 3 lety +1

    sir i am using vmware and not geting any appstream and baseos file in redhat 8
    my /mnt is empty
    please help me to resolve this problem

    • @TechArkit
      @TechArkit  Před 3 lety +1

      You have to mount ISO file or DVD media to the server and configure yum repo.

    • @hayatikevin7631
      @hayatikevin7631 Před 3 lety

      @@TechArkit can you make a video on this