Skip to content

Instantly share code, notes, and snippets.

@jmprusi
Last active June 10, 2020 07:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmprusi/31b4aee4ef7f3d4bdb6f13b51e27d97e to your computer and use it in GitHub Desktop.
Save jmprusi/31b4aee4ef7f3d4bdb6f13b51e27d97e to your computer and use it in GitHub Desktop.
Install openresty on centos.
cat <<'EOF' > /etc/yum.repos.d/OpenResty.repo
[openresty]
name=Official OpenResty Repository
baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-$releasever-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/pubkey.gpg
enabled=1
enabled_metadata=1
EOF
yum install openresty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment