Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # Installation: LXC - LXD
- # WebGUI: Webpanel for Ubuntu
- # Tested on Ubuntu 16.04
- # version 1.00
- # written by Henry den Hengst
- #
- if [[ $EUID -ne 0 ]]; then
- echo "This script must be run as root"
- exit 1
- fi
- #
- # update server
- apt-get update && apt-get upgrade -y
- apt install lxd lxc lxc-templates uuid bridge-utils ntp yum git -y
- #
- mkdir /vm
- mkdir /scripts
- #
- wget https://lxc-webpanel.github.io/tools/install.sh -O - | sudo bash
- echo "The panel will be available on HTTP port 5000. Login with username admin and password admin."
- ufw allow 5000
- ufw allow 22
- ufw enable
Advertisement
Add Comment
Please, Sign In to add comment