mirror of https://github.com/tteck/Proxmox.git
parent
ecfb57a919
commit
43ed3ffcaa
|
@ -53,16 +53,14 @@ $STD apt-get -y install openresty
|
||||||
msg_ok "Installed Openresty"
|
msg_ok "Installed Openresty"
|
||||||
|
|
||||||
msg_info "Installing Node.js (Patience)"
|
msg_info "Installing Node.js (Patience)"
|
||||||
$STD apt-get install -y npm
|
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
|
||||||
$STD npm cache clean -f
|
. ~/.bashrc
|
||||||
$STD npm install -g n
|
$STD nvm install 16.20.1
|
||||||
$STD n 16.20.1
|
ln -sf /root/.nvm/versions/node/v16.20.1/bin/node /usr/bin/node
|
||||||
ln -sf /usr/local/bin/node /usr/bin/node
|
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Yarn"
|
msg_info "Installing Yarn"
|
||||||
$STD npm install -g yarn
|
$STD npm install -g yarn
|
||||||
ln -sf /usr/local/bin/yarn /usr/bin/yarn
|
|
||||||
msg_ok "Installed Yarn"
|
msg_ok "Installed Yarn"
|
||||||
|
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
RELEASE=$(curl -s https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
|
||||||
|
|
Loading…
Reference in New Issue