Installing Sakai from binary distributions is the fastest way to get started for production deployments.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sakaiproject/sakai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Java 17 (for Sakai 24+) or Java 11 (for Sakai 22-23)
- Apache Tomcat 9 downloaded and extracted
- MySQL/MariaDB database server running
Download Binary Release
Sakai binary releases are available from the official release repository:Current Supported Releases
Sakai 25.1 (Latest):Step 1: Extract Binary Package
Extract the downloaded binary package:components/- Sakai component librarieslib/- Shared librarieswebapps/- Web application archives (WAR files)
Step 2: Configure Tomcat
See the Tomcat Configuration guide for detailed instructions.Required Configuration
- Set JVM memory and options in
setenv.sh - Configure database connection in
sakai.properties - Update
server.xmlfor proper encoding and connectors
Step 3: Deploy Binary Files
Copy the binary files to your Tomcat installation:Step 4: Configure Database
Create the Sakai database and user:sakai.properties with your database credentials:
Step 5: Start Tomcat
Start Tomcat and monitor the startup:Step 6: Verify Installation
Access Sakai through your browser:- Username:
admin - Password:
admin
Upgrading from Previous Versions
Backup First
Before upgrading, always backup:-
Database:
-
Configuration files:
- Custom content in the content directory
Upgrade Process
- Stop Tomcat
- Remove old webapps and components
- Deploy new binary files
- Review configuration changes in release notes
- Run any required database conversion scripts
- Start Tomcat and test
Database Conversion Scripts
Conversion scripts for version upgrades are located in:Troubleshooting
Deployment Issues
WAR files not expanding:- Check
unpackWARs="true"inserver.xml - Verify file permissions on webapps directory
- Look for errors in
catalina.out
Performance Issues
Slow startup:- Increase heap memory in
setenv.sh - Check database connection performance
- Review GC logs for memory issues
- Increase
-Xmxsetting insetenv.sh - Analyze heap dumps to identify memory leaks
Production Considerations
Security
- Change default admin password
- Configure SSL/TLS certificates
- Restrict access to Tomcat manager
- Review and configure firewall rules
Performance
- Tune JVM heap and GC settings
- Configure database connection pooling
- Enable HTTP/2 in Tomcat
- Consider load balancing for high availability
Monitoring
- Enable JMX for monitoring
- Configure access logs
- Set up log rotation
- Monitor database performance
Next Steps
- Review Release Documentation
- Configure Tomcat for production
- Join the Sakai community