How To Install Python 3 and Set Up a Local Programming Environment on Ubuntu 16.04 | DigitalOcean
sudo apt-get update
sudo apt-get -y upgrade
python3 -V
sudo apt-get install -y python3-pip
Install MongoDB Community Edition on Ubuntu — MongoDB Manual 3.4
sudo service mongod start &>/dev/null &
Installing Node.js via package manager | Node.js
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
git clone https://github.com/sundevilyang/robot-student-management.git
cd robot-student-management
npm install
PM2 - Advanced Node.js process manager
npm install pm2 -g
pm2 start app.js --watch
git clone https://github.com/sundevilyang/robot-if-else.git
pip3 install -U git+https://github.com/youfou/wxpy.git@develop
python3 robot.py
- 打开一个terminal,输入
ssh root@172.104.71.9
- 启动mongodb
sudo service mongod start &>/dev/null &
- 运行node程序
pm2 start app.js --watch
- 另外新开一个terminal,
- 输入
ssh root@172.104.71.9
; - 再输入
sudo tmux new -A -s wxpy -c /root/robot-if-else python3 robot.py