![]() ![]() Note: If you already have an Apache server running, you will need to disable it before starting Nginx. To install EPEL, run the following command using the Yum package manager: sudo yum install -y epel-release EPEL is free to use and provides numerous open-source packages to install with Yum. Nginx is not available in the standard repositories that come with the CentOS package, so you will need to install the EPEL repository on your server. Step 2: Install Extra Packages for Enterprise Linux (EPEL) If you do not use this parameter, you will be prompted to confirm your commands. We will be using it a lot, as you will notice. It serves to avoid confirmation questions. To do so, run the following command: sudo yum -y update The configuration procedure below details the steps necessary to set up Nginx on CentOS 7.įor installation instructions for CentOS 8, please read How to Install Nginx on CentOS 8. Currently, CentOS 8 is the latest version, while CentOS 7 is supported until the year 2024. Generally, CentOS is the preferred distribution package in the hosting industry. You will need to connect a domain to your Nginx web server
0 Comments
Leave a Reply. |