• Home
  • WP tuts
  • Hosting talk
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • Speed up wordpress
  • Pc world
  • Services
  • About Me

RAaz Kumar .com

wordpress tutorials seo hosting etc

nginx installation on ubuntu 20.04 LTS

 

Note: Installation Process of ubuntu & debian almost same. but we have to choose distribution code.

also follow lemp installation process

 

Mainline or stable nginx (we choose mainline for latest features as well security updates)

stable only security updates (recommended long term deployments maybe)

 

Easy Method 1 : Installing Prebuilt Debian Packages

sudo apt-get update &&  sudo apt-get install nginx

check nginx version

nginx -V

sudo nginx -v
nginx version: nginx/1.6.2

Installing Prebuilt Ubuntu Packages
NGINX provides packages for the following Ubuntu operating systems:

 

Version Codename Supported Platforms
16.04 xenial x86_64, i386, ppc64el, aarch64/arm64
18.04 bionic x86_64, aarch64/arm64
19.10 eoan x86_64
20.04 focal  x86_64, aarch64/arm64

installing nginx from Ubuntu Repository

sudo apt-get update &&  sudo apt-get install nginx

2. Prebuilt Ubuntu Package from the Official NGINX Repository

 

Before installing nginx make sure to know which module need to add follow nginx modules list

https://nginx.org/en/linux_packages.html

Install the prerequisites:

sudo apt install curl gnupg2 ca-certificates lsb-release

a.Add nginx keys

sudo wget https://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key

Verify that you now have the proper key:

sudo apt-key fingerprint ABF5BD827BD9BF62

b. add nginx repository apt sources list

nano /etc/apt/sources.list

deb https://nginx.org/packages/mainline/ubuntu/ <CODENAME> nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ <CODENAME> nginx

Mainline or stable

codename = replace with ubuntu 20.04 or 18.04 bionic version

mycase:

deb https://nginx.org/packages/mainline/ubuntu/ focal  nginx
deb-src https://nginx.org/packages/mainline/ubuntu/ focal  nginx

sudo apt-get update && sudo apt-get install nginx

check nginx installed version

nginx -V

check whether it(nginx status modules)  enabled or not

nginx -V 2>&1 | grep -o with-http_stub_status_module

root@instance-1:~# nginx -v
nginx version: nginx/1.19.6 (changelog

install nginx with stub status module & Brotil

./configure

–with-http_stub_status_module

–with-compat –add-dynamic-module=../ngx_brotli

 

Next Follow LEMP Stack Installation Process or mysql installation ubuntu,

php -fpm installation on ubuntu

 

Related topics:

  1. install lemp Linux, Nginx 1.15.12, MySQL 8, PHP fpm 7.3 on Ubuntu 18.04
  2. Lamp stack install on Ubuntu 20.4 LTS apache, mysql, php 7.4(Debian 9 & Ubuntu 18.04 lts)
  3. ubuntu tutorials installation download issues etc
  4. Letsencrypt SSL Installation on apache/Nginx ubuntu / debian
  5. Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop




tutorials

  • Android Studio tutorials syllabus Topics Course details #AndroidApplicationDevelopment
  • xampp tutorials 2021 installation errors fix wordpress phpmyadmin mysql apache
  • Devops Syllabus topics PDF
  • CCNA Syllabus pdf (CCNA / CCNP vs devops vs mcsa /MCSE)
  • how to create a website free of cost on google
  • what is vpn vs proxy vs tor, http vs https, http2, tcp vs udp, kali linux sql source code injection
  • nginx server tutorials (installation, configuration, performance tuning, security)
    • nginx modules list (enable, disable, upgrade, install dynamic module)
    • monitor nginx request with nginx status amplify datadog new relic
    • nginx installation on ubuntu 20.04 LTS
    • Redis performance metrics & tuning for nginx apache ubuntu & debian
    • enable brotli compression nginx brotli vs gzip
    • nginx performance tuning
    • Top 10 tips to improve nginx server security
    • letsencrypt install configure on ubuntu / debian nginx
    • what is TTFB & how to Reduce it (server response time) Google pagespeed
    • enable php fpm status page, monitor & understand the report to tweak performance
    • 2021 php fpm pool manager configuration settings based on server spike
    • Letsencrypt SSL Installation on apache/Nginx ubuntu / debian
    • nginx rewrite rules with examples 301 redirection
    • use nginx as reverse proxy and load balancer for apache wordpress
    • nginx conf explained best config file performance tuning nginx.conf
    • nginx errors (504,502, 413, unable to start, syntax errors)
    • Pagespeed module install, configure, monitor, errors ft nginx &apache
    • Apache vs nginx (connection handling, modules, memory usage)
    • install lemp Linux, Nginx 1.15.12, MySQL 8, PHP fpm 7.3 on Ubuntu 18.04
    • nginx fastcgi cache wordpress how to configure
    • Redis / memcached installation on ubuntu 20.04 with wordpress mysql configuration
    • cloudflare timeout error 522 524 fix by increasing limit
  • Vivek Bindra Videos Transcription (business strategy)
  • AUdio Editing Background Noise removal (Audacity, Adobe Premiere Addition, Camtasia Filmora Windows Obs)
  • MySQL Tutorial (create,connect database, update tables, export etc) Documentation & TIPS
  • [INTRO] Ethical hacking / cyber Security / Penetration testing Tutorial -{updates frequently}
  • ubuntu tutorials installation download issues etc
  • Php tutorials
  • HTML & CSS Tutorials
  • Core Java Tutorial Free online
  • Linux sysadmin tutorials linux system administrator
  • apache server tutorial (install,config, performance tuning, security, error handling)

About

 

raaz kumar comI am Raaz Kumar, Most Of the time in a day , I Spend on WordPress, Hosting, Server related issues, So i decided write clean posts from my personal notes, so it will be useful for every one like me. Read More,,

Please Support my work by sharing, it can helps to create free content like this.

Twitter

Facebook

Youtube

 

PUBG Mobile Tips & Tricks

free fire how to play (a-z guide) guns, tips &#038; tricks etc

Windows 10 tips & tricks

Pagespeed optimization

Pc building tips & tricks

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

Android studio tutorials

Gaming/ streaming tips

Airtel dth channel list

 

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2021 - All Rights Reserved Disclaimer & Privacy Policy