Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fresh centos 64 bit with Node and mongo
sudo yum update -y
echo "[mongodb]" >> /etc/yum.repos.d/mongodb.repo
echo "name=MongoDB Repository" >> /etc/yum.repos.d/mongodb.repo
echo "baseurl=" >> /etc/yum.repos.d/mongodb.repo
echo "gpgcheck=0" >> /etc/yum.repos.d/mongodb.repo
echo "enabled=1" >> /etc/yum.repos.d/mongodb.repo
sudo yum install mongodb-org -y
sudo service mongod start
sudo chkconfig mongod on
sudo rpm --import
sudo rpm -Uvh
sudo yum install nodejs npm --enablerepo=epel -y
echo "Mongo and node.js are installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.