Nginx/Passenger: Difference between revisions
Jump to navigation
Jump to search
| Line 93: | Line 93: | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
lxc launch ubuntu:24.04 passenger && sleep 5 | lxc launch ubuntu:24.04 passenger || true && sleep 5 | ||
lxc delete passenger/ubuntu:24.04 || true | |||
lxc snapshot passenger ubuntu:24.04 && sleep 1 | lxc snapshot passenger ubuntu:24.04 && sleep 1 | ||
lxc restore passenger ubuntu:24.04 && sleep 5 | lxc restore passenger ubuntu:24.04 && sleep 5 | ||
lxc exec passenger -- uname -r | |||
</syntaxhighlight> | |||
<syntaxhighlight lang='bash'> | |||
lxc restore passenger ubuntu:24.04 && sleep 5 | |||
lxc delete passenger/passenger:6.1.2 || true | |||
cat <<'EXE' | \ | |||
lxc exec passenger -- bash | lxc exec passenger -- bash | ||
curl -fsSL https://oss-binaries.phusionpassenger.com/auto-software-signing-gpg-key-2025.txt \ | |||
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/phusion.gpg >/dev/null | |||
cat << SRC | sudo tee /etc/apt/sources.list.d/passenger.list >/dev/null | |||
deb [arch=$(dpkg --print-architecture)\ | |||
signed-by=/etc/apt/trusted.gpg.d/phusion.gpg]\ | |||
https://oss-binaries.phusionpassenger.com/apt/passenger noble main | |||
SRC | |||
cat <<'ASH' | sudo bash | |||
apt-get update;echo | |||
apt-get install -y nginx libnginx-mod-http-passenger | |||
which passenger;echo | |||
passenger version | |||
apt-get clean | |||
ASH | |||
EXE | |||
lxc snapshot passenger passenger:6.1.2 && sleep 1 | |||
lxc restore passenger passenger:6.1.2 && sleep 5 | |||
lxc exec passenger -- passenger version | |||
</syntaxhighlight> | |||
|valign='top' style='width:50%'| | |||
|} | |||
{|class='wikitable mw-collapsible' | |||
!scope='col' style='text-align:left' colspan='2'| | |||
Passenger » Config | |||
|- | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight lang='bash'> | |||
lxc restore passenger passenger:6.1.2 && sleep 5 | |||
lxc exec passenger -- passenger version | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 16:38, 6 February 2026
cat <<'EXE' | sudo bash
apt-get update;echo
apt-get install -y nginx
nginx -v;echo
apt-get clean
EXE
|
|||
| |||
Passenger » Why
|
Passenger » Why | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
Passenger » How
|
Passenger » How | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
References
|
References | ||
|---|---|---|