Skip to content

Instantly share code, notes, and snippets.

View DmitryMiroshnichenko's full-sized avatar

Dmitry Miroshnichenko DmitryMiroshnichenko

View GitHub Profile
@DmitryMiroshnichenko
DmitryMiroshnichenko / installOpenVbx.sh
Last active July 15, 2017 19:16 — forked from dwelch2344/installOpenVbx.sh
A simple install script to setup OpenVbx on an Debian for Google Compute Engine
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
export DBNAME="openvbxexmpl"
export DBUSER="openvbx"
export DBPASS="openVbxSecretPass"
#! /bin/bash
#
# A script that will upgrade the version of OpenVBX that resides in the /OpenVBX
# directory, back-up the database, copy the current version for backup and replace
# it with the develop branch. The old version is not deleted.
#
# Used for testing, not approved for production!
# Does not take 3rd party plugins in to account.
# customize this for your install