System upgrade or patch management, this is a very, very important topic, very, very important lesson
for this.
For this training, you will be upgrading your system from time to time or applying patches to your
system on a quarterly basis, depending on your company's policies.
There are two type of upgrades that happen in Linux operating system.
One is the major version upgrade, which is from five to six, six to seven.
And if you don't know what version of Linux we are running right now, then I would tell you right now,
stop everything again, stop everything and go back to Linux VM and find out what version you are running
and you will find that out how you do Cat at Sea.
RedHat Actualise.
Or you might say there are different ways that we have talked about previously.
So anyway, just to let you know, if you don't know if you forgot, that is fine.
The version that we're running in a Linux machine is seven and the minor of that version is seven Darfur.
So there are two types of upgrades, major versions, five, six or seven, and minor version from seven
three to seven Darfur or seven, one to seven to or that stays within the same channel, which is like
seven all the way from one to five, six, seven, wherever it ends.
The major version does not get you cannot get upgraded to the, um, command minor version can be done
through Jume update command major version.
You cannot do how you could do the major version upgrade.
Well, you have to backup the entire server, build a new server from scratch and transfer files.
There are a few other ways that you could do it.
But trust me, it's very cumbersome
example to do.
You update is simply running a command space update and option minus Y, and the reason we have minus
Y is because this is telling the operating system.
Every time you're going to prompt me to install a certain package, don't ask me, just install it.
So for every question, my answer is yes.
There is another way to do the update is update and upgrade.
Now, what's the difference between update and upgrade?
Upgrade deletes packages.
When you have a package, let's say you have an A.P. package or HTP package and you you you did youm
upgrade.
It will delete the old package, which is, let's say, HTP five and it has a newer version, HGP six.
So it will delete that old package and it will update it with the newer package.
So that's a difference, whereas upgrade preserves, it preserves the older packages as well.
Why?
Because it is a good practice for some system administrators to keep old packages in case there has
certain of their applications.
Don't comply or don't run with the newer version of the packages.
So that's why sometimes people have to roll back to its original patch updates.
So system upgrades and patch management.
This is just a quick lesson for it.
I will go and to my Linux machine again to try out a few of these commands.
I want to go in as Putti.
So in order to go in as Pudi what you need I am keep typing this this way.
You guys would know these, this command or networking of a Linux machine.
So this is the IP you put in the IP address in the Linux machine.
I already have the the, the putty open.
Who am I on my route.
So just minimize the console and now I have open putty.
So the first thing is right here, youm update again, when you do the jump update, it will preserve
old packages as upgrade.
We delete old packages.
But before we go any further, what version do we have?
Have you check that out?
So you do see.
At least we have Virgin, Major, Virgin, Seven and Mynabirds in Darfur, so we will do some update.
We will not put minus Y because I will show you when it will ask you if I want to proceed.
So just do update.
It is actually going through all the packages that require an update, and it is telling you right here
at this summary that scroll up that these are the packages that do require some of them to be updated.
Every package has a dependency on other packages.
So if I'm installing package ABC, it might require a package of X, Y, Z, just like in Windows.
If you are trying to install one package, it might require you to install Java as well, or Flash or
some of those other packages.
Similarly, Linux works the same way when you are installing one package.
It does have other dependency, so it has to have those packages updated as well.
So that's what it is saying, that it will install five packages, new ones, and there are more updates
that are 209 packages of it.
So that includes five pack.
That includes the dependency as well as the updates of the packages.
So we will say, is this OK?
Yes, it's OK.
Go ahead.
And yes, if I had put in space minus Y, it would not have asked me to put in my why.
I would not have waited for me to put y so I'll y as.
Yes.
Just downloading packages.
It is going through the update process of four hundred and forty nine packages that it needs to update,
this will take quite some time.
So what I will do is I will fast forward this.
So at least you could view it how it is going through each package update.
Once the packages updates are done, then it will do the cleanup and and remove any lingering process
that's out there.
OK, the system has been updated and it is complete, we did not get any error messages.
And by the way, I should have mentioned in the beginning this make sure your system can go outside
and every time you need to make sure you could just simply ping
Google dotcom.
Well, it does go to Google, but just to make sure we had the right one.
So it is going outside and it is pinging.
Every time you see it's coming back with 64 bytes from this machine, it means it has Internet access
and it could talk to the server outside.
If it cannot, then you definitely have an Asian network issue.
And first, check those before you run the command because the junkman is actually going to the center,
was a repository to download your packages or update your packages.