Friday, March 24, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory
  • Login
  • Register
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
No Result
View All Result
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
No Result
View All Result
Cloud7 News
No Result
View All Result

Home > How-Tos > How to install NGINX on AlmaLinux, Rocky Linux, CentOS, RHEL

How to install NGINX on AlmaLinux, Rocky Linux, CentOS, RHEL

If you are looking for a step-by-step NGINX Open Source installation guide for RPM-based Linux distributions, this article is for you.


Birol Bavas Birol Bavas
July 30, 2022
6 min read
How to install NGINX on AlmaLinux and Rocky Linux

NGINX is an open-source HTTP Server software that has free and paid versions; named Open Source and Plus, respectively. It also offers features such as reverse proxy, IP address-based ALC, TLC 1.3 support, and gRPC Proxy. You can check the table below to see the difference between NGINX Open Source and NGINX Plus:

Features NGINX Open Source NGINX Plus
Load balancer
HTTP and TCP/UDP support Yes Yes
Layer 7 request routing Yes Yes
Session persistence Yes Yes
Active health checks No Yes
DNS service‑discovery integration No Yes
Content cache
Static and dynamic content caching Yes Yes
Cache‑purging API No Yes
Web server and reverse proxy
Origin server for static content Yes Yes
Reverse proxy: HTTP, FastCGI, memcached, SCGI, uwsgi Yes Yes
HTTP/2 gateway Yes Yes
gRPC proxy Yes Yes
HTTP/2 server push Yes Yes
Security controls
HTTP Basic Authentication Yes Yes
HTTP authentication subrequests Yes Yes
IP address‑based access control lists Yes Yes
Rate limiting Yes Yes
Dual‑stack RSA/ECC SSL/TLS offload Yes Yes
TLS 1.3 support Yes Yes
JWT authentication No Yes
OpenID Connect single sign‑on (SSO) No Yes
NGINX App Protect (additional cost) No Yes
Monitoring
Export to external monitoring tools Yes Yes
Built-in dashboard No Yes
Extended status with 100+ additional metrics No Yes
High availability (HA)
Active‑active and active‑passive modes No Yes
Configuration synchronization across cluster No Yes
State sharing: sticky‑learn session persistence, rate limiting, key‑value stores No Yes
Programmability
NGINX JavaScript module Yes Yes
NGINX Plus API for dynamic reconfiguration No Yes
Key‑value store No Yes
Dynamic reconfiguration without process reloads No Yes
Streaming media
Live streaming: RTMP, HLS, DASH Yes Yes
VOD: Flash (FLV), MP4 Yes Yes
Adaptive bitrate VOD: HLS, HDS No Yes
MP4 bandwidth controls No Yes
Third-party ecosystem
Ingress controller Yes Yes
OpenShift Router Yes Yes
Dynamic modules repository No Yes
Commercial support No Yes

Table of Contents

  • NGINX Installation
    • Update your packages
    • Download NGINX
    • Start NGINX Service
    • Allow HTTP and HTTPS
    • It’s Done!

NGINX Installation

Update your packages

First, update the packages on the server to make an up-to-date installation. To do this, enter the following command on the terminal screen.

dnf update -y && dnf upgrade -y


Download NGINX

After the update is completed successfully, use the following command on the terminal screen and start the NGINX installation.

dnf install nginx -y


Start NGINX Service

NGINX was successfully installed. Now start the NGINX service.

systemctl enable nginx
systemctl start nginx


Allow HTTP and HTTPS

NGINX service started successfully. We need to allow HTTP and HTTPS over the firewall. To do this, enter the following commands on the terminal screen.

firewall-cmd –permanent –zone=public –add-service=http
firewall-cmd –permanent –zone=public –add-service=https
firewall-cmd –reload


It’s Done!

To make sure that the installation is completed successfully, enter the IP address in the browser.

Tags: AlmaLinux OSCentOSRHEL (Red Hat Enterprise Linux)Rocky Linux
Birol Bavas

Birol Bavas

Birol Bavas is the operations & security manager of Cloud7. He has been building system architectures for several years. He is also a PHP and C# developer and has built countless web applications. For more than 10 years, he has been using Linux actively.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Next Post
snap app of the week getting things gnome

Snap app of the week: Getting Things GNOME

Related News

How to manage DNS settings in Linux

How to manage DNS settings in Linux

March 23, 2023 9:00 pm
How to change system language on Windows 11

How to change system language on Windows 11

March 22, 2023 7:00 pm
How to create and manage menus in WordPress

How to create and manage menus in WordPress

March 22, 2023 6:30 pm
Learn how to install GE-Proton on Steam Play using the ProtonUp-Qt app

How to install GE-Proton on Steam Play using the ProtonUp-Qt app

March 14, 2023 3:15 pm
Get free daily newsletters from Cloud7 News Get the Cloud7 Newsletter
Select list(s):

Check your inbox or spam folder to confirm your subscription.

By subscribing, you agree to our
Copyright Policy and Privacy Policy

Get the free newsletter

Subscribe to receive the latest IT business updates straight to your inbox.

Select list(s):

Check your inbox or spam folder to confirm your subscription.

Recent News

  • CloudFest 2023 is completed
  • EdgeConneX executes $3.3B in sustainability-linked financing
  • How to manage DNS settings in Linux
  • What is Cloudflare Warp?
  • We may say our farewell to stock photos soon

Cloud7 News
Cloud7 is a news source that publishes the latest news, reviews, comparisons, opinions, and exclusive interviews to help tech users of high-experience levels in the IT industry.

EXPLORE

  • Web Hosting
  • Cloud Computing
  • Data Center
  • Cybersecurity
  • Linux
  • Network/Internet
  • Software
  • Hardware
  • Artificial Intelligence
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory

Get the Cloud7 Newsletter

Get FREE daily newsletters from Cloud7 delivering the latest news and reviews.

  • About Us
  • Privacy & Policy
  • Copyright Policy
  • Contact

© 2023, Cloud7 News. All rights reserved.

No Result
View All Result
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Software
    • Network/Internet
    • Hardware
    • Artificial Intelligence
    • Windows
    • Policy/Legislation
    • Blockchain
    • Troubleshooting
    • How-Tos
    • Articles
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Podcasts
  • Web Hosting Directory

© 2023, Cloud7 News. All rights reserved.

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.