I don't do much of Linux-y stuff but it is always nice to see a fellow nano user.
@drdeepee25032 жыл бұрын
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-x5f2 жыл бұрын
Very helpful. Thanks!
@tukisam90922 жыл бұрын
❤
@samuelopoku-acheampong5601 Жыл бұрын
I appreciate this work Thanks
@k.chriscaldwell4141Ай бұрын
Thanks. 👍
@rajat06102 жыл бұрын
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 Жыл бұрын
😊
@Vishisthpasvan Жыл бұрын
😊😊
@ztopnigltd2584 Жыл бұрын
your videos is been so helpful. thank you for all you have done so far.
@k.chriscaldwell4141Ай бұрын
Superb. Above and beyond! Thank you.
@rob53932 жыл бұрын
Complete and understandable. I needed some grounded baisis and this helped
@oppenheimjm Жыл бұрын
Great comprehensive and simply explained video
@YummyGoodnight Жыл бұрын
Affa\ 00000
@whatamievendoing Жыл бұрын
Thank you! This is exactly what I was looking for, super helpful
@taneliharkonen2463 Жыл бұрын
This was very awesome. Will be trying this out! More of these please! :D
@qeithwreid77453 жыл бұрын
I appreciate this. Part of the excellent support associated with Linode.
@prabhur7646 ай бұрын
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-x5f2 жыл бұрын
Thanks for posting this video. It was very helpful. I have really enjoyed all of your videos.
@derinicktheseven4772 жыл бұрын
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.
@DannyLyriCa3 жыл бұрын
This has really helped me understand what the bare minimum is, now i sort of see how i can make my server! thanks.
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?
@johnny594112 күн бұрын
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Ай бұрын
Linhode linhode linhode stop 🛑 sponsoring linhode and focus on the video concept 😐
@nicolal.11713 жыл бұрын
Great job thx!
@PoojaGupta-nq6nh3 жыл бұрын
C0k 7
@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.onelife51952 жыл бұрын
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.
@JasonRobards22 жыл бұрын
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.
@JasonRobards22 жыл бұрын
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 Жыл бұрын
@@JasonRobards2 DO has some of the best tutorials. Nearly as good as this youtuber.
@Eurobunker2 жыл бұрын
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)
@laszlob36836 ай бұрын
how to do the same without linode tho
@dev.rahulgurjar Жыл бұрын
I'm unable to connect Apache sir????
@Tijme2 жыл бұрын
I can't connect to my apache2 server from other networks. Running on a Raspberry Pi. Port forwarding enabled.
@sumeetsmahajan Жыл бұрын
Me a fan too :)
@hydro6527 Жыл бұрын
Hi can you do a video on nginx and Apache on same server
@Eurobunker2 жыл бұрын
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* ?
@jacquesebot93827 ай бұрын
Thank you
@zakhariihusar69752 жыл бұрын
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?
@hamzazahir9562 жыл бұрын
thank you so much
@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 Жыл бұрын
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 Жыл бұрын
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.
@fernandoparrado44352 жыл бұрын
Thanks You !
@sokhinnikita14933 жыл бұрын
Why did you use "apt dist-upgrade" instead "apt upgrade"?
@AkamaiDeveloper3 жыл бұрын
"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
@gsantos76222 жыл бұрын
Job for apache2.service failed because the control process exited with error code"
@noweare1 Жыл бұрын
You have an error in your conf file. see the error by using "sudo systemctl status apache2"
@anzdes219 Жыл бұрын
the vid got no sound...
@andreassebayang74033 жыл бұрын
More🔥🔥🔥
@deepkkumar78643 жыл бұрын
009990
@Sdis19803 жыл бұрын
Good job Jay. 👍🏽
@PhilipProchazka3 жыл бұрын
I unable to find etc/hostname I°m running debian 11
@AkamaiDeveloper3 жыл бұрын
Make sure you have the "/" in front of "etc". You can also create the file in that directory if it does not exist.
@LazyKingAus Жыл бұрын
Somehow after this video it went from working to not working
@guilherme50943 жыл бұрын
Like!
@raihanmondal93153 жыл бұрын
Lxm
@bigid91762 жыл бұрын
Help me please?🥺🥺🥺😭😭😭
@asimabusallam31473 жыл бұрын
more thanks
@paulrheinert2 ай бұрын
20minutes of yapping with no real result
@saudagarkumar97383 жыл бұрын
Photo keyboard
@ganadhsingrana42663 жыл бұрын
इjसW
@Toufique-00 Жыл бұрын
u didn't even explain how to add pictures and html into the server..
@tubeDude482 жыл бұрын
no need for *CTRL-o* in nano, Just enter: *CTRL-x y Enter*