Narwhal: Difference between revisions
Jump to navigation
Jump to search
m (→Narwhal: nginx w/SSL) |
m (→Big Blue Button (BBB): don't no work 'aight with 18.04) |
||
| Line 48: | Line 48: | ||
==== Big Blue Button (BBB) ==== | ==== Big Blue Button (BBB) ==== | ||
Pre-installation checks: | |||
<pre> | <pre> | ||
root@102> | root@102:/# cat /etc/default/locale | ||
# File generated by update-locale | |||
LANG="en_US.UTF-8" | |||
root@102:/# systemctl show-environment | |||
LANG=en_US.UTF-8 | |||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin | |||
root@102:/# free -h | |||
total used free shared buff/cache available | |||
Mem: 9.5G 165M 5.3G 684K 4.1G 9.1G | |||
Swap: 2.0G 0B 2.0G | |||
root@102:/# cat /etc/lsb-release | |||
DISTRIB_ID=Ubuntu | |||
DISTRIB_RELEASE=18.04 | |||
DISTRIB_CODENAME=bionic | |||
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" | |||
root@102:/# uname -m | |||
x86_64 | |||
root@102:/# ip addr | grep inet6 | |||
inet6 ::1/128 scope host | |||
root@102:/# uname -r | |||
4.15.0-101-generic | |||
root@102:/# cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l | |||
8 | |||
# Reports 18.04 vs. 16.04, maybe fix with xenial linkage | |||
root@102:/# echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" | sudo tee -a /etc/apt/sources.list | |||
</pre> | |||
Step-by-step: | |||
<pre> | |||
root@102:/# | |||
add-apt-repository ppa:bigbluebutton/support -y | |||
add-apt-repository ppa:rmescandon/yq -y | |||
apt-get update | |||
apt-get dist-upgrade | |||
wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | apt-key add - | |||
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |||
apt-get update | |||
apt-get install -y mongodb-org curl | |||
# node.js Version 8 deprecation WARNING with next command | |||
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |||
apt-get install -y nodejs | |||
wget https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | sudo apt-key add - | |||
echo "deb https://ubuntu.bigbluebutton.org/xenial-22/ bigbluebutton-xenial main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list | |||
apt-get update | |||
# This didn't work... | |||
# had to add xenial main to get libldns1 to be an option, still stuck on kurento dependency for libboost-log1 | |||
# sources.list + deb http://archive.ubuntu.com/ubuntu/ xenial main | |||
# apt-get install bbb-config bbb-freeswitch-core bbb-webrtc-sfu libcurl3 libldns1 kurento-media-server | |||
apt-get install libcurl3 bbb-freeswitch-core | |||
apt-get install bbb-playback-presentation | |||
Errors were encountered while processing: | |||
bbb-record-core | |||
bbb-playback-presentation | |||
...FAIL, FAIL, FAIL | |||
</pre> | </pre> | ||
Revision as of 22:28, 21 May 2020
Initial Config
From fresh install of Ubuntu 16.04...
Backup
1 cd /
3 mkdir xfer
6 mkdir xfer/teal
5 cp --help
20 cp -Rpv bin* xfer/teal/
24 cp -Rpv boot* xfer/teal/
29 cp -Rpv etc* xfer/teal/
31 cp -Rpv lib* xfer/teal/
33 cp -Rpv opt* xfer/teal/
36 cp -Rpv run* xfer/teal/
37 cp -Rpv sbin* xfer/teal/
46 cp -Rpv usr* xfer/teal/
48 cp -Rpv var* xfer/teal/
Utils
root@102>
nginx
root@102:/# apt install nginx root@102:/# nano /etc/nginx/sites-available/default # change server_name from '_' to 'SOME_RAD_FQDN.COM' <-- an actual domain
certbot (letsencrypt)
root@102:/# apt install certbot root@102:/# apt install python3-certbot-nginx root@102:/# certbot # You should get an option to create certificates for the domain you specified in 'SOME_RAD_FQDN.COM' # Follow the instructions, and then choose option 2 when asked to enable redirect modifications root@102:/# systemctl reload nginx # Test your implementation here: https://www.ssllabs.com/ssltest/analyze.html
Big Blue Button (BBB)
Pre-installation checks:
root@102:/# cat /etc/default/locale
# File generated by update-locale
LANG="en_US.UTF-8"
root@102:/# systemctl show-environment
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
root@102:/# free -h
total used free shared buff/cache available
Mem: 9.5G 165M 5.3G 684K 4.1G 9.1G
Swap: 2.0G 0B 2.0G
root@102:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
root@102:/# uname -m
x86_64
root@102:/# ip addr | grep inet6
inet6 ::1/128 scope host
root@102:/# uname -r
4.15.0-101-generic
root@102:/# cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l
8
# Reports 18.04 vs. 16.04, maybe fix with xenial linkage
root@102:/# echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" | sudo tee -a /etc/apt/sources.list
Step-by-step:
root@102:/# add-apt-repository ppa:bigbluebutton/support -y add-apt-repository ppa:rmescandon/yq -y apt-get update apt-get dist-upgrade wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | apt-key add - echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list apt-get update apt-get install -y mongodb-org curl # node.js Version 8 deprecation WARNING with next command curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - apt-get install -y nodejs wget https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc -O- | sudo apt-key add - echo "deb https://ubuntu.bigbluebutton.org/xenial-22/ bigbluebutton-xenial main" | sudo tee /etc/apt/sources.list.d/bigbluebutton.list apt-get update # This didn't work... # had to add xenial main to get libldns1 to be an option, still stuck on kurento dependency for libboost-log1 # sources.list + deb http://archive.ubuntu.com/ubuntu/ xenial main # apt-get install bbb-config bbb-freeswitch-core bbb-webrtc-sfu libcurl3 libldns1 kurento-media-server apt-get install libcurl3 bbb-freeswitch-core apt-get install bbb-playback-presentation Errors were encountered while processing: bbb-record-core bbb-playback-presentation ...FAIL, FAIL, FAIL