• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Nginx on Oracle Linux8.8

  • 00:37 cat /etc/os-release
  • 00:51 yum install nginx
  • 01:55 systemctl start nginx
  • 02:09 systemctl enable nginx
  • 02:24 systemctl status nginx
7571

To install Nginx on Oracle Linux8.8

Introduction :

The NGINX (Engine X) web server and a reverse proxy are one of the most popular, powerful, and highly scalable open-source web servers. Because it's free, fast, stable, easy to configure, and consumes little resource, it can also be used as a load balancer, mail proxy, and HTTP cache.

Installation Steps:

Step 1: Check the version of the OS by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8

Step 2: Install Nginx package by using the below command

[root@linuxhelp ~]# yum install nginx
Oracle Linux 8 BaseOS Latest (x86_64)            42 kB/s | 3.6 kB     00:00    
Oracle Linux 8 BaseOS Latest (x86_64)            10 MB/s |  59 MB     00:05    
Oracle Linux 8 Application Stream (x86_64)       44 kB/s | 3.9 kB     00:00    
Oracle Linux 8 Application Stream (x86_64)      9.8 MB/s |  47 MB     00:04    
Latest Unbreakable Enterprise Kernel Release 6   23 kB/s | 3.0 kB     00:00    
Dependencies resolved.
================================================================================
 Package Arch   Version                                     Repository     Size
================================================================================
Installing:
 nginx   x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream 569 k
Installing dependencies:
 nginx-all-modules
         noarch 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  24 k
nginx-filesystem
 
 noarch 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  25 k
 nginx-mod-http-image-filter
         x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  35 k
 nginx-mod-http-perl
         x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  46 k
 nginx-mod-http-xslt-filter
         x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  34 k
 nginx-mod-mail
         x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  64 k
 nginx-mod-stream
         x86_64 1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e ol8_appstream  86 k
Enabling module streams:
 nginx          1.14                                                           

Transaction Summary
================================================================================
Install  8 Packages

Total download size: 881 k
Installed size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): nginx-filesystem-1.14.1-9.0.1.module+el8 232 kB/s |  25 kB     00:00    
(2/8): nginx-all-modules-1.14.1-9.0.1.module+el 215 kB/s |  24 kB     00:00    
(3/8): nginx-mod-http-image-filter-1.14.1-9.0.1 889 kB/s |  35 kB     00:00    
(4/8): nginx-mod-http-xslt-filter-1.14.1-9.0.1. 1.2 MB/s |  34 kB     00:00    
(5/8): nginx-1.14.1-9.0.1.module+el8.0.0+5347+9 3.0 MB/s | 569 kB     00:00    
(6/8): nginx-mod-mail-1.14.1-9.0.1.module+el8.0 3.1 MB/s |  64 kB     00:00    
(7/8): nginx-mod-stream-1.14.1-9.0.1.module+el8 2.9 MB/s |  86 kB     00:00    
(8/8): nginx-mod-http-perl-1.14.1-9.0.1.module+ 167 kB/s |  46 kB     00:00    
--------------------------------------------------------------------------------
Total                                           2.2 MB/s | 881 kB     00:00     
Running transaction check

Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: nginx-filesystem-1:1.14.1-9.0.1.module+el8.0.0+5347+   1/8 
  Installing       : nginx-filesystem-1:1.14.1-9.0.1.module+el8.0.0+5347+   1/8 
  Installing       : nginx-mod-http-image-filter-1:1.14.1-9.0.1.module+el   2/8 
  Running scriptlet: nginx-mod-http-image-filter-1:1.14.1-9.0.1.module+el   2/8 
  Installing       : nginx-mod-http-perl-1:1.14.1-9.0.1.module+el8.0.0+53   3/8 
  Running scriptlet: nginx-mod-http-perl-1:1.14.1-9.0.1.module+el8.0.0+53   3/8 
  Installing       : nginx-mod-http-xslt-filter-1:1.14.1-9.0.1.module+el8   4/8 
  Running scriptlet: nginx-mod-http-xslt-filter-1:1.14.1-9.0.1.module+el8   4/8 
  Installing       : nginx-mod-mail-1:1.14.1-9.0.1.module+el8.0.0+5347+92   5/8 
  Running scriptlet: nginx-mod-mail-1:1.14.1-9.0.1.module+el8.0.0+5347+92   5/8 
  Installing       : nginx-all-modules-1:1.14.1-9.0.1.module+el8.0.0+5347   6/8 
  Installing       : nginx-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x8   7/8 
  Running scriptlet: nginx-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x8   7/8 
  Installing       : nginx-mod-stream-1:1.14.1-9.0.1.module+el8.0.0+5347+   8/8 
  Running scriptlet: nginx-mod-stream-1:1.14.1-9.0.1.module+el8.0.0+5347+   8/8 
  Verifying        : nginx-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x8   1/8 
  Verifying        : nginx-all-modules-1:1.14.1-9.0.1.module+el8.0.0+5347   2/8 
  Verifying        : nginx-filesystem-1:1.14.1-9.0.1.module+el8.0.0+5347+   3/8 
  Verifying        : nginx-mod-http-image-filter-1:1.14.1-9.0.1.module+el   4/8 
  Verifying        : nginx-mod-http-perl-1:1.14.1-9.0.1.module+el8.0.0+53   5/8 
  Verifying        : nginx-mod-http-xslt-filter-1:1.14.1-9.0.1.module+el8   6/8 
  Verifying        : nginx-mod-mail-1:1.14.1-9.0.1.module+el8.0.0+5347+92   7/8 
  Verifying        : nginx-mod-stream-1:1.14.1-9.0.1.module+el8.0.0+5347+   8/8 

Installed:
  nginx-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64                      
  nginx-all-modules-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.noarch          
  nginx-filesystem-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.noarch           
  nginx-mod-http-image-filter-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64
  nginx-mod-http-perl-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64        
nginx-mod-http-xslt-filter-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64 
  nginx-mod-mail-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64             
  nginx-mod-stream-1:1.14.1-9.0.1.module+el8.0.0+5347+9282027e.x86_64           
Complete!

Step 3: Start the Nginx service by using the below command

[root@linuxhelp ~]# systemctl start nginx

Step 4: Enable the Nginx service by using the below command.

[root@linuxhelp ~]# systemctl enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /usr/lib/systemd/system/nginx.service.

Step 5: Start the Nginx service by using the below command.

[root@linuxhelp ~]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor prese>
   Active: active (running) since Fri 2023-06-30 07:06:50 IST; 40s ago
 Main PID: 7878 (nginx)
    Tasks: 3 (limit: 22856)
   Memory: 7.6M
   CGroup: /system.slice/nginx.service
           ├─7878 nginx: master process /usr/sbin/nginx
           ├─7879 nginx: worker process
           └─7880 nginx: worker process

Jun 30 07:06:50 linuxhelp systemd[1]: Starting The nginx HTTP and reverse proxy>
Jun 30 07:06:50 linuxhelp nginx[7875]: nginx: the configuration file /etc/nginx>
Jun 30 07:06:50 linuxhelp nginx[7875]: nginx: configuration file /etc/nginx/ngi>
Jun 30 07:06:50 linuxhelp systemd[1]: Started The nginx HTTP and reverse proxy >

Step 6: Type localhost in Browser as shown in the below image 1

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Nginx on Oracle Linux 8.8. Your feedback is much welcome.

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

Does Nginx support load balance?

A

Yes, its supports load balance.

Q

What is the speciality of Nginx?

A

Nginx is built to offer low memory usage and high concurrency.

Q

How many load-balancing methods are supported by Nginx?

A

Nginx supports 3 methods that are round-robin, least-connected, and ip-hash.

Q

Does Nginx have FastCGI support?

A

yes, it supports FastCGI support.

Q

Is Nginx an open-source server?

A

yes, it is free of cost.

Related Tutorials in How to install Nginx on Oracle Linux8.8

Related Tutorials in How to install Nginx on Oracle Linux8.8

How to Configure Nginx as a Reverse Proxy in CentOS
How to Configure Nginx as a Reverse Proxy in CentOS
Nov 26, 2016
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to install Multiple Nginx instances in same Server on CentOS 6
How to install Multiple Nginx instances in same Server on CentOS 6
Oct 26, 2017
How To Create Python SimpleHTTPServer on ubuntu 18.04
How To Create Python SimpleHTTPServer on ubuntu 18.04
Jun 9, 2018
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to Configure Load Balancer in Apache
How to Configure Load Balancer in Apache
Nov 18, 2016
How to configure Nginx Load Balancer in CentOS
How to configure Nginx Load Balancer in CentOS
Nov 9, 2016

Related Forums in How to install Nginx on Oracle Linux8.8

Related Forums in How to install Nginx on Oracle Linux8.8

Web Server
jacob class=
How to remove httpd completely from server
Apr 7, 2017
Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 2018

Related News in How to install Nginx on Oracle Linux8.8

Related News in How to install Nginx on Oracle Linux8.8

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Sebastian ?
How to change non required to required field in SuiteCRM Custom/Default Modules

How to change not required to the required field in SuiteCRM Custom/Default Modules?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.