you can do with this application with web GUI and without any command:
- Add process to pm2
- Remove process from pm2
- Restart process in pm2
- show log of process in pm2
- Save processes
- has login
Requirement:
- nodejs
git clone https://github.com/4xmen/pm2panel.git
cd pm2panel
npm install
node pm2panel
Then you can go to url : http://localhost:3001 or http://server_ip:3001 and the default user is admin
and password is admin
.
you can change config in first lines of pm2panel.js
:
const PORT = 3001;
const USER = 'admin';
const PASS = 'admin';
const SESSTION_AGE = 10 * 60000; // 10 minutes
change port or user name and password