- CPU: 4 cores
- Memory: 16GB
- Disk: 128GB SSD
- Operating system: Ubuntu Server x64 16.04 LTS or upper
- MongoDB 3.4 (will be installed below)
Please refer to this comprehensive documentation page about how to install MongoDB on Ubuntu https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
quick list of commands that worked for us:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt update
sudo apt install mongodb-org
sudo systemctl enable mongod
sudo systemctl start mongod
$ sudo apt install openjdk-8-jdk
$ sudo useradd -m oce
$ sudo mkdir /derby
$ sudo chown -R oce:oce /derby
$ sudo apt install p7zip
$ wget http://url-to-derby-download-provided-by-dg-team
$ 7zr x -o/derby oce-derby-*.7z
$ sudo apt install maven
$ su - oce
$ git clone https://github.com/devgateway/oc-explorer.git
$ cd oc-explorer
$ git checkout master
$ mvn -Dmaven.javadoc.skip=true -Dmaven.test.skip=true install
$ cd ~
$ cp forms/target/forms-*-SNAPSHOT.jar oce.jar
$ cp forms/forms.conf oce.conf
- Replace {website.url} with your website's URL
$ sudo ln -s /home/oce/oce.jar /etc/init.d/oce
$ sudo update-rc.d oce defaults
$ sudo service oce start