Skip to content

Add sudo to wget command in Step 7 (Ubuntu) of NGINX Plus install guide #893

@travisamartin

Description

@travisamartin

Doc URL: https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/#install_debian_ubuntu

Issue:

A customer reported that Step 7 of the Ubuntu installation instructions fails unless sudo is added before the wget command.

Current command:

wget -O - https://cs.nginx.com/static/keys/nginx_signing.key \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null

Customer feedback

Please add sudo to Step 7 (wget cmd) in the ubuntu commands. It hangs for me otherwise then everything else fails :o(

Suggested fix
Update the command to:

sudo wget -O - https://cs.nginx.com/static/keys/nginx_signing.key \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions