• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Nginx on Oracle Linux

  • 00:44 cat /etc/os-release
  • 01:05 yum install nginx
  • 01:41 systemctl start nginx
  • 01:50 systemctl enable nginx
  • 02:12 systemctl status nginx
{{postValue.id}}

To Install Nginx on Oracle Linux

Introduction :

NGINX (Engine X) is one of the most popular, powerful, and high-performance open-source HTTP web servers and reverse proxies that has an event-driven architecture and can also be used as a load balancer, mail proxy, and HTTP cache since it is free, fast, stable, easy to configure, and consumes little resources.

Installation steps :

Step 1 : check the version of the OS

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

Step 2 : Install Nginx package

[root@linuxhelp ~]# yum install nginx
Last metadata expiration check: 0:21:06 ago on Friday 17 December 2021 07:08:27 AM IST.
Dependencies resolved.
============================================================================================================================================
 Package                               Architecture     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-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

Transaction Summary
============================================================================================================================================
Install  7 Packages

Total download size: 857 k
Installed size: 2.0 M
Is this ok [y/N]: y

Step 3 : start the Nginx service.

[root@linuxhelp ~]# systemctl start nginx

Step 4 : Enable the Nginx service.

[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.

 [root@linuxhelp ~]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/nginx.service.d
           └─php-fpm.conf
   Active: active (running) since Fri 2021-12-17 07:30:08 IST; 4min 35s ago
 Main PID: 5058 (nginx)
    Tasks: 2 (limit: 24798)
   Memory: 3.7M
   CGroup: /system.slice/nginx.service
           ├─5058 nginx: master process /usr/sbin/nginx
           └─5059 nginx: worker process

Dec 17 07:30:08 linuxhelp systemd[1]: Starting The nginx HTTP and reverse proxy server...
Dec 17 07:30:08 linuxhelp nginx[5055]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Dec 17 07:30:08 linuxhelp nginx[5055]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Dec 17 07:30:08 linuxhelp systemd[1]: Started The nginx HTTP and reverse proxy server.

Step 6 : Type localhost in Browser snap1

With this Installation of Nginx on oracle linux has comes to an End

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

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, 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.

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 David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

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.