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

Starting up the Apache Server

Next step after we install HTTPD is to start it up. We do that using the service command:

sudo service httpd start

we can restart the service using this command:

sudo service httpd restart

or stop it :

sudo service httpd stop

Video Transcript

00:00Welcome back and it's time for us to actually turn on our server. To turn on
00:06our server really it's quite simple again we're going to always approach at
00:09sudo approaching every command we're making as if we're at the root and we're
00:13going to go to our service command and we're going to say hey I want the
00:17service httpd to start because it's the first time we ever activated so I want
00:22to activate it I want to start it. When I click on start it's going to go
00:27through that process until it tells me okay it could turn it on. Now don't worry
00:32too much about that this line that gives us a little warning as long as you got
00:36the okay message. The okay is really all you had to get to know that your server
00:40is running. The reason why it's telling us this this message is because it
00:44doesn't really know that configuration of where our site is. It's
00:49basically telling us that we still need to figure out and configure a few
00:54things for our site to actually work because it doesn't really know what
00:56address our site goes to. It doesn't know the fully qualified domain
01:01name all it knows is the IP address.

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!