1curl -sL https://rpm.nodesource.com/setup_10.x | bash -
2curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo
3yum install -y nodejs yarn
4npm i -g pm2 typescript
5#pm2 startup
6pm2 install typescript
1[mongodb-org-4.2]
2name=MongoDB Repository
3baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/
4gpgcheck=1
5enabled=1
6gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
7
1yum install -y mongodb-org
2#yum install -y https://repo.mongodb.org/yum/redhat/7/mongodb-org/3.6/x86_64/RPMS/mongodb-org-3.6.4-1.el7.x86_64.rpm
3service mongod start
4chkconfig mongod on