-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.sh
executable file
·38 lines (26 loc) · 912 Bytes
/
script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env bash
echo "Add Your Email: "
read email
echo "Your Email is: $email"
echo "Add Username: "
read username
echo "Your Username is: $username"
stty -echo ; read -p "Add Password: " password; stty echo
echo "I don't wanna show you"
echo "Add Subname: "
read subname
echo "Your Subname is: $subname"
echo "Add Domain name: "
read domainname
echo "Your Domain is: $domainname"
sudo apt update
sudo apt upgrade -y
git clone https://github.com/bigbluebutton/bbb-install
sudo apt install -y git vim tmux
./bbb-install/bbb-install.sh -v xenial-220 -s "$subname"."$domainname" -e "$email" -g
docker exec greenlight-v2 bundle exec rake user:create["$username","$email","$password","admin"]
echo "If you wana know how to create Admin account:"
echo "https://docs.bigbluebutton.org/greenlight/gl-admin.html#creating-an-administrator-account"
clear
echo "GO TO:"
echo "https://$subname.$domainname"