Skip to content

Commit

Permalink
fix some bugs
Browse files Browse the repository at this point in the history
update README.md
  • Loading branch information
A1Gard committed Aug 1, 2020
1 parent 9b13cb6 commit dd2a7d2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ 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`.


Expand Down
2 changes: 1 addition & 1 deletion pm2panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// config panel
//##############################################################################
const PORT = 3001;
const PAM_AUTH = true; // if set to true, USER and PASS won't be used
const PAM_AUTH = false; // if set to true, USER and PASS won't be used
const USER = 'admin';
const PASS = 'admin';
const SESSTION_AGE = 10 * 60000; // 10 minutes
Expand Down

0 comments on commit dd2a7d2

Please sign in to comment.