标签:install span 客户 更换 -o pos repo version curl -O
1,安装centos 7 ,并调通网络(省略)
2, 更换源成阿里云
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
更换epel
yum install wget
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
3,安装nodejs 默认版本
[root@centos7 ~]# yum install nodejs
查看版本
[root@centos7 ~]# node --version
v6.17.1
4,安装MongoDB server
yum install mongodb-server
5,安装MongoDB 客户端
[root@centos7 ~]# yum install mongodb
[root@centos7 ~]# mongo --version
MongoDB shell version: 2.6.12
6,安装redis
[root@centos7 ~]# yum install redis
[root@centos7 ~]# redis-cli --version
redis-cli 3.2.12
centos 7 安装nodejs MongoDB Redis
标签:install span 客户 更换 -o pos repo version curl -O
原文地址:https://www.cnblogs.com/lyss/p/12496515.html