# add the yum repo: wget https://openresty.org/package/centos/openresty.repo mv openresty.repo /etc/yum.repos.d/ # update the yum index: yum check-update
yum install -y openresty