Update 03-01-2024
This commit is contained in:
@@ -10,20 +10,20 @@
|
||||
|
||||
```bash
|
||||
# plesk ext nodejs --versions
|
||||
Enabled Version Path
|
||||
false 17.4.0 /opt/plesk/node/17/bin/node
|
||||
true 16.13.2 /opt/plesk/node/16/bin/node
|
||||
true 14.19.0 /opt/plesk/node/14/bin/node
|
||||
false 12.22.10 /opt/plesk/node/12/bin/node
|
||||
Enabled Version Path
|
||||
true 21.4.0 /opt/plesk/node/21/bin/node
|
||||
true 20.10.0 /opt/plesk/node/20/bin/node
|
||||
true 18.19.0
|
||||
true 16.20.2
|
||||
```
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
root@localhost:~# /opt/plesk/node/16/bin/node -v
|
||||
v16.13.2
|
||||
root@localhost:~# /opt/plesk/node/16/bin/npm -v
|
||||
8.1.2
|
||||
root@localhost:~# /opt/plesk/node/20/bin/node -v
|
||||
v20.10.0
|
||||
root@localhost:~# /opt/plesk/node/20/bin/npm -v
|
||||
10.2.3
|
||||
```
|
||||
|
||||
```bash
|
||||
@@ -34,8 +34,8 @@ v16.13.2
|
||||
|
||||
|
||||
```bash
|
||||
root@localhost:~# ln -s /opt/plesk/node/16/bin/node /usr/bin/node
|
||||
root@localhost:~# ln -s /opt/plesk/node/16/bin/npm /usr/bin/npm
|
||||
root@localhost:~# ln -s /opt/plesk/node/20/bin/node /usr/bin/node
|
||||
root@localhost:~# ln -s /opt/plesk/node/20/bin/npm /usr/bin/npm
|
||||
```
|
||||
|
||||
|
||||
@@ -56,9 +56,9 @@ root@localhost:~#
|
||||
```bash
|
||||
root@localhost:~# npm install -g thumbsup
|
||||
|
||||
/opt/plesk/node/17/lib/node_modules/thumbsup'
|
||||
/opt/plesk/node/20/lib/node_modules/thumbsup'
|
||||
|
||||
root@localhost:~# ln -s /opt/plesk/node/17/lib/node_modules/thumbsup/bin/thumbsup.js /usr/bin/thumbsup
|
||||
root@localhost:~# ln -s /opt/plesk/node/20/lib/node_modules/thumbsup/bin/thumbsup.js /usr/bin/thumbsup
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user