Last active
January 7, 2022 05:13
-
-
Save tolgamorf/c5f36a104c8d827b7f016fe4397a5042 to your computer and use it in GitHub Desktop.
Ubuntu server setup: Miniconda + Node.js + npm + PM2
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
| wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
| bash Miniconda3-latest-Linux-x86_64.sh | |
| curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh | |
| sudo bash nodesource_setup.sh | |
| sudo apt-get install -y nodejs | |
| sudo npm install pm2@latest -g | |
| # pm2 startup | |
| sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu | |
| sudo chown ubuntu:ubuntu /home/ubuntu/.pm2 /home/ubuntu/.pm2/rpc.sock /home/ubuntu/.pm2/pub.sock | |
| conda install -y python-rapidjson regex twisted click | |
| pip install python-binance python-coinzo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.