https://github.com/digibib/koha-salt-packer
Alternative approach with the help of packer to build a running koha-server in a virtualbox image. This approach is temporarily abandoned.
https://github.com/digibib/koha-salt-packer
Last synced: about 1 year ago
JSON representation
Alternative approach with the help of packer to build a running koha-server in a virtualbox image. This approach is temporarily abandoned.
- Host: GitHub
- URL: https://github.com/digibib/koha-salt-packer
- Owner: digibib
- Archived: true
- Created: 2014-10-01T13:50:44.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-01T13:51:56.000Z (almost 12 years ago)
- Last Synced: 2025-03-06T09:48:42.871Z (over 1 year ago)
- Language: Scheme
- Size: 109 KB
- Stars: 1
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
koha-salt-packer
======
Deichman Library System - Koha, created by http://www.packer.io/
* builder: www.virtualbox.org
* provisioner: http://docs.saltstack.com/
## Prerequisites
### Software
packer: for installation of packer, see http://www.packer.io/downloads.html
virtualbox: depending on your os. In a *.deb-context:
```sudo apt-get install virtualbox```
salt-minion: packer supports masterless minions. Depending on your os. In a *.deb-context:
```sudo apt-get install salt-minion```
### Datastore
A mysql with koha must be up and running and available for the image on port 3306.
## Usage
To build the virtualbox image containing koha:
```packer build koha.json```
To run the image containing koha, you first have to import it into Virtualbox:
```vboxmanage import output-ubuntu-14.04.amd64.virtualbox/koha-ubuntu-14.04.amd64.virtualbox.ovf```
Then start the virtual machine by:
```vboxmanage startvm koha-ubuntu-14.04.amd64.virtualbox --type headless```
Point your favourite browser to
http://192.168.50.10:8080 for the OPAC-gui
http://192.168.50.10:8081 for the admin-gui
To stop the virtual machine:
```vboxmanage controlvm koha-ubuntu-14.04.amd64.virtualbox poweroff```