Installing nginx 1.14 / openssl 1.1.1 on Debian 9Debian is really nice in case a newer version (than what’s in repo) of software is need.
Although nginx / openssl provided in their stable repo is somewhat old, it’s quite possible to selectively install softwares from the testing (or unstable / …) repo.
To install softwares from testing repo, the first step is adding testing repo to repository list. This can be done by creating file /etc/apt/sources.list.d/testing.list
with content below:
1 deb http://ftp.debian.org/debian testing main contrib non-free
Next we instruct Debian to stay on stable release unless we otherwise instruct it to, by creating file /etc/apt/apt.conf.d/99defaultrelease
with:
1 APT::Default-Release "stable";
Done this, nginx 1.14 / openssl 1.1.1 could be installed simply by typing:
1234 apt updateapt install -t testing nginxapt install -t testing opensslsystemctl restart nginx
Debian is really nice in case a newer version (than what’s in repo) of software is need.
Although nginx / openssl provided in their stable repo is somewhat old, it’s quite possible to selectively install softwares from the testing (or unstable / …) repo.
To install softwares from testing repo, the first step is adding testing repo to repository list. This can be done by creating file /etc/apt/sources.list.d/testing.list
with content below:
1 | deb http://ftp.debian.org/debian testing main contrib non-free |
Next we instruct Debian to stay on stable release unless we otherwise instruct it to, by creating file /etc/apt/apt.conf.d/99defaultrelease
with:
1 | APT::Default-Release "stable"; |
Done this, nginx 1.14 / openssl 1.1.1 could be installed simply by typing:
1 2 3 4 | apt update apt install -t testing nginx apt install -t testing openssl systemctl restart nginx |