**文書の過去の版を表示しています。**
Hyper-V test env. setting
Install development tools, nodejs, npm
[sudo] npm install forever -g
start program Record the running logs, and monitor all file changes in the folder
forever start -l forever.log -a -o out.log -e err.log --workingDir /home/liuguanting/mitosearch/Mitosearch -c "npm start" --watchDirectory ./ ./
Stop program
forever list forever stop [order] lsof -i:3004 kill [pid]
After running forever stop
, the reason why forever start
does not run normally is that even if the forever project is stopped, the port is still occupied, you can see the pid of the occupied project by using lsof -i:3004
, and after kill
ed it, forever start
can go smoothly.
Remove firewall
sudo systemctl stop firewalld