- Download VirtualBox
- Download the provided
.ova
file - "Import appliance" in VirtualBox, and import the
.ova
file - Start the machine
- Browse to http://localhost:6837
We run Overview on Netty. This is meant to be a low-traffic server, so we do not add any extra layers such as nginx. Java is enough.
We create this directory structure on the VM:
/opt/overview/lib
: A bunch of jars/opt/overview/run
: Runtime files (PIDs, etc)/opt/overview/log
: Logfiles/opt/overview/script/start-worker
: Starts the worker/opt/overview/script/start-server
: Starts the server/opt/overview/application.conf
: configuration file; disables external services such as email and Google Analytics/etc/init.d/overview-worker
: Starts/stops the worker process/etc/init.d/overview-server
: Starts/stops the server process
When the VM starts, VirtualBox opens two ports on the host:
localhost:6837
("OVER" on a keypad): the Overview server.localhost:6836
: SSH backdoor, usernameoverview
, passwordoverview
These ports are only open to localhost. Other computers on the host (user's) machine won't be able to connect to them.
- Run
play dist
in the root of theoverview-server
project. - Run
make
in this directory.
When you run make
, your computer does this:
- Creates a virtual machine.
- Downloads and installs Ubuntu (mini version) on it.
- Copies
dist.zip
, which is produced by runningplay dist
, to/home/overview/
on the VM. - Copies
vm-files.tar.gz
, created from thevm-files
subdirectory, to/home/overview/
on the VM. - Copies
vm-setup.sh
to/home/overview/
on the VM. - Executes
/home/overview/vm-setup.sh
on the VM, as root. This extracts both archives (most files go in/opt/overview/
on the VM), removes all unnecessary files, shrinks the filesystem and powers off the VM. - Exports the machine in
ova
format.
The virtual machine name has today's date. It will only be unregistered if you
make clean
on the day you create it.