Install edu-sharing
Shutdown Alfresco:
/opt/alfresco-5.0.d/alfresco.sh stop
- Download edu-sharing:
http://edu-sharing.com/downloads/ - Unzip the content somewhere on your system.
- Open the file build.properties and edit the line webserver.home and insert your alfresco location, typically /opt/alfresco-5.0.d/tomcat .
- Open the file call-ant.sh and edit the java binary location to an executable java runtime.
You may use the java provided by alfresco: Use /opt/alfresco-5.0.d/java/bin/java - Run chmod +x install.sh to make the install.sh executable, and open it by calling ./install.sh.
- If this is the first time install
- Open /opt/alfresco-5.0.d/tomcat/shared/classes/homeApplication.properties.xml and edit the entries:
- password: set this to your alfresco admin password
- host: Your public server ip
- domain: Your public server domain
- port: Your public port (apache port), usually 443 (https) or 80 (http)
Open /opt/alfresco-5.0d/tomcat/shared/classes/alfresco-global.properties and add
authentication.ticket.useSingleTicketPerUser=false .
- Enhance the allowed limit for open file handles (default usually 1024)
If you use alfresco.sh for start stop, simply edit the file and put this line at the start
ulimit -n 262144 #256 k file handles
- Open /opt/alfresco-5.0.d/tomcat/shared/classes/homeApplication.properties.xml and edit the entries:
Start Alfresco
/opt/alfresco-5.0.d/alfresco.sh start
Troubleshooting
To get the current status of your tomcat server, take a look at the catalina.out:
tail -f /opt/alfresco-5.0.d/tomcat/logs/catalina.out
./call-ant.sh: 2: ./call-ant.sh: java: not found
Please provide a valid java runtime, see step 5
2017-06-06 14:14:30,311 ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-2] Tracking failed
Stop Alfresco, clear the search index:
Clear the search index by calling
rm -rf /opt/alfresco-5.0d/alf_data/solr4
start Alfresco