# pm2panel
**Repository Path**: py-service/pm2panel
## Basic Information
- **Project Name**: pm2panel
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-08-02
- **Last Updated**: 2024-08-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 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:
```bash
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:
On all the Debian/Ubuntu :
```bash
sudo apt-get install libpam0g-dev
```
On all the Centos and RHEL:
```bash
sudo yum install pam-devel
```
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`:
```javascript
const PORT = 3001;
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
