Created
November 17, 2015 19:51
-
-
Save marpada/f067a3d50defb122066d to your computer and use it in GitHub Desktop.
Add nodesource yum repo for nodesource_012 (workaround https://github.com/nodesource/distributions/issues/124)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Import GPG key of Nodesource RPM Repo | |
wget -O /etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL | |
rpm --import /etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nodesource] | |
name=Node.js Packages for Enterprise Linux 7 (pub 0.12) - $basearch | |
baseurl=https://rpm.nodesource.com/pub_0.12/el/7/$basearch | |
failovermethod=priority | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL | |
[nodesource-source] | |
name=Node.js for Enterprise Linux 7 (pub 0.12) - $basearch - Source | |
baseurl=https://rpm.nodesource.com/pub_0.12/el/7/SRPMS | |
failovermethod=priority | |
enabled=0 | |
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL | |
gpgcheck=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment