How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "nrgxnat/xnatstack-ubuntu1804"
end
vagrant init nrgxnat/xnatstack-ubuntu1804
vagrant up
This version was created over 3 years ago.
The XNAT application stack on Ubuntu 18.04.
Note that this stack includes PostgreSQL 10, which requires XNAT 1.7.6 or later. Don't use this box with earlier versions of XNAT!
Built from tag ubuntu-1804-1.1.5 on https://bitbucket.org/xnatdev/xnatstack.
This version was created over 4 years ago.
The XNAT application stack on Ubuntu 18.04.
Note that this stack includes PostgreSQL 10, which requires XNAT 1.7.6 or later. Don't use this box with earlier versions of XNAT! Unlike the earlier 1.1.3 release of the xnatstack-ubuntu1804 box, this box has Tomcat 7.
Built from tag 1.1.4 on https://bitbucket.org/xnatdev/xnatstack.
This version was created almost 5 years ago.
The XNAT application stack on Ubuntu 18.04.
Note that this stack includes Tomcat 8 and PostgreSQL 10, which requires XNAT 1.7.6 or later. Don't use this box with earlier versions of XNAT!
Built from tag 1.1.3 on https://bitbucket.org/xnatdev/xnatstack.
This version was created almost 6 years ago.
First release of XNAT stack running on Ubuntu 18.04. It's important to note that the standard release of XNAT will not run on this box. The application server is Tomcat 8: XNAT's internal context configuration is not compatible with that platform. However, you only need a minor change to one text file. You can integrate this change into the XNAT war file with the following commands (this has been tested on Mac and Ubuntu):
$ jar xf xnat-web-VERSION.war META-INF/context.xml
$ mv META-INF/context.xml META-INF/context.xml.tomcat7
$ cat META-INF/context.xml.tomcat7 | sed 's#<!-- Resources#<Resources#' | \
sed 's#LegacyCookieProcessor" / -->#LegacyCookieProcessor" />#' | \
sed 's#<\(Loader .*/\)>#<!-- \1 -->#' > META-INF/context.xml
$ jar uf xnat-web-VERSION.war META-INF/context.xml
$ rm -rf META-INF
You can then copy the patched war file to the webapps folder in Tomcat as ROOT.war or xnat.war or however you want the application deployed.