Setting up the Nginx web server on Edubudgie 22
Nginx Web Server on Edubudgie

Setting up the Nginx web server on Edubudgie 22

Welcome back to another tutorial from our Linux tutorial series.

We are taking a break from Alpine Linux and exploring a new topic.

This time we are going to deploy the Nginx web server on an Edubudgie 22 virtual machine.

Nginx, pronounced "engine-x," is a high-performance, open-source web server and reverse proxy software initially released in 2004 by Igor Sysoev, a Russian software engineer.

Originally developed to solve the C10k problem, which refers to efficiently handling a large number of concurrent connections, Nginx quickly gained popularity for its speed, efficiency, and scalability.

Over time, it evolved to support a wide range of use cases, including serving static and dynamic web content, load balancing, caching, and more.

Today, Nginx is widely used by millions of websites and has become one of the most popular web server solutions in the world.

We need to complete several steps to get it working correctly.

1. Boot the system -- System Ready.

Boot the system -- System Ready

2. Boot the system -- Logged In.

Boot the system -- Logged In

3. Start a new SSH session.

Start a new SSH session
ssh -v -p 2222 [email protected]        

4. Start a new SSH session.

Start a new SSH session

5. Running the command "htop".

Running the command "htop"
htop        

6. Check for updates.

Check for updates
apt-get update        

7. Install the packages necessary for the Nginx Web Server.

Install the packages necessary for the Nginx Web Server
apt-get install nginx        

8. Start the Nginx Web Server system services to get it up and running on our system.

Start the Nginx Web Server system services to get it up and running on our system
systemctl start nginx        

9. Add the Nginx Web server system services to the auto start list so that it will start automatically each time we boot the system.

Add the Nginx Web server system services to the auto start list so that it will start automatically each time we boot the system.
systemctl enable nginx        

10. Create the necessary firewall rules to allow our Nginx Web Server deployment to run properly.

Create the necessary firewall rules to allow our Nginx Web Server deployment to run properly.
ufw allow 'Nginx Full'        

11. Nginx Web Server on Edubudgie.

Nginx Web Server on Edubudgie.

12. Running the command "htop".

Running the command "htop"
htop        

13. Now we can safely and gracefully shut down our system by running the command "poweroff".

Now we can safely and gracefully shut down our system by running the command "poweroff"
poweroff        

That was fun! See you next time. #linux

要查看或添加评论,请登录

Razvan Alexandru Ionica的更多文章

  • Updating Rocky Linux 9.4 packages

    Updating Rocky Linux 9.4 packages

    Rocky Linux was founded by Gregory Kurtzer, one of the original founders of CentOS, in December 2020. The project was…

  • Installing GUI on Oracle Solaris 11 (sol-11_4-text-x86.iso)

    Installing GUI on Oracle Solaris 11 (sol-11_4-text-x86.iso)

    Sun Solaris, now known as Oracle Solaris, is a Unix operating system originally developed by Sun Microsystems. Oracle…

    6 条评论
  • Updating Rocky Linux 9.4 Kernel

    Updating Rocky Linux 9.4 Kernel

    Rocky Linux is a free and open-source enterprise operating system designed to be fully compatible with Red Hat…

    8 条评论
  • Updating Rocky Linux 9.4 Multimedia Codecs

    Updating Rocky Linux 9.4 Multimedia Codecs

    Rocky Linux is an open-source enterprise operating system designed to be a downstream, community-supported…

  • Setting up OpenSolaris 2009.06 (osol-0906-x86.iso) for a virtual machine

    Setting up OpenSolaris 2009.06 (osol-0906-x86.iso) for a virtual machine

    UNIX is a powerful, multiuser, multitasking operating system originally developed in the 1960s and 1970s at AT&T's Bell…

    13 条评论
  • OpenSolaris 2009.06

    OpenSolaris 2009.06

    OpenSolaris was an open-source operating system based on the Solaris kernel and associated tools. It was initiated by…

    32 条评论
  • Force RHEL 7 to set the date 2 years in the past

    Force RHEL 7 to set the date 2 years in the past

    Here is a question from one of our fellow UNIX Europe group members: How can he force RHEL 7 to set the date 2 years in…

    12 条评论
  • Setting up RHEL 7 (rhel-server-7.9-x86_64-dvd) for a virtual machine

    Setting up RHEL 7 (rhel-server-7.9-x86_64-dvd) for a virtual machine

    RHEL 7, or Red Hat Enterprise Linux 7, was a major release of the RHEL operating system that was introduced in June…

    8 条评论
  • Update Rocky Linux from 9.3 to 9.4

    Update Rocky Linux from 9.3 to 9.4

    Rocky Linux is an exciting development in the world of Linux distributions. It was created as a direct response to the…

    2 条评论
  • Install LibreOffice on Rocky Linux 9.3

    Install LibreOffice on Rocky Linux 9.3

    Rocky Linux was created as a community-driven, enterprise-focused Linux distribution. It aims to be a downstream…

社区洞察

其他会员也浏览了