How to Build Nginx from Source (on Ubuntu)
Тәжірибелік нұсқаулар және стиль
Learn how to build and install Nginx from source on Ubuntu and enable modules in this tutorial. Also, we will add Nginx to systemd which will allow it to automatically start at boot.
Code snippets and more at tonyteaches.tech/how-to-build...
Check out my vlog channel @TonyFlorida
#nginx
Пікірлер: 19
excellent. clear and to the point. thank you so much.
The greatest TUTORIAL IN THE WORLD! Thanks man ^3
@TonyTeachesTech
8 күн бұрын
You're welcome!
This video was awesome, i'm a DevOps trainee in Mexico and this was just so perfect haha, thnk you tony.
@TonyTeachesTech
3 жыл бұрын
Happy to help!
Fantastic work! Thank you so much.
@TonyTeachesTech
Жыл бұрын
Glad you liked it!
Great explanation !!!
@TonyTeachesTech
3 жыл бұрын
Glad you liked it!
Good job, Tony.
@TonyTeachesTech
3 жыл бұрын
Thanks Darius!
You are awesome!
@TonyTeachesTech
2 жыл бұрын
Thanks 🙏
in 9:05 Should we change Execreload file path sbin to bin? Thanks
Command 'nginx' not found, but can be installed with, after make install. nginx 1.20.2 on ubuntu server 20.04. the hell?
Good work. But you are only building the nginx component from source. You are on the root and installing whatever dependencies you require. If you are a non-root user with no access to root then you can't install the dependencies and the build wont happen. Ideally all the dependencies should be built from source and then linked with the nginx binaries.
But why do I need to build nginx from source? You could install it like you did it with dependencies. And the config you've built looks default.
@TonyTeachesTech
3 жыл бұрын
Like I allude to at 0:38, when you install Nginx from source you can pick and choose which modules you want to install. In the official Nginx docs under the Modules Reference section (nginx.org/en/docs/) you'll see the list of available modules. When you install nginx with a package manager, you only get a subset of these modules.
It'd be great if you could make a tutorial on how to build nginx with php and php-fpm along with rtmp module to be used as a standalone web server for example on /home/myuser