• 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 opensuse15.1

  • 00:24 cat /etc/os-release
  • 00:37 zypper install nginx
  • 01:05 systemctl enable nginx
  • 01:20 systemctl start nginx
  • 01:30 systemctl status nginx
  • 01:51 cd /srv/www/htdocs/
  • 02:04 vim index.html
{{postValue.id}}

Installation Of Nginx on openSUSE15.1

Process

To check the installed version of operating system

LinuxHelp:~ # cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Use the below command to install Nginx

LinuxHelp:~ # zypper install nginx
Retrieving repository 'Non-OSS Repository' metadata ..................................................[done]
…..
……
The following 2 NEW packages are going to be installed:
  nginx vim-plugin-nginx
The following recommended package was automatically selected:
  vim-plugin-nginx
2 new packages to install.
Overall download size: 849.1 KiB. Already cached: 0 B. After the operation, an additional 2.7 MiB will be used.

Press Y to show all option
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: nginx-1.14.2-lp151.4.3.1.x86_64.rpm ........................................[done (352.4 KiB/s)]
 (1/2) Installing: vim-plugin-nginx-1.14.2-lp151.4.3.1.noarch .........................................[done]
(2/2) Installing: nginx-1.14.2-lp151.4.3.1.x86_64 ....................................................[done]

Use below command to enable the nginx service

LinuxHelp:~ # systemctl enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /usr/lib/systemd/system/nginx.service.

Use below command to start the service

LinuxHelp:~ # systemctl start nginx

To check the status of the Nginx service

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)
   Active: active (running) since Tue 2019-10-22 03:30:40 IST; 18s ago
  Process: 2853 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
 Main PID: 2854 (nginx)
    Tasks: 2 (limit: 19660)
   CGroup: /system.slice/nginx.service
           ├─2854 nginx: master process /usr/sbin/nginx -g daemon off;
           └─2859 nginx: worker process

…
….
Oct 22 03:30:40 LinuxHelp systemd[1]: Started The nginx HTTP and reverse proxy server.

Switch to htdocs directory to create index.html file

LinuxHelp:~ # cd /srv/www/htdocs/

Long listing the current directory

LinuxHelp:/srv/www/htdocs # ll
total 4
-rw-r--r-- 1 root root 537 Sep  5 19:42 50x.html

Create index file using vim editor

LinuxHelp:/srv/www/htdocs # vim index.html
<html>
        <head>
                <title>OpenSUSE Linux</title>
        </head>
        <body>
                <h1>Welcome to LinuxHelp</h1>
                <p>This is a test server for webserver</p>
                <hr>
                <small>Powered by nginx and OpenSUSE Linux server</small>
        </body> 
</html>

After created the index.html file, In browser type IP address of your system 1

2 With this, the method of Nginx on Opensuse15.1 comes to an end.

Tags:
charmi
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the usage Nginx?

A

Nginx is a free and open-source high-performance web server. It also acts as a reverse proxy server, mail proxy server, software load balancer, TLS terminator and caching server.

Q

What is the latest version of Nginx server?

A

version 1.17.4 is the latest version of Nginx server

Q

How many requests can Nginx handle

A

nginx can handle up to 400k to 500k request per second

Q

What is NGINX Plus and how is it different from NGINX open source?

A

please refer the link: https://www.nginx.com/products/nginx/#compare-versions

Q

What is an “instance”?

A

NGINX products are licensed ‘per instance’. Each subscription allows you to run one single instance of the software for the subscription period.

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 Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

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.