Skip to content

Instantly share code, notes, and snippets.

@aursu
Last active June 10, 2024 13:05
Show Gist options
  • Save aursu/2ace2f1450f30df68146a1ef3a2a073a to your computer and use it in GitHub Desktop.
Save aursu/2ace2f1450f30df68146a1ef3a2a073a to your computer and use it in GitHub Desktop.
Install OpenResty on Raspberry Pi 4 managed by Ubuntu 20.10 (Groovy Gorilla)
### OpenResty installation
#### RPM package manager installation
apt install rpm
#### Packages installation
rpm -ivh https://openresty.org/package/centos/7/aarch64/openresty-zlib-1.2.11-3.el7.aarch64.rpm
rpm -ivh https://openresty.org/package/centos/7/aarch64/openresty-openssl111-1.1.1h-1.el7.aarch64.rpm
rpm -ivh https://openresty.org/package/centos/7/aarch64/openresty-pcre-8.44-1.el7.aarch64.rpm
rpm -ivh https://openresty.org/package/centos/7/aarch64/openresty-1.19.3.1-1.el7.aarch64.rpm --nodeps
#### User/Group setup
groupadd -o -g 65534 nobody
#### Enable in systemd
systemctl daemon-reload
systemctl enable openresty
systemctl start openresty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment