Ansible playbook to deploy an allinone rpm-based machine alfresco community environment. Based on a 1524MB RAM (and relative JAVA_OPTS tuning) CentOS 6.4 minimal vagrant box and packed with following components:
- Some prerequisites and utilities (wget, unzip, libselinux-python, python-psycopg2, MySQL-python, vim, byobu)
- Oracle Java JDK 7 from Oracle website
- Apache Tomcat 7 from Tomcat website
- PostgreSql 9 from PostgreSql official rpm repo / Mysql 5 from Mysql official repo and Mysql-connector-java
- ImageMagick from distro repo
- FFmpeg from atrpms repo
- Libreoffice from distro repo
- SWFTools from rpmforge repo
- Alfresco Community 4.2 Repository from Alfresco website
- Alfresco Community 4.2 Share from Alfresco website
Especially useful for virtual development environment, maybe using Vagrant.
Configuration variables are in group_vars/all
. You can adjust default values to your need, especially versions, username/password and JAVA_OPTS.
$ git clone https://github.com/libersoft/ansible-alfresco.git ansible-alfresco
$ cd ansible-alfresco/provisioning
$ ansible-playbook [target] site.yml
Point your browser to http://{{ target_ip }}:8080/share
- user:admin
- password:admin
$ cd ansible-alfresco
$ vagrant up
$ vagrant provision
Point your browser to http://127.0.0.1:58080/share
- user:admin
- password:admin
Tested on some machines, ready for development environment.
Include Apache Solr- Apt-based distro compatibility
- Some refactoring (conditionals, variables, tags, users)
- Multi machine environment
- SSL enabled version
Feel free to contribute.