Jump to content
View in the app

A better way to browse. Learn more.

AlphaGNU

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to install latest Stable/mainline Nginx in CWP, Centos 8/9 stream, AlmaLinux 8/9, RockyLinux 8/9

Featured Replies

Posted

In this tutorial we'll learn how we can enable and install Latest stable version of nginx in centos Stream , almalinux and rockylinux. By default This OS have old version of nginx installed from nginx stream module. 

To install latest version of nginx stable or mainline do the steps

Step 1

Disable nginx module

dnf module disable nginx -y

Step 2

Add Official repository for nginx :

Create repository :

> /etc/yum.repos.d/nginx.repo
nano /etc/yum.repos.d/nginx.repo

For stable Nginx  and add this line :

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

For mainline Nginx  and add this line :

[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

Step 3

Remove any nginx version installed :

dnf remove nginx -y

Step 4 :

Install the latest version of nginx :

dnf install nginx -y
systemctl enable nginx
systemctl restart nginx

That's it you can now check the nginx version via this command : 

nginx -V

 

  • 1 year later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.