diff --git a/README.md b/README.md index e096e6a..70d921b 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/pm2panel.js b/pm2panel.js index 91191ab..8b115ab 100644 --- a/pm2panel.js +++ b/pm2panel.js @@ -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