Added Install Script for AlmaLinux
This commit is contained in:
14
Linux/Node.JS/README.md
Normal file
14
Linux/Node.JS/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# AlmaLinux
|
||||
|
||||
```javascript
|
||||
# Crypto Policies must be set to SHA1
|
||||
update-crypto-policies --set DEFAULT:SHA1
|
||||
reboot
|
||||
|
||||
# Import the GPG-Key
|
||||
rpm --import https://rpm.nodesource.com/gpgkey/nodesource.gpg.key
|
||||
|
||||
# Install NodeJS (change Version pub_##.x)
|
||||
dnf install -y https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm
|
||||
dnf install -y nodejs --setopt=nodesource-nodejs.module_hotfixes=1
|
||||
```
|
||||
Reference in New Issue
Block a user