August 2017
Intermediate to advanced
278 pages
8h 53m
English
To install OpenResty on an Ubuntu-based system, first we need to import the GPG key used for signing the packages:
wget -qO - https://openresty.org/package/pubkey.gpg | apt-key add -
Like the CentOS installation, we can use a helper package to make the installation of the repository easy. To install it, use the following command:
apt install -y software-properties-common
We can now install the repository for OpenResty and then refresh the package indexes:
add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" apt update
With the repository installed, we can now install the OpenResty package:
apt install -y openresty
Once all the dependencies and OpenResty packages are installed, you can now set the ...
Read now
Unlock full access