Installing an Appache Server on Centos
We are back into Yum and we are ready to install our first major application the HTTPD %u2013 better known as Apache Server.
Video Transcript
00:00A couple of lessons ago, we were introduced to the idea of installing new applications
00:05onto our server using the yum command.
00:08That's exactly what we're going to do to install all the various configurations and
00:13applications we need to set up and have a Linux lamp environment running.
00:19The first item that we're going to start working with is the Apache server.
00:22The Apache server is what basically enables us to communicate with the browser and enables
00:27us to display information and display sites.
00:31This is just one component out of the various amount of components you might need to be able
00:36to build a website.
00:37But the first component is the visual layer, making sure that we have something that is
00:41communicating from our server to any browser that wishes to see our content, a site, and
00:47that is our Apache server.
00:49So without further ado, because many of you, I'm sure, are already aware of that.
00:52So I don't want to go too much into that, but please feel free to ask questions in our
00:56comments area at any point if something is still unclear.
01:01So what I'm going to do, and it really doesn't matter from what user I'm at, right now we're
01:04in our demo user, because what we're going to do is we're going to use the command sudo,
01:08which basically says I want to do this on behalf of the root.
01:12So as I'm doing this, I'm going to type the command yum, which is the command that
01:16I want to be able to install Apache.
01:20Now next I'm going to say install, right?
01:23So the steps where sudo was, because I want to do it on behalf of our root, yum is the
01:27command that actually enables us to interact with applications that are on our computer
01:32or externally through, it's kind of like, like the Apple store and the Android store only
01:37for servers in many ways.
01:38And install is the command that we want to do because we don't have Apache installed on
01:42our server.
01:44Now on sentos, the name of Apache is not really Apache, but it's httpd, httpd.
01:52And httpd is Apache, it's just the name of it, you just have to live with it, all right?
01:57So I'm just going to click on enter, and it's going to ask me to put in my password of demo.
02:03And I'm going to put my password of demo.
02:05And once I do that, it's going to go through that process of searching for httpd, httpd.
02:10And it's going to tell me, hey, if you want httpd, there's a few other applications
02:16you must have for it to work.
02:17And you can see that there's five other dependencies.
02:20There's APR, API, your till, but really don't worry about it because these are just mandatory
02:25elements that are just needed for httpd to work.
02:29And we're going to just go ahead and click on yes.
02:32So I'm going to type Y, and I'm going to let httpd to install.
02:36And it's basically going to download all the different packages, those six packages that
02:39are needed and go through the process of actually installing httpd, all right?
02:46Now once this process is done, although httpd is already installed, it is not running yet.
02:53To have it run and basically say, hey, I want my server to start running, there's another
02:57command that I need to put in.
02:59But I'm going to put it in a separate video just to make sure that if you ever come in
03:03the future and want to watch this again, you'll be able to easily find that command
03:07because it's a command that you could very easily forget.
03:09So we're going to continue in the next video when we're going to actually start
03:12up our server, and we're going to do that right away.
03:15And we're going to see you in the next video.
