Last active
July 13, 2020 02:51
-
-
Save boxpositron/da413012018411d3774050f58df6a369 to your computer and use it in GitHub Desktop.
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
sudo yum update -y | |
sudo yum install epel-release -y | |
sudo yum install git -y | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash - | |
sudo yum install gcc-c++ make -y | |
sudo yum install nodejs -y | |
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo | |
sudo yum install yarn -y | |
sudo amazon-linux-extras install epel -y | |
sudo npm install pm2@latest -g | |
pm2 install pm2-logrotate | |
pm2 startup | |
source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment