Narwhal

From Noisebridge
Revision as of 21:43, 21 May 2020 by (talk | contribs) (→‎Narwhal: nginx w/SSL)
Jump to navigation Jump to search

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)

root@102>