1.Build a target Linux host
Clone this repository, cd into the directory that is created
git clone https://github.com/folio-org/folio-install
cd folio-install
Bring up the Vagrant VM, log into it
vagrant up
vagrant ssh
This will create a VirtualBox VM based on this Vagrantfile, running a generic Ubuntu Xenial OS, with 10 GB RAM and 2 CPUs. Port 9130 of the guest will be forwarded to port 9130 of the host, and port 80 of the guest will be forwarded to port 3000 of the host. The folio-install directory on the host will be shared on the guest at the mount point /vagrant.
2.Install and configure required packages
Runtime requirements: Java 8, nginx, PostgreSQL 9.6, Docker
Update the apt cache
sudo apt-get update
Install Java 8 and nginx, and make Java 8 the system default
sudo apt-get -y install openjdk-8-jdk nginx
sudo update-java-alter