Hey, folks, in this video, we are going to learn how to access our Linux system.
There may only two ways to access, one is command line and the other one is to the GOI and two, in
order to access Google, you have to get into your Linux machine to the console.
Now, for this entire course, I will be using Linux at Red Hat eight.
I will also be using Red Hat seven and I will be jumping from console to terminal terminal to console
as well.
So the main focus here is that you learn the commands.
And if I'm using those commands on Linux, this version seven console, then it means those same commands
are applicable on version eight as well.
So don't get confused or don't get alarmed if I'm using one terminal or one version to another.
The main purpose of this entire course is that you could get your certification in Red Hat version eight.
OK.
Another thing for those of you who are already into the Linux system access and you already know how
to access to the command line and then you could simply go ahead and skip this lecture and go to the
next one.
For those of you who are learning for the first time accessing the links system, then stay tuned.
OK, the first thing is how we access it through the console.
You go straight to the in front of the computer or if it's a physical machine, you connect your monitor
and you access the console, or you could actually access the console through that the your hardware
console access, which is for Dell, there's iDrive for HP, there's Ilow for those who are using virtualization
software like I'm using, then you could access it through your virtualized software.
All right.
The next thing that you could access your Linux system is if you're using Windows 10 and you want to
access your Linux machine remotely, then you will have to use a terminal or a client that is called
putty.
So putty is a terminal you could use at their terminal as well.
There's terror term security.
It doesn't really matter anything that is compatible to run on windows, then you could use that to
connect to the Linux machine.
Then another third way of accessing your Linux system if you are using Linux and you want to access
another Linux machine, whether if your source machine is Mac OS or Linux, Solaris or Linux, CentOS
or Red Hat doesn't really matter.
As long as it's a Unix based computer, then you could simply access your other Linux machine remotely
by opening up your terminal or using your search command.
We'll cover that all one by one, so very first thing is accessing to the console.
So again, I'm using my virtualization software, which is Oracle VirtualBox, so I'm going to open
up my Oracle VirtualBox.
I had these two Linux VMS running one is my first Linux VM, which is running on RedHat version eight
and the other one is running on CentOS seven.
So if I had to access the console, I could just simply click on it and click start.
But since it's already running, it's not giving me the option to start.
So where is it right here?
This is my console access, so you could just simply click inside.
Your username will already be displayed.
Enter your password and there you have your console.
You could open up a terminal in your console so you can run commands.
You could click on this little hat activities.
And see right here, says Terminal, click that and there you have your terminal where you can run commands,
which we will cover later on.
OK, so that's about covering from windows, sorry, from accessing through the console now.
Next one is if you have windows and you wanted to connect remotely to a Linux machine, then you need
a Klein Cloud Putty.
You could go to pre-order and download install their client.
I have already installed it, so what I'll do is I'll simply access it by entering putty into my search.
We'll open up the program.
It will ask which computer IP address of Linux machine you want to connect to.
Now that we need to find out if you are connecting to, let's say, Red Hat eight, I'll go to my Red
Hat eight console.
This is right here and I'm going to find out the IP.
In order to find out the IP, you need to run a command ifconfig.
And since the window is a little smaller, so right here says this is one adaptive virtual bridge,
ignore that local, ignore that scroll up and come to the one where it says ENP zero three here, your
IP address of your machine is 10 253 one 17.
But that IP address here?
OK, another thing to remember is if you do not have the config command in your system, then you run
it.
It probably say, Hey, command not found.
Then you could use a new command that is available in the newer version of Red Hat seven and eight.
And that is IP, a DDR hit enter and you will see the IP that you're looking for associated with with
this adapter.
ENP zero S3 and right here, this is iiNet 10 253 one DOT 17.
Again, depending on your network, your IP address is most likely different from mine.
But the point is you need to pull the IP address so you could input that into the putty and access to
fifty three point 1.70.
Hit enter and there you go.
You have a console.log, sorry terminology.
So put in your username.
And password now this is a terminal stage access here, you do not have a gooey like you have it here.
So just keep that in mind.
All right.
So that's how you access from when.
From Windows.
To your Linux machine now, next one is Linux to Linux.
So for that purpose, I have to my two Linux machines.
One is sent red, had eight, which is right here, and the second one is Santos seven.
May log in to Santos seven.
OK, so let's say if I wanted to connect from my Red Hat eight to my Santos seven.
So again, find out what is the IP address of Santos seven for that right click open terminal.
If config same command go up to your adapt, says ENP 03, and here you have an IP address of 10 to
fifty three point one fifty nine.
Now you could access that as it through the terminal and that terminal right here on the GWI.
Or you could access that on your Puddy session, which is right here.
And all you have to do is type it in the IP address of the machine of the Linux, which you want to
go to.
And that is SASE minus L L is to specify the username, which is I Absol and the IP address 10.
That 253.
Dot one dot 59.
Hit Enter it will ask you to confirm your fingerprints if you're connecting for the first time.
Click Yes and enter your password.
And there you are now you are connected from Linux machine to another Linux machine.
If you want to get out, simply type X and you will come back to your original next machine.
All right, so we cover how to access.
Coincidentally, we cover Windows access to Linux through putting a terminal and recover from Linux
to Linux through the SSL protocol.
Again, I will be using one method or the other.
I will be using Red Hat eight version.
I will be using CentOS seven version.
But anyway, whatever I'm using, you could try on your Red Hat aid because it will work on Red Hat
eight as well.
If I'm trying on seven, because at the end goal is that you become so familiar with Red Hat eight environment
that you will be able to pass your RH CSC certification.
I'll see you in the next lecture.