Skip to content

Instantly share code, notes, and snippets.

@Chubby-Chocobo
Last active June 14, 2019 17:13
Show Gist options
  • Save Chubby-Chocobo/156c208e906cf4ca1651ad6a3833b36e to your computer and use it in GitHub Desktop.
Save Chubby-Chocobo/156c208e906cf4ca1651ad6a3833b36e to your computer and use it in GitHub Desktop.
Quick install NodeJS on Centos RHEL 7.5
# 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