CharlestonGeniusCenter / Gantry

Gantry Container Manager repository
https://engility-techworks.github.io/Gantry/
MIT License
1 stars 1 forks source link

Gantry Installer #18

Open JubalBiggs opened 6 years ago

JubalBiggs commented 6 years ago

Use Vagrant & Ansible. Have everything set up to automatically install. Updater Utility (ding ding! We have a new version!)

MartinLane commented 6 years ago

A simple bash script to install everything and start the lxc web panel needed is below.

lxc-web-panel-install.sh:

!/bin/bash

if [[ "$UID" -ne "0" ]];then echo 'You must be root to install LXC Web Panel !' exit fi

apt-get install python python-pip git lxc lxctl lxc-templates pip install flask==0.9 2 mkdir -p /etc/lxc/auto chmod +x '/etc/init.d/lwp' update-rc.d lwp defaults &> /dev/null echo 'Done' /etc/init.d/lwp start echo 'Connect you on http://your-ip-address:5000/'