#!/bin/bash if [ "$(id -u)" != "0" ]; then echo "This script must be run as root" 1>&2 exit 1 fi echo ':: Installing repo key' wget http://repo.ajenti.org/debian/key -O- | apt-key add - echo ':: Adding repo entry' echo "deb http://repo.ajenti.org/debian main main ubuntu" >> /etc/apt/sources.list.d/ajenti.list echo ':: Updating lists' apt-get update echo ':: Installing package' apt-get install -y ajenti echo ':: Done! Open https://
:8000 in browser'