Installation
Introduction
There three different ways for the installation. I choose the docker deployment.
Requirements
- Debian Linux Server
- pre-installed docker
Installation
The PWM docker image includes Java and Tomcat. It listens using https on port 8443, and has a volume exposed as /config. You will need to map the /config volume to some type of persistent docker volume for PWM to retain configuration.
Download the newest version
Goto https://github.com/pwm-project/pwm/releases
find and download the most recent .tar file. In my case it was pwm-docker-image-2.0.6.tar.
Load the docker image
Load your docker image with image name of default pwm/pwm-webapp:
docker load --input=pwm-docker-image-v2.0.0.tar
Create file structure
I worked in the root path.
mkdir pwm-config
This subdirectoy will become very useful, hence there will be all fiels for configuration and debugging puposes.
Create docker image
Create docker image named mypwm, map to the server's 8443 port, and set the config volume to use the server's local file system /home/user/pwm-config folder (this will be the PWM application path for the container):
docker create --name mypwm -p '8443:8443' --mount 'type=bind,source=/root/pwm-config,destination=/config' pwm/pwm-webapp
Start the mypwm container:
docker start mypwm