Before you install nginx for the first time on a new machine, you need to set up the nginx packages repository. Afterward, you can install and update nginx from the repository. This section applies to Red Hat Enterprise Linux and its derivatives such as CentOS, Oracle Linux, Rocky Linux, AlmaLinux. Install the prerequisites: sudo yum install yum-utils To set up the yum repository, create the file
{{#tags}}- {{label}}
{{/tags}}