Alfresco Platform provides flexibility in deployment, accommodating various infrastructures and operational preferences.
Below are several deployment approaches:
Deploying Alfresco using ZIP distribution files involves manually configuring and installing Alfresco on servers. This approach allows for detailed customization of the installation process, making it suitable for environments where specific configurations or integrations are required.
Ansible automation simplifies the deployment and management of Alfresco across multiple servers. Ansible playbooks automate the installation and configuration tasks, ensuring consistency and reducing deployment time. This method is ideal for environments requiring rapid deployment and scalability.
Containerization of Alfresco leverages Docker and Kubernetes technologies, offering a modern approach to deployment:
Docker Compose: Docker Compose simplifies the orchestration of multiple Alfresco services, such as Alfresco Content Repository, ActiveMQ, Elasticsearch, and others, defined in a single YAML file. It facilitates deployment in development, testing, and small-scale production environments.
Helm: Helm charts streamline the deployment of Alfresco on Kubernetes clusters. Helm manages Kubernetes applications through easy-to-use templates (charts) and package management. It enables scalability, version control, and rollback capabilities, making it suitable for production-grade deployments.
This project provides a sample ZIP Distribution Files configuration for deploying the Alfresco Platform.
This project provides a collection of bash
scripts designed to automate various installation and setup tasks on an Ubuntu system. Each script handles a specific component or service, ensuring a streamlined and repeatable setup process. Below is a list of the available scripts along with their descriptions:
PostgreSQL Installation
Java Installation
Tomcat Installation
ActiveMQ Installation
Alfresco Resources Download
Alfresco Installation
Solr Installation
Transform Service Installation
Alfresco Content App Building
Nginx Installation
Start Services
Each script can be executed individually in a bash shell. Despiste user ubuntu
is expected to be used, ensure you have the necessary permissions (e.g., using sudo
where required).
bash scripts/01-install_postgres.sh
bash scripts/02-install_java.sh
bash scripts/03-install_tomcat.sh
bash scripts/04-install_activemq.sh
bash scripts/05-download_alfresco_resources.sh
bash scripts/06-install_alfresco.sh
bash scripts/07-install_solr.sh
bash scripts/08-install_transform.sh
bash scripts/09-build_aca.sh
bash scripts/10-install_nginx.sh
Although the 11-start_services.sh
script includes the sequence for executing the services, it is recommended to run each line manually. This allows you to verify that each service is up and running correctly before proceeding to the next one.
sudo systemctl start postgresql
sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; preset: ena>
Active: active (exited) since Mon 2024-07-29 09:46:15 UTC; 19s ago
sudo systemctl start activemq
sudo systemctl status activemq
● activemq.service - Apache ActiveMQ
Loaded: loaded (/etc/systemd/system/activemq.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-29 09:46:56 UTC; 6s ago
sudo systemctl start transform
sudo systemctl status transform
● transform.service - Transform Application Container
Loaded: loaded (/etc/systemd/system/transform.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-29 09:47:33 UTC; 8s ago
sudo systemctl start tomcat
sudo systemctl status tomcat
● tomcat.service - Apache Tomcat Web Application Container
Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-29 09:48:15 UTC; 7s ago
tail -f /home/ubuntu/tomcat/logs/catalina.out
...
29-Jul-2024 09:49:08.922 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [52678] milliseconds
sudo systemctl start solr
sudo systemctl status solr
● solr.service - Apache SOLR Web Application Container
Loaded: loaded (/etc/systemd/system/solr.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-29 09:49:32 UTC; 11s ago
sudo systemctl start nginx
sudo systemctl status nginx
Default credentials are admin
/admin
Alfresco Repository: http://localhost/alfresco
ACA UI: http://localhost/
Share UI: http://localhost/share
If you encounter issues while using the project, refer to the specific service sections below for credentials, port information, data directories, and log file locations. This guide provides essential details for managing and diagnosing problems with PostgreSQL, Tomcat, ActiveMQ, Solr, Transform Service, and Nginx.
PostgreSQL
alfresco/alfresco
5432
/var/lib/postgresql/16
/var/log/postgresql
Tomcat (Alfresco + Share)
admin/admin
8080
/home/ubuntu/alf_data
(Alfresco filesystem)/home/ubuntu/tomcat/logs
ActiveMQ
admin/admin
8161
61616
/home/ubuntu/activemq/data
/home/ubuntu/activemq/data
Solr
X-Alfresco-Search-Secret: secret
8983
/home/ubuntu/alfresco-search-services/solrhome
/home/ubuntu/alfresco-search-services/logs
Transform Service
8090
Nginx
80
/var/log/nginx/