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

  Рет қаралды 60,335

Tech Arkit

Tech Arkit

Күн бұрын

Пікірлер: 152
@aryangupta7414
@aryangupta7414 4 жыл бұрын
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.
@TechArkit
@TechArkit 4 жыл бұрын
Nice to hear.
@meltonmajor
@meltonmajor 3 жыл бұрын
I was searching for it and finally got it, tha k you
@TechArkit
@TechArkit 3 жыл бұрын
Excellent
@missraa.g
@missraa.g 27 күн бұрын
Thank you for the video. Where can we get/download these AppStream and BaseOS folders ?
@johnpittmangibson2885
@johnpittmangibson2885 Жыл бұрын
My mnt directory is empty. I am running a VM. RHEL 8.8.
@TechArkit
@TechArkit Жыл бұрын
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.
@kennethregalado2058
@kennethregalado2058 Жыл бұрын
One question, can we just baseurl from the mounted folder? just to avoid copying the AppStream and BaseOS.
@TechArkit
@TechArkit Жыл бұрын
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.
@srikanthbhaee9826
@srikanthbhaee9826 5 жыл бұрын
little bit new thing thanks for your knowledge sharing...........!!!!!!!!!
@TechArkit
@TechArkit 5 жыл бұрын
Thanks Srikanth. Stay tune for more videos and courses.
@delix1992
@delix1992 4 жыл бұрын
Why the redhat 124 official book, not mentioned appstream and baseos? they are the tief
@TechArkit
@TechArkit 4 жыл бұрын
Not Sure.
@cliqsnap6857
@cliqsnap6857 3 жыл бұрын
thanqqqq sir...its working...TYSM
@TechArkit
@TechArkit 3 жыл бұрын
Welcome 👍
@sid828
@sid828 4 жыл бұрын
Thank you bro finally done 🙌🙌
@TechArkit
@TechArkit 4 жыл бұрын
Excellent job.
@anjilkhadka7387
@anjilkhadka7387 3 жыл бұрын
I've done exactly what you did but still not showing in yum repolist!!! What should i do
@TechArkit
@TechArkit 3 жыл бұрын
What is the error message your getting can you please post here.
@waw150
@waw150 3 жыл бұрын
thanks, your video really helped me
@TechArkit
@TechArkit 3 жыл бұрын
Awesome
@ashishgupta3788
@ashishgupta3788 2 жыл бұрын
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 жыл бұрын
first add license rpm --import
@ashishgupta3788
@ashishgupta3788 2 жыл бұрын
@@TechArkit sure Sire...will try 👍
@harshanaladala1597
@harshanaladala1597 Жыл бұрын
Thank u so much bro i got it
@TechArkit
@TechArkit Жыл бұрын
Welcome 👍
@harshanaladala1597
@harshanaladala1597 Жыл бұрын
@@TechArkit most help full for me this one Al most I searched every where I didn't get any thing 😅😅
@spollard7227
@spollard7227 Жыл бұрын
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 Жыл бұрын
If it is RHEL 8 or earlier version you will see those folders.
@gokulc7043
@gokulc7043 3 жыл бұрын
I cannot find any files in mnt folder :(
@TechArkit
@TechArkit 3 жыл бұрын
You have to mount the CD/DVD ISO file.
@vipu1212
@vipu1212 3 жыл бұрын
Cannot find both the folders in /mnt (in CentOS though). Any clue?
@TechArkit
@TechArkit 3 жыл бұрын
You have o mount ISO file to /mnt then only it is visible.
@vipu1212
@vipu1212 3 жыл бұрын
@@TechArkit Yes. Thank you :)
@SHARK224
@SHARK224 3 жыл бұрын
I remove the redhat.repo accident in /etc/yum.repo.d How can i recover
@TechArkit
@TechArkit 3 жыл бұрын
No problem it will auto create when you reboot. You can create it manaully touch /etc/yum.repos.d/redhat.repo
@SHARK224
@SHARK224 3 жыл бұрын
@@TechArkit Thank you for your reply
@Irfan-ju6dj
@Irfan-ju6dj 2 жыл бұрын
Thanks for the great explanation, is there any need to give (Appstream) and name = Appstream , is it compulsary?
@TechArkit
@TechArkit 2 жыл бұрын
No any name you can use.
@rizwanpathan6512
@rizwanpathan6512 3 жыл бұрын
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 жыл бұрын
post me the output of yum repolist here.
@rizwanpathan6512
@rizwanpathan6512 3 жыл бұрын
@@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 жыл бұрын
@@TechArkit I have one more issue that I have posted on telegram group please check that
@studyone7676
@studyone7676 4 жыл бұрын
Thanks for your sharing video .
@TechArkit
@TechArkit 4 жыл бұрын
Thanks for watching
@marxamirtharaj
@marxamirtharaj Жыл бұрын
RPM-GPG-KEY-redhat-release not present in mnt directory of rhel 9
@TechArkit
@TechArkit Жыл бұрын
RHEL 9 method is changed.
@marxamirtharaj
@marxamirtharaj Жыл бұрын
@@TechArkit yes bro I found the path overall thanks for your contribution. Works fine 👍👍👍
@ashishgupta3788
@ashishgupta3788 3 жыл бұрын
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 жыл бұрын
its a local file system that's why it need file:///
@ashishgupta3788
@ashishgupta3788 3 жыл бұрын
@@TechArkit Okay Sir. Thank You 👍👍
@arijitghosh5739
@arijitghosh5739 2 жыл бұрын
thank you sir
@TechArkit
@TechArkit 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 🔥❤️
@narenchaudhary1507
@narenchaudhary1507 4 жыл бұрын
Thank you very much sir
@TechArkit
@TechArkit 4 жыл бұрын
Thank you for watching.
@krishnak2359
@krishnak2359 Жыл бұрын
Hi .. Its working fine on rhel 9 .If Possible , Kindly upload more vedio about repo configuration through http,ftp, nfs local path..
@TechArkit
@TechArkit Жыл бұрын
Okay
@kogulakannangajendran1814
@kogulakannangajendran1814 4 жыл бұрын
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 жыл бұрын
run yum clean all and try again
@kogulakannangajendran1814
@kogulakannangajendran1814 4 жыл бұрын
@@TechArkit I made a typo error in repo config file. It is working now. Thanks!!!
@TechArkit
@TechArkit 4 жыл бұрын
@@kogulakannangajendran1814 Good. keep it up.
@denvercrimson8866
@denvercrimson8866 3 жыл бұрын
I have a problem that 0 files removed is showing but you have 12 files removed
@TechArkit
@TechArkit 3 жыл бұрын
it depends
@denvercrimson8866
@denvercrimson8866 3 жыл бұрын
@@TechArkit later it shows some error during the command yum install app
@denvercrimson8866
@denvercrimson8866 3 жыл бұрын
It can't load appstream
@desidudevlogs3121
@desidudevlogs3121 4 жыл бұрын
Great video 👍
@TechArkit
@TechArkit 4 жыл бұрын
Thanks
@desidudevlogs3121
@desidudevlogs3121 4 жыл бұрын
Create video on slow server performance issues. Thanks in advance.
@TechArkit
@TechArkit 4 жыл бұрын
@@desidudevlogs3121 Okay, will do one.
@sandeepsinghnegi9220
@sandeepsinghnegi9220 4 жыл бұрын
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 жыл бұрын
You do not have enough space in /opt partition
@ashishgupta3788
@ashishgupta3788 3 жыл бұрын
Can you pleaSe run --- yum clean all and rm -rf /tmp/*
@JoseAntonio-sn6sf
@JoseAntonio-sn6sf 3 жыл бұрын
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 жыл бұрын
Use EPEL or Local Yum repo to install Ansible.
@davidpanchal3760
@davidpanchal3760 3 жыл бұрын
Bro not showing cd /mnt/ appstream N baseOS all files
@TechArkit
@TechArkit 3 жыл бұрын
You have to DVD media iso file
@davidpanchal3760
@davidpanchal3760 3 жыл бұрын
@@TechArkit okay
@alchemyhere
@alchemyhere 2 жыл бұрын
Thanku sir , sir can you say how to install php 7.1 using yum command
@TechArkit
@TechArkit 2 жыл бұрын
yum install php-7.1 -y
@maskawathlatifturzo3731
@maskawathlatifturzo3731 3 жыл бұрын
Good video !
@TechArkit
@TechArkit 3 жыл бұрын
Thanks for the visit
@galliharish2066
@galliharish2066 5 жыл бұрын
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 жыл бұрын
I think .repo config as some mismatch in path provided or spelling mistakes in .repo file.
@Sohailkhan-we1qd
@Sohailkhan-we1qd 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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.
@ameygirkar5237
@ameygirkar5237 4 жыл бұрын
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 жыл бұрын
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
@ZestyGal_finds
@ZestyGal_finds Жыл бұрын
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 Жыл бұрын
You have to mount the ISO file in /mnt
@gautamsehgal7730
@gautamsehgal7730 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@gautamsehgal7730 Excellent.
@leobelive
@leobelive 4 жыл бұрын
I follow same procedure but I get error like a failed to download metadata for repo epel
@TechArkit
@TechArkit 4 жыл бұрын
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
@catchmeifyoucan_2024
@catchmeifyoucan_2024 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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?
@iragubenko4815
@iragubenko4815 4 жыл бұрын
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 жыл бұрын
In Exam They will provide the appropriate server links you need to configure yum repository.
@iragubenko4815
@iragubenko4815 4 жыл бұрын
@@TechArkit do i have to create appstream with that link or just baseos
@iragubenko4815
@iragubenko4815 4 жыл бұрын
The same as in the video but instead of file use http?
@TechArkit
@TechArkit 4 жыл бұрын
@@iragubenko4815 If it sis RHEL 8 you need to create both.
@johnny-mnemonic13
@johnny-mnemonic13 4 жыл бұрын
Did you guys figure out how to create repo from http?
@rutujakonde236
@rutujakonde236 4 жыл бұрын
Thanks
@TechArkit
@TechArkit 4 жыл бұрын
Thanks you to.
@debbiecowles4539
@debbiecowles4539 4 жыл бұрын
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 жыл бұрын
FTP Server Installation Guide: kzbin.info/www/bejne/bGPbl4aNd711rrc 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 жыл бұрын
@@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 жыл бұрын
@@debbiecowles4539 You can no need to configure if you have Internet however same config will work in Centos 8.
@datta5188
@datta5188 5 жыл бұрын
I am preparing for rhcsa exam, I wants to know if Ldap, autofs are part of rhcsa rhel8 exam ?
@TechArkit
@TechArkit 5 жыл бұрын
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
@anindyabhattacharya4878
@anindyabhattacharya4878 4 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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
@hrfighter7980
@hrfighter7980 4 жыл бұрын
not work error is coming
@TechArkit
@TechArkit 4 жыл бұрын
Check your repo config properly, any spelling mistakes.
@hrfighter7980
@hrfighter7980 4 жыл бұрын
@@TechArkit appstream is not working on rhel 8 I configure ftp but I can't configure yum and yum.repo
@TechArkit
@TechArkit 4 жыл бұрын
@@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
@gbalajikav8868
@gbalajikav8868 4 жыл бұрын
👍🏼
@sudharsanyessian8210
@sudharsanyessian8210 4 жыл бұрын
R u taking any online class ??? So that I can attend it
@TechArkit
@TechArkit 4 жыл бұрын
I will but now there are no batches scheduled
@SanjayVerma-sr7mg
@SanjayVerma-sr7mg 4 жыл бұрын
No need to make two different repo. U can put entry in a single repo file
@TechArkit
@TechArkit 4 жыл бұрын
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 жыл бұрын
not able to understand your video..too fast..
@TechArkit
@TechArkit 3 жыл бұрын
Sorry to hear that
@abhishekkumar-qe3hi
@abhishekkumar-qe3hi Жыл бұрын
Not good understanding keep try totally rubbish
@TechArkit
@TechArkit Жыл бұрын
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 жыл бұрын
Video quality is very bad
@TechArkit
@TechArkit 4 жыл бұрын
its may be your slow internet connection speed. Its full HD video as of now no complains about quality.
@anthonyscott2368
@anthonyscott2368 2 жыл бұрын
I know this video is old but can we use a webserver and make the URL HTTP://servername/repolocation?
@TechArkit
@TechArkit 2 жыл бұрын
There is another video in same channel.
@luvk421
@luvk421 2 жыл бұрын
I deleted /yum.repos.d/ What do i do jow?
@TechArkit
@TechArkit 2 жыл бұрын
Re-Create it.
@azharuddin1st
@azharuddin1st 5 ай бұрын
failed to download metadata 'BaseOS' ? what is the problem and solve this ................
VDO - Virtual Data Optimizer RHEL 8 | Tech Arkit
19:15
Tech Arkit
Рет қаралды 7 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2 МЛН
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
RHEL 8 Creating Local Repositories
5:55
theurbanpenguin
Рет қаралды 24 М.
Creating an offline REPO for offline RedHat machines
21:33
FTS_tuts
Рет қаралды 8 М.
Linux User Login issues Troubleshooting | Tech Arkit
21:37
Tech Arkit
Рет қаралды 30 М.
RHCSA: Yum Repository Configuration Step By Step in Redhat Linux
21:40
Shesh Chauhan IT Trainer
Рет қаралды 1 М.
Multipath configuration in Linux | Disk Multipath | Tech Arkit
17:47
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2 МЛН