Spacing and OL/UL
This is a line.
sudo rm -rf /
This is the line that follows. Great.
sudo rm -rf /
sudo rm -rf /
sudo rm -rf /
# single line with a comment
multiline
shell commands
# with a comment
-
Create the
/etc/ssl/nginx
directory:sudo mkdir -p /etc/ssl/nginx
-
Log in to MyF5 Customer Portal and download your
nginx-repo.crt
andnginx-repo.key
files. -
Copy the files to the
/etc/ssl/nginx/
directory:sudo cp nginx-repo.crt nginx-repo.key /etc/ssl/nginx/
-
Install the prerequisites:
sudo yum install yum-utils procps
-
Set up the yum repository by creating the file
nginx-agent.repo
in/etc/yum.repos.d
, for example usingvi
:sudo vi /etc/yum.repos.d/nginx-agent.repo
-
Add the following lines to
nginx-agent.repo
:ini [nginx-agent] name=nginx agent repo baseurl=https://pkgs.nginx.com/nginx-agent/centos/$releasever/$basearch/ sslclientcert=/etc/ssl/nginx/nginx-repo.crt sslclientkey=/etc/ssl/nginx/nginx-repo.key gpgcheck=0 enabled=1