Attempting to install Koha 21.05 in Vagrant
-
Initialize the vagrant file
vagrant init bento/ubuntu-20.04' --box-version=202107.28.0
-
Start the VM
vagrant up
-
Following instructions from https://wiki.koha-community.org/wiki/Debian. Setup package sources
apt-get update apt-get -y install sudo wget gnupg wget -q -O- https://debian.koha-community.org/koha/gpg.asc | sudo apt-key add - apt-get update
-
Add new repository and update
echo 'deb https://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list apt-get update
-
Install MariaDB Server
apt-get install -y mariadb-server
-
Install Apache
apt-get install -y apache2 a2enmod headers proxy_http rewrite cgi
-
Install Koha
apt-get install -y koha-common
-
Create database
sudo koha-create --create-db my-library
-
Enable plack
sudo koha-plack --enable my-library sudo koha-plack --start my-library
-
Restart apache
sudo service apache2 restart
From https://hub.docker.com/r/digibib/koha
docker run -d --name koha \
-p 6001:6001 \
-p 8080:8080 \
-p 8081:8081 \
-e KOHA_INSTANCE=my-library \
-e KOHA_ADMINUSER=admin \
-e KOHA_ADMINPASS=admin \
-e SIP_WORKERS=3 \
-e SIP_AUTOUSER1=sipuser \
-e SIP_AUTOPASS1=sipuser \
-t digibib/koha:2021-08-27.hotfix.b1