main
ROOT /
pages /
run-on-bare-metal-machine.md
22 lines | ISO-8859-1 | 1 KB

Run on Virtual Machine/Bare Metal Machine

To achieve maximum flexibility, you may run OneDev on virtual machine or bare metal machine

Resource Requirement

OneDev can run happily on a 2 core 2GB box. For personal use, 1 core 1GB box also works. In this case, you will need to edit <OneDev dir>/conf/wrapper.conf to comment out property wrapper.java.maxmemory.percent=50 and uncomment wrapper.java.maxmemory=256m

Installation

  1. Make sure your system has Java 8 or higher installed and available in system path
  2. Make sure your system has git 2.11.1 or higher installed and available in system path
  3. On Linux and Mac, make sure your system has curl installed and available in system path
  4. Select desired OneDev release and download onedev-<release>.zip
  5. Extract downloaded file into selected installation directory. Make sure current user has full permissions to the directory and all its sub directories
  6. Open a command prompt, change to the installation directory, and run command bin\server.bat console (on Windows) or bin/server.sh console (on Unix/Linux/Mac) to start the server

Post-install tasks (optional)

Please wait...
Page is in error, reload to recover