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

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

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

  • @aryangupta7414
    @aryangupta7414 4 года назад +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 3 года назад +1

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

  • @missraa.g
    @missraa.g 19 дней назад

    Thank you for the video. Where can we get/download these AppStream and BaseOS folders ?

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

    Thank you bro finally done 🙌🙌

  • @cliqsnap6857
    @cliqsnap6857 3 года назад +2

    thanqqqq sir...its working...TYSM

  • @azharuddin1st
    @azharuddin1st 5 месяцев назад +1

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

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

    thanks, your video really helped me

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

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

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

      Thanks Srikanth. Stay tune for more videos and courses.

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

    Thank u so much bro i got it

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

      Welcome 👍

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

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

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

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

    • @TechArkit
      @TechArkit  Год назад +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.

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

    Thanks for your sharing video .

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

      Thanks for watching

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

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

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

    Thank you very much sir

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

      Thank you for watching.

  • @spollard7227
    @spollard7227 Год назад +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  Год назад +1

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

  • @ashishgupta3788
    @ashishgupta3788 2 года назад +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

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

      first add license rpm --import

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

      @@TechArkit sure Sire...will try 👍

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

    thank you sir

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

      All the best

    • @arijitghosh5739
      @arijitghosh5739 2 года назад

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

  • @Irfan-ju6dj
    @Irfan-ju6dj 2 года назад +1

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

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

      No any name you can use.

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

    Good video !

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

      Thanks for the visit

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

    Great video 👍

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

      Thanks

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

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

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

      @@desidudevlogs3121 Okay, will do one.

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

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

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

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

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

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

    • @johnpittmangibson2885
      @johnpittmangibson2885 Год назад

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

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

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

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

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

  • @ashishgupta3788
    @ashishgupta3788 3 года назад +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  3 года назад +2

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

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

      @@TechArkit Okay Sir.
      Thank You 👍👍

  • @Sohailkhan-we1qd
    @Sohailkhan-we1qd 3 года назад +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  3 года назад +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 3 года назад +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  3 года назад +1

      @@Sohailkhan-we1qd yes aravikumar48@gmail.com

    • @Sohailkhan-we1qd
      @Sohailkhan-we1qd 3 года назад

      @@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.

  • @galliharish2066
    @galliharish2066 5 лет назад +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  5 лет назад +1

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

  • @JoseAntonio-sn6sf
    @JoseAntonio-sn6sf 3 года назад +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  3 года назад +1

      Use EPEL or Local Yum repo to install Ansible.

  • @sandeepsinghnegi9220
    @sandeepsinghnegi9220 4 года назад +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  4 года назад +1

      You do not have enough space in /opt partition

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

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

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

    Thanks

  • @ZestyGal_finds
    @ZestyGal_finds Год назад +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  Год назад +1

      You have to mount the ISO file in /mnt

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

    👍🏼

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

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

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

      run
      yum clean all
      and try again

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

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

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

      @@kogulakannangajendran1814 Good. keep it up.

  • @iragubenko4815
    @iragubenko4815 4 года назад +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  4 года назад +2

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

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

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

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

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

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

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

    • @johnny-mnemonic13
      @johnny-mnemonic13 3 года назад

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

  • @gautamsehgal7730
    @gautamsehgal7730 4 года назад +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  4 года назад +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 4 года назад +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  4 года назад +1

      @@gautamsehgal7730 Excellent.

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

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

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

      RHEL 9 method is changed.

    • @marxamirtharaj
      @marxamirtharaj Год назад

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

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

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

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

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

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

      @@TechArkit Yes. Thank you :)

  • @rizwanpathan6512
    @rizwanpathan6512 3 года назад +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  3 года назад +1

      post me the output of yum repolist here.

    • @rizwanpathan6512
      @rizwanpathan6512 3 года назад +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 3 года назад +1

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

  • @catchmeifyoucan_2024
    @catchmeifyoucan_2024 3 года назад +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  3 года назад +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 3 года назад +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 3 года назад

      ​@@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 3 года назад

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

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

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

  • @debbiecowles4539
    @debbiecowles4539 4 года назад +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  4 года назад +1

      FTP Server Installation Guide: ruclips.net/video/62xfSWBXBxU/видео.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 4 года назад

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

    • @debbiecowles4539
      @debbiecowles4539 4 года назад +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  4 года назад +1

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

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

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

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

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

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

      @@TechArkit Thank you for your reply

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

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

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

      yum install php-7.1 -y

  • @davidpanchal3760
    @davidpanchal3760 3 года назад +2

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

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

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

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

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

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

      Thank you

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

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

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

      Marcel Lans bro please send me the rhcsa 8 exam objectives

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

      @@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

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

    I cannot find any files in mnt folder :(

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

      You have to mount the CD/DVD ISO file.

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

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

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

      I will but now there are no batches scheduled

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

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

    • @TechArkit
      @TechArkit  4 года назад +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

  • @anindyabhattacharya4878
    @anindyabhattacharya4878 4 года назад +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  4 года назад +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 4 года назад +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 3 года назад

      @@anindyabhattacharya4878 copy 1 by 1

  • @SanjayVerma-sr7mg
    @SanjayVerma-sr7mg 4 года назад +1

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

    • @TechArkit
      @TechArkit  4 года назад +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 3 года назад +1

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

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

      Sorry to hear that

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

    not work error is coming

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

      Check your repo config properly, any spelling mistakes.

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

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

    • @TechArkit
      @TechArkit  4 года назад +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 Год назад +1

    Not good understanding keep try totally rubbish

    • @TechArkit
      @TechArkit  Год назад +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 4 года назад +1

    Video quality is very bad

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

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

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

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

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

      There is another video in same channel.

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

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

  • @ameygirkar5237
    @ameygirkar5237 4 года назад +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  4 года назад +1

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

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

      @@TechArkit can you make a video on this