p741633 / pm2panel

pm2 web control panel to manager process with web ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pm2panel is web panel for pm2

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
  • libpam0g-dev (for PAM authentication)

how use:

git clone https://github.com/4xmen/pm2panel.git
cd pm2panel
npm install
node pm2panel

if you have problem in npm install step run this command on linux:

Debian/Ubuntu : apt-get install -y build-essential

CentOS : yum install gcc gcc-c++ make

Fedora 23 and above : dnf install @development-tools

On all the Debian/Ubuntu :

sudo apt-get install libpam0g-dev

On all the Centos and RHEL:

sudo yum install pam-devel

Then you can go to url : http://localhost:4000 or http://server_ip:4000 and the default user is admin and password is admin.

you can change config in first lines of pm2panel.js:

const PORT = 4000;
const PAM_AUTH = true; // if set to true, USER and PASS won't be used
const USER = 'admin';
const PASS = 'admin';
const SESSTION_AGE = 10 * 60000; // 10 minutes

change port or user name and password



About

pm2 web control panel to manager process with web ui

License:GNU General Public License v3.0


Languages

Language:JavaScript 96.2%Language:HTML 3.4%Language:CSS 0.4%Language:Shell 0.0%