Install & Set Up Apache Web Server on Windows 10 - Quickly!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video i'm going to be showing you how to quickly install apache on windows 10 and i'll show you how it runs as a service and how to check if it's working so the first thing you're going to want to do is just go to google and search for apache and go to the httpd apache.org this is where you can find a lot of the linux distributions but if you want to find the windows one click on downloads and then it says apache for microsoft windows is available from a number of third-party vendors here so you click on that i like to use apache lounge but you could use some other ones if you wanted i'm not sure how secure they are in comparison i've used a patch apache lounge for my own projects and for work so when you come here you'll see apache 2.4.46 for windows 64-bit go ahead and download that zip file once the zip file is finished downloading just click on the the zip file on your downloads and unzip it to wherever you'd like i would suggest unzipping it to the c drive so i'm going to go ahead and unzip these and i'm going to put them in my right here in my c drive just so i can find it easily if it asks you if you need administrative privileges just click yes and now that it's in your c drive you can go into the apache 24 service uh or folder rather and then there will be a bin file so you click in bin and what you're going to want to do is install this httpd this is what is actually going to run apache so to do that go to your start menu type cmd for command prompt or you can type command prompt and right click it and click run as administrator and click yes if it asks you for permission now what you're going to want to do is you're going to change directory to this so just click in this window here at the right of all the text and if you need to select it all with control a and just copy it and you can paste it in here but first uh scroll over to the left with your arrow keys press cd put a space so change directory to that so now we're in this directory you can see it changed there we're gonna do http install and press enter and if it asks you to allow access this is just like asking windows if you want to let it do the firewall and stuff like that click allow access and once that's done what that just did is it installed apache as a service if you go to your windows services just type in services in the search bar you'll see here is apache so now what you're going to want to do is you're going to click start service and now it says it's running so you could stop or restart it here if you need to and to check if it's running what you can do is you can go to 127.0.0.1 and it says it works so normally if you went to this ip address it wouldn't have anything here but what apache is doing is it's running this locally on your computer so like right now it's just local and it's not connecting out to the internet to connect it out to the internet there's some other steps i'll show in fallout videos but for this video just how to install it that is just the first step and i'll make some follow-up tutorials and then additionally if you have any errors you can find that in the logs folder here and then this will send out errors it also show you messages about things that happened like just typical log notes like starting apache and if you're curious about where this it works comes from this is like where you would write your web code that would be inside of htdocs here so in htdocs you're going to have this index file and if you just edit this with notepad or even better if you have like notepad plus or some kind of editor that works well too you can see here's the html code so you got the text that's showing it works on the web page here and it's got html tags body h1 you can see that if you inspect this so you just right click and click inspect so you got html head body it works and if you'd like to change the code here you would just type in stuff save it refresh the page and that should get you all started in the next videos i'll make some tutorials about installing php installing modules and how to add stuff to this directory i hope this was helpful and if it was uh if you could click the like button it'll help other people find this video and subscribe for more videos like this i appreciate y'all watching and i hope this helped
Info
Channel: Flavor Of The Month
Views: 46,724
Rating: undefined out of 5
Keywords:
Id: oJnCEqeAsUk
Channel Id: undefined
Length: 5min 21sec (321 seconds)
Published: Sun Nov 01 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.