edthedev / ansible-midpoint

Vagrant and Ansible setup for Midpoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-midpoint

Vagrant and Ansible setup for Midpoint

Prerequisites

Vagrant VirtualBox Python python-simplejson Ansible

Setup

  1. git clone http://github.com:edthedev/ansible-midpoint.git
    mkdir midpoint/sources
    
  2. Download Midpoint binaries into the sources directory.

    Unzip the file to sources/midpoint-2.2.1/. If necessary, update the midpoint_war variable in playbook.yml.

  3. cd midpoint
    vagrant up
    curl localhost:8080
    
  4. Configure Tomcat:

    vagrant ssh vim /usr/share/tomcat6/catalina.sh sudo vi /etc/tomcat6/tomcat6.conf

Edit catalina.sh:

...
JAVA_OPTS="$JAVA_OPTS -Dmidpoint.home=/opt/midpoint"
...
  1. Restart Tomcat:

    sudo service tomcat6 restart

  2. Enjoy the Tomcat log file.:

    vi /var/log/tomcat6/catalina.out

  3. Visit MidPoint Admin on localhost_admin site in Firefox.

Tomcat Notes

Tomcat Service Config: /etc/tomcat6 (main config directory) Release Notes : /usr/share/doc/tomcat* Bin Directory : /usr/share/tomcat6 Webapps : /var/lib/tomcat6/webapps Logs : /var/log/tomcat6

About

Vagrant and Ansible setup for Midpoint