Fedora 4 Vagrant Virtual Machine
git clone https://github.com/fcrepo4-exts/fcrepo4-vagrant.git
cd fcrepo4-vagrant
vagrant up
You can shell into the machine with vagrant ssh
or ssh -p 2222 vagrant@localhost
- Ubuntu 14.04 64-bit machine with:
- Tomcat 7
- Available at: http://localhost:8080
- Manager username = "fedora4", password = "fedora4"
- Fedora 4.x
- Available at: http://localhost:8080/fcrepo
- No authentication configured
- Solr 4.10.3
- Available at: http://localhost:8080/solr, for indexing & searching your content.
- Installed in
/var/lib/tomcat7/solr
- Apache Karaf
- Installed in
/opt/karaf
- Installed as a service
apache-karaf
- Installed in
- Fuseki 2.3.0
- Available at: http://localhost:8080/fuseki, for querying and updating.
- Installed in
/etc/fuseki
- Dataset Path name
/test
- Persistent storage
/etc/fuseki/databases/test\_data
- Fcrepo-camel-toolbox 4.x
- Installed in Tomcat container
- Tomcat 7
###Usage
- Install Vagrant and VirtualBox
- Clone this repository
cd fcrepo4-vagrant
- (optional) to enable role-based access control, edit
install_scripts/config
and change theFEDORA_AUTH
variable to true. This will enable three accounts:- user account
testuser
, with passwordpassword1
- user account
adminuser
, with passwordpassword2
- admin account
fedoraAdmin
with the passwordsecret3
- user account
- (optional) to enable fedora internal audit capability, edit
install_scripts/config
and change the FEDORA_AUDIT variable to true. The FEDORA_AUDIT_LOCATION can also be changed from its default "/audit", if necessary. vagrant up
If you receive the following error:
There are errors in the configuration of this machine, Please fix the following errors and try again:
vm:
* The box 'ubuntu/trusty64' could not be found.
Edit the file Vagrantfile, find the lines:
# Below needed for Vagrant versions < 1.6.x
# config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
and un-comment the config.vm.box_url line, save the file and retry.
It might happen that during the first vagrant up
the reindexing service is not installed and the port 9080 is inaccessible (try telnet localhost 9080
). To fix this run vagrant provision
and check again. If it still does not work, install the services manually:
vagrant ssh
cd /opt/karaf/bin
./client </vagrant/install_scripts/fedora_camel_toolbox.script
If you receive errors involving \r
(end of line):
Edit the global .gitconfig
file, find the line:
autocrlf = true
and change it to
autocrlf = false
Remove and clone again. This will prevent windows git clients from automatically replacing unix line endings LF with windows line endings CRLF.
Current maintainers:
This VM setup was heavily influenced (read: stolen) from Islandora 2.x VM.