PWM is an open-source self password reset tool. it's working on LDAP
for PWM install on cantos following application require.
- Java J2SE v1.8
- Apache tomcat 7
- php7.3
1. First update your cent OS server
# yum -y update
2. Disable firewall in cent OS
#systemctl stop firewalld.service
#systemctl disable firewalld.service
#systemctl status firewalld.service
3. Disable selinux in cent OS
4. Install php7.3
5. Install java and Apache tomcat
Java installation
#yum install java-1.8.0-openjdk
#java -version
Now install tomcat
#yum install tomcatChange the java value
#nano /usr/share/tomcat/conf/tomcat.conf
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC"
and save the file and exit
Now install tomcat admin package
#yum install tomcat-webapps tomcat-admin-webapps
Now open tomcat-users.xml and add the entry for user rights
#nano /usr/share/tomcat/conf/tomcat-users.xml
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<role rolename="manager-script"/>
<user username="admin" password="admin@123" roles="manager-gui,admin-gui,manager-script"/>
Start the tomcat service
#systemctl start tomcat.service
#systemctl status tomcat.service
Now open in your browser type: http://10.*.*.*:8080/
Now click on Manager App and type user name and password which you type in tomcat-users.xml file
Before deploy war file increase tomcat upload file size limit because default tomcat upload file size limit is 50MB
#nano /usr/share/tomcat/webapps/manager/WEB-INF/web.xml
Restart the tomcat service
#systemctl restart tomcat.service
Now click on choose file to war file
Upload your war file
After deploy the war file check the status of service
Open the browser and type http://10.*.*.*.:8080/pwm
Now move to the next blog for the Configuration of PWM and Microsoft AD CS Services.
How to install Active Directory in Windows server 2016
How to install DNS in Windows server 2016
How to install DHCP in Windows server 2016
How to install telnet in Windows server 2019
How to install Active Directory in Windows server 2019
0 Comments