Last active
June 14, 2019 17:13
-
-
Save Chubby-Chocobo/156c208e906cf4ca1651ad6a3833b36e to your computer and use it in GitHub Desktop.
Quick install NodeJS on Centos RHEL 7.5
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
# Common | |
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
# Redis | |
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | |
sudo yum -y install epel-release yum-utils | |
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
sudo yum-config-manager --enable remi | |
sudo yum -y install redis | |
sudo systemctl start redis | |
sudo systemctl enable redis | |
sudo systemctl status redis | |
# NodeJS | |
sudo yum -y install gcc-c++ make | |
sudo curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash - | |
sudo yum -y install nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment