This provides instruction for installing a default Sakai 11.4 demo instance on Ubuntu-server 16.04 using a packaged binary .deb
A fresh Ubuntu 16.04 install may not have all the required packages until after the package manager is updated, and some dependencies may require upgrading.
update the apt package cache:
apt-get update |
Upgrade packages:
apt-get upgrade |
Prepare a demo database (package default is server:127.0.0.1, username:sakai, password:changeme)
Install MySQL-server:
sudo apt-get install mysql-server |
When prompted set your mysql root user password
Create the sakai database:
echo "CREATE DATABASE sakai default character set utf8" | mysql -uroot -p<rootPw> |
Grant access to the package's default credentials:
echo "GRANT ALL ON sakai.* to 'sakai'@'127.0.0.1' identified by 'changeme'" | mysql -uroot -p<rootPw> |
Download the .deb package (https://drive.google.com/file/d/0B-yFOUaoqdfbV3VfQVJjSDQ4Ums/view?usp=sharing)
> md5sum sakai-11.4.deb cb08c390c2b6a30065b19a1c7bf000bb sakai-11.4.deb |
Install with:
sudo apt install ./sakai-11.4.deb |
Monitor catalina.out for a startup message similar to " INFO: Server startup in 78834 ms" using:
tail -f /var/log/tomcat8/catalina.out |