Apache Basics Tutorial | How To Install and Configure Apache2

  Рет қаралды 302,077

Akamai Developer

Akamai Developer

Күн бұрын

Пікірлер: 75
@muizzsiddique
@muizzsiddique 2 жыл бұрын
I don't do much of Linux-y stuff but it is always nice to see a fellow nano user.
@drdeepee2503
@drdeepee2503 2 жыл бұрын
Some commands I wrote down from the video: apt install apache2 apache2-doc apache2-utils (apache installation) systemctl status apache2 systemctl enable apache2 (if auto restart disabled for some reason) systemctl start apache2 systemctl restart apache2 systemctl reload apache2 (more graceful than restart, but not always an option) apt search libapache2-mod (list all apache modules possible for installation) apt install libapache2-mod-python (example python module installation) apt install libapache2-mod-perl2 (example perl) a2enmod (enable an installed module) a2dismod (disable an enabled module) name based virtual hosts (multiple websites on the same server) a2ensite (enable a web site) a2dissite (disable a web site) /etc/apache2/sites-available/"yourwebsite.conf": config files for a given virtual host create directories listed in "yourwebsite.conf" (apache doesn't create directories) mkdir -p /full/path/listed/in/conf a2ensite
@X19-x5f
@X19-x5f 2 жыл бұрын
Very helpful. Thanks!
@tukisam9092
@tukisam9092 2 жыл бұрын
@samuelopoku-acheampong5601
@samuelopoku-acheampong5601 Жыл бұрын
I appreciate this work Thanks
@k.chriscaldwell4141
@k.chriscaldwell4141 Ай бұрын
Thanks. 👍
@rajat0610
@rajat0610 2 жыл бұрын
thank you so much for this! being a beginner, i've failed for ages to find a good explanation of Apache2 and its configuration, but this is exactly what i needed! thanks again!
@shadabmiya8391
@shadabmiya8391 Жыл бұрын
😊
@Vishisthpasvan
@Vishisthpasvan Жыл бұрын
😊😊
@ztopnigltd2584
@ztopnigltd2584 Жыл бұрын
your videos is been so helpful. thank you for all you have done so far.
@k.chriscaldwell4141
@k.chriscaldwell4141 Ай бұрын
Superb. Above and beyond! Thank you.
@rob5393
@rob5393 2 жыл бұрын
Complete and understandable. I needed some grounded baisis and this helped
@oppenheimjm
@oppenheimjm Жыл бұрын
Great comprehensive and simply explained video
@YummyGoodnight
@YummyGoodnight Жыл бұрын
Affa\ 00000
@whatamievendoing
@whatamievendoing Жыл бұрын
Thank you! This is exactly what I was looking for, super helpful
@taneliharkonen2463
@taneliharkonen2463 Жыл бұрын
This was very awesome. Will be trying this out! More of these please! :D
@qeithwreid7745
@qeithwreid7745 3 жыл бұрын
I appreciate this. Part of the excellent support associated with Linode.
@prabhur764
@prabhur764 6 ай бұрын
Very nice vide. you explained many commands and its usage. Waiting for more videos from you. Please make a video of apache2 proxy, pointing to different ports, etc..
@X19-x5f
@X19-x5f 2 жыл бұрын
Thanks for posting this video. It was very helpful. I have really enjoyed all of your videos.
@derinicktheseven477
@derinicktheseven477 2 жыл бұрын
Compared to the other tutorials out there, this is amazing. Please make more Linux tutorials or where to start for going about securing your web server/site.
@DannyLyriCa
@DannyLyriCa 3 жыл бұрын
This has really helped me understand what the bare minimum is, now i sort of see how i can make my server! thanks.
@MONUYADAV-gq8wq
@MONUYADAV-gq8wq 3 жыл бұрын
0
@Aliali-mr7ym
@Aliali-mr7ym 3 жыл бұрын
2
@hggg4743
@hggg4743 2 жыл бұрын
@@MONUYADAV-gq8wq a
@abinayaabinayaabinaya3930
@abinayaabinayaabinaya3930 Жыл бұрын
@@MONUYADAV-gq8wq uuuuhhhhhuuuhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhuhhhhhhhhhhhhhhhhhuhhhhhhhhhhhhhhhhuuhhhhhhhhhh7uuuuuhhhhuuhuhhuuhhhhhuuuumhpnjpppphuuuuuuuuhuuu7uu7u7uuuuuuuuuuuuuuuuuuuuuuuuuuhuuuuhuuuhhuuuuh
@RahulYadav-xf7nx
@RahulYadav-xf7nx Жыл бұрын
बीपीएल
@DaveJohns61
@DaveJohns61 2 жыл бұрын
Awesome tutorial. Thanks.
@madkvideo
@madkvideo Жыл бұрын
Jay is the man
@UndyingEDM
@UndyingEDM 10 ай бұрын
Is apache easier than django? I happen to know Python, so what would the answer be for someone like me vs someone who doesn't know python either?
@johnny5941
@johnny5941 12 күн бұрын
I tried systemctl status apache2. And it responded with System has not been booted with systemd as init system (PID 1). Can't operate.
@batwoman_pubg
@batwoman_pubg Ай бұрын
Linhode linhode linhode stop 🛑 sponsoring linhode and focus on the video concept 😐
@nicolal.1171
@nicolal.1171 3 жыл бұрын
Great job thx!
@PoojaGupta-nq6nh
@PoojaGupta-nq6nh 3 жыл бұрын
C0k 7
@aavalos163
@aavalos163 Жыл бұрын
I am following this tutorial and I still can't access my website thru the internet. I am getting an error message "Forbidden. You don't have permission to access this resource"
@mr.onelife5195
@mr.onelife5195 2 жыл бұрын
Are there any books that I could use to learn apache ? I am having a hard time locating resources for learning it as a beginner.
@JasonRobards2
@JasonRobards2 2 жыл бұрын
Very concise. Used it try set up my first remotely hosted website. Previously I had followed a different tutorial that ran a page through a gunicorn service. I thought this would be even simpler. Unfortunately the config file does not seem to redirect to my domain name. There must be more to it then what is shown in this video. Kinda frustrating there is so little reliable material to find on this subject.
@JasonRobards2
@JasonRobards2 2 жыл бұрын
It turns out... My Digital Ocean server has specific requirements on where to put the server files. DO has excellent tutorials, you just have to be smart enough to use them :)
@noweare1
@noweare1 Жыл бұрын
@@JasonRobards2 DO has some of the best tutorials. Nearly as good as this youtuber.
@Eurobunker
@Eurobunker 2 жыл бұрын
I am new to web servers and "have to deal with" PERL, so I guess I won the "jackpot". Oh dear. I had a smile when you installed the PERL module ;-) as of 2021, too. @9:37 like a boss!!! I am still confused on where to edit conf files since there are so many. - Shall I do anything with the *envvars* file in /etc ? Does this file provide the environment variables like *${APACHE_LOG_DIR}* ? Shall I set those variables somewhere or just delete the *${APACHE_LOG_DIR}* entry and hack in the absolute directory into *apache2.conf* instead? (best practice question)
@laszlob3683
@laszlob3683 6 ай бұрын
how to do the same without linode tho
@dev.rahulgurjar
@dev.rahulgurjar Жыл бұрын
I'm unable to connect Apache sir????
@Tijme
@Tijme 2 жыл бұрын
I can't connect to my apache2 server from other networks. Running on a Raspberry Pi. Port forwarding enabled.
@sumeetsmahajan
@sumeetsmahajan Жыл бұрын
Me a fan too :)
@hydro6527
@hydro6527 Жыл бұрын
Hi can you do a video on nginx and Apache on same server
@Eurobunker
@Eurobunker 2 жыл бұрын
Thank you soooo much for the Perl config example @16:36 May I humbly ask You how You deal with "Session Management" in Your way of adding Perl? Is it the CGI-way? Which module takes care of session variables in Your configuration? I have to deal with the "ASP-Classic" (the 90s) way using "mod_perl". Do You know the difference? I inherited the following configuration: PerlSwitches -U AddType text/html .pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders - any opinion about the difference or a comparison? Anyone? Additional question: is *Options +ExecCGI* the same as *Options ExecCGI* ?
@jacquesebot9382
@jacquesebot9382 7 ай бұрын
Thank you
@zakhariihusar6975
@zakhariihusar6975 2 жыл бұрын
Nice tutorial 👍. Can someone tell me: i added free SSL certificate with let's encrypt so it created a new ssl default conf file in "sites-available", then i can delete the standard one? And also should i add some PHP config lines if it already works fine?
@hamzazahir956
@hamzazahir956 2 жыл бұрын
thank you so much
@mrafayshams3089
@mrafayshams3089 Жыл бұрын
I'm a complete beginner at this, therefore apologies for my questions. Can we host websites for free using Apache2? I'm an EE working on Embedded Linux based IoT applications. The linux based SBC recieves sensor data and saves the data in local files (for now). I want to use Apache2 to host a website that uses the sensor data saved on the SBC's root file system and displays it in a meaningful manner (graphs, etc). Can this be achieved with Apache2?
@astarte_xo8226
@astarte_xo8226 Жыл бұрын
Yes you can. You will also need a domain name which costs money but that is the only real expense if you self host.
@noweare1
@noweare1 Жыл бұрын
You can but unless you know how to secure your pc against hackers I would not do it that way. You'll be opening a port to the public.
@fernandoparrado4435
@fernandoparrado4435 2 жыл бұрын
Thanks You !
@sokhinnikita1493
@sokhinnikita1493 3 жыл бұрын
Why did you use "apt dist-upgrade" instead "apt upgrade"?
@AkamaiDeveloper
@AkamaiDeveloper 3 жыл бұрын
"apt-upgrade" is used to install the newest versions of all packages currently installed on the system. In addition to performing the function of upgrade, "apt dist-upgrade" also intelligently handles changing dependencies with new versions of packages. More details about the use of "upgrade" and "dist-upgrade" can be found in the official manual page here manpages.ubuntu.com/manpages/impish/en/man8/apt-get.8.html
@gsantos7622
@gsantos7622 2 жыл бұрын
Job for apache2.service failed because the control process exited with error code"
@noweare1
@noweare1 Жыл бұрын
You have an error in your conf file. see the error by using "sudo systemctl status apache2"
@anzdes219
@anzdes219 Жыл бұрын
the vid got no sound...
@andreassebayang7403
@andreassebayang7403 3 жыл бұрын
More🔥🔥🔥
@deepkkumar7864
@deepkkumar7864 3 жыл бұрын
009990
@Sdis1980
@Sdis1980 3 жыл бұрын
Good job Jay. 👍🏽
@PhilipProchazka
@PhilipProchazka 3 жыл бұрын
I unable to find etc/hostname I°m running debian 11
@AkamaiDeveloper
@AkamaiDeveloper 3 жыл бұрын
Make sure you have the "/" in front of "etc". You can also create the file in that directory if it does not exist.
@LazyKingAus
@LazyKingAus Жыл бұрын
Somehow after this video it went from working to not working
@guilherme5094
@guilherme5094 3 жыл бұрын
Like!
@raihanmondal9315
@raihanmondal9315 3 жыл бұрын
Lxm
@bigid9176
@bigid9176 2 жыл бұрын
Help me please?🥺🥺🥺😭😭😭
@asimabusallam3147
@asimabusallam3147 3 жыл бұрын
more thanks
@paulrheinert
@paulrheinert 2 ай бұрын
20minutes of yapping with no real result
@saudagarkumar9738
@saudagarkumar9738 3 жыл бұрын
Photo keyboard
@ganadhsingrana4266
@ganadhsingrana4266 3 жыл бұрын
इjसW
@Toufique-00
@Toufique-00 Жыл бұрын
u didn't even explain how to add pictures and html into the server..
@tubeDude48
@tubeDude48 2 жыл бұрын
no need for *CTRL-o* in nano, Just enter: *CTRL-x y Enter*
@Deuthe.
@Deuthe. Жыл бұрын
Ctl s and then ctrl x
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 104 М.
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 63 МЛН
Wait… Maxim, did you just eat 8 BURGERS?!🍔😳| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 9 МЛН
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 306 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 342 М.
Securing Apache 2 | HackerSploit Linux Security
21:05
Akamai Developer
Рет қаралды 8 М.
Apache Web Server and HTTPS on Linux
46:38
Steven Gordon
Рет қаралды 63 М.
How To Install And Configure DNS Server In Linux
1:02:09
Tech Tutorials - David McKone
Рет қаралды 65 М.
Install and Configure Apache on Ubuntu Server | Set Up Virtual Host
31:46
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 256 М.