02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Bonus - Understanding YUM repos

We are about two hours into our server configurations but before we move into the next topic that will involve installing many applications using the YUM repo. I wanted to take a deeper look into yum so you have a better understanding of how it works.

Video Transcript

00:00It's been already two hours since we started learning our server configurations or starting
00:05Hour 3 where we're going to dedicate our time into installing all the different softwares
00:09that you need to create a PHP server.
00:12You'll have PHP and MySQL by the end of this and we'll have a server actually with
00:17something on it so we'll see that it actually works.
00:20All right, so to get started, I want to go back into YUM.
00:24We've already seen how we could install different applications in YUM, but I want to just
00:27have a little bit more of a talk about YUM in general.
00:31Now, YUM in general is very similar to the Apple Store or the Android Store or the Amazon
00:38Store, App Store, where it has a list of approved applications and they go through an approval
00:44process for them to be added into their repo.
00:47Although users could go inside and add another repo in services that aren't as closed like
00:53Apple that doesn't let others to add providers like your Android, which you could go over
00:58to Google Store or at the Amazon Store.
01:02Now the way that it works on Linux and Sentos is basically you register your site, your
01:12host, to a provider of softwares.
01:16Now this list, you could get a list of that list just by going right into your YUM and
01:21asking for your repo list, repo list, and even typing there enabled to only get the ones
01:28that are enabled.
01:32There we go.
01:33So I'm just going to type my password and we'll see that I have three repos that I'm in.
01:39My current build is Sentos 6.
01:41I'm in the base one, the extras and the updates.
01:46Fantastic.
01:48This is basically the pivot point of basically where we're getting our applications and these
01:55applications are stored in a specific folder.
01:59So I'm just going to go into that folder so you can see it.
02:01We're not going to make any updates to this.
02:03In general, I don't think you should change it, but if you get to a scenario where you
02:06trust a third party provider, then you'd follow their instructions about how to add it into
02:11the system.
02:12And if we just do a search here, we'll see that here are our repos sitting there and
02:17you can go inside and see how they're built.
02:19We're not going to get into that.
02:20It's not complicated and really, it's really dependent.
02:22If you need to add another repo, then you would go in there and define it based on the
02:27information that they provide you, assuming that you trust their information.
02:31All right, but I'm going to go right back into our main folder.
02:34I'm going to clear that.
02:35And that was about our repo.
02:37So we know what our repos are.
02:39Now, the next topic I want to talk about is about how do you update and obviously with
02:43software, especially open source software, we want to always keep it up to date because
02:48every time that there's a security update, there's a vulnerable vulnerability that is
02:52now known to the world.
02:54So you always want to keep sure and making sure that you're updating your services, but
02:58you want to make sure that you're backing up before.
03:00So we're going to talk about the steps about backing up in the future title, a future
03:05session.
03:06In this lesson, we're going to talk about making an update, which is we have a completely
03:10new server and we want to update our files and update our, our, our, our things.
03:14And we're going to look into that in the next session and our next lesson.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!