File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ JAVA_OPTS="-Dspring.profiles.active=default -Djava.awt.headless=true -Xmx4096M -Dwicket.configuration=deployment -Dderby.optimizer.optimizeJoinOrder=false -Dspringfox.documentation.swagger.v2.host=website.url"
Original file line number Diff line number Diff line change 1+ # Installation Document OC-Explorer
2+
3+ ## VPS (virtual server) requirements
4+
5+ - CPU: 4 cores
6+ - Memory: 16GB
7+ - Disk: 128GB SSD
8+
9+ ## Software Prerequisites
10+
11+ - Operating system: Ubuntu Server x64 16.04 LTS or upper
12+
13+ ## Install dependencies
14+
15+ ### Install MongoDB
16+
17+ Please refer to this comprehensive documentation page about how to install MongoDB on Ubuntu
18+ https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-ubuntu/
19+
20+
21+ ## Install OpenJDK 8.0
22+
23+ ` $ sudo apt install openjdk-8-jdk `
24+
25+ ## Create user oce
26+
27+ ` $ sudo useradd -m oce `
28+
29+ ## Option 1 - download and compile source code
30+
31+ ### Install Maven
32+
33+ ` $ sudo apt install maven `
34+
35+ ### Get the source code
36+
37+
38+ ```
39+ $ su - oce
40+ $ git clone https://github.com/devgateway/oc-explorer.git
41+ ```
42+
43+ ### Compile the code
44+
45+ ```
46+ $ cd oc-explorer
47+ $ mvn install
48+ ```
49+
50+ ### Copy artifact and config to startup locatinon
51+
52+ ```
53+ $ cd ~
54+ $ cp forms/target/forms-*-SNAPSHOT.jar oce.jar
55+ $ cp forms/forms.conf oce.conf
56+ ```
57+
58+ ### Edit configuration file
59+
60+ Replace website.url with your website's URL
61+
62+ ### Make symlink to enable startup as service
63+
64+ ```
65+ $ sudo ln -s /home/oce/oce.jar /etc/init.d/oce
66+ $ sudo update-rc.d oce defaults
67+ ```
68+
You can’t perform that action at this time.
0 commit comments