Hope you read my last post WMSPanel Nimble install SSL support for HLS
WMSPanel Nimble Streamer is only available for 64-bit systems.
OS Support for Nimble
– CentOS 7
– Red Hat Enterprise Linux 6 / CentOS 6
– Ubuntu
– Debian
– Raspbian / ARM
– Windows / Windows Core
– macOS
Here I am installing on Ubuntu 18.04.5 LTS
Install nimble server
# sudo bash -c ‘echo -e “deb http://nimblestreamer.com/ubuntu bionic/”>> /etc/apt/sources.list’
# wget -q -O – http://nimblestreamer.com/gpg.key | sudo apt-key add –
# sudo apt-get update
# sudo apt-get install nimble
# sudo apt-get install nimble-srt
Register server in WMSPanel
# sudo /usr/bin/nimble_regutil
!! Replace [email protected] & password with your https://wmspanel.com/dashboard login details !!
Please enter your company’s wmspanel admin account login (email): [email protected]
Please enter your company’s wmspanel admin password: password
Note:
Your Nimble is currently configured to run as root user.
If you’d like to run it as a normal user, please remove /etc/nimble/run_as_root file.
You can also provide –run-as-normal-user option to nimble_regutil
to automatically handle this during the registration.
Restart server
# sudo service nimble restart
Nimble is working on port 8081 …. you will see your newly installed server will list up in WMSPanel Server List https://wmspanel.com/server
http://domain.com:8081/
Install Free Certbot SSL
!! None of the above on Ubuntu 18.04 LTS (bionic) !!
https://certbot.eff.org/lets-encrypt/ubuntubionic-other
# sudo snap install core; sudo snap refresh core
# sudo snap install –classic certbot
# sudo ln -s /snap/bin/certbot /usr/bin/certbot
# sudo certbot certonly –standalone
!! Follow all steps
!! Read Carefully to input Email & Domain info
It will give you Free SSL Keys
# ls -la – /etc/letsencrypt/live/domain.com/
Now Edit Nimble Config to configure SSL keys
# vi /etc/nimble/nimble.conf
ADD at End of file … please replace “domain.com” with your Real Domain name …. I am using port 30443 for Nimble SSL HTTPS
ssl_port = 30443
ssl_certificate = /etc/letsencrypt/live/domain.com/fullchain.pem
ssl_certificate_key = /etc/letsencrypt/live/domain.com/privkey.pem
# sudo service nimble restart
it will give you Nimble HTTPS link
https://domain.com:30443/
Auto Certbot Renew
# vi /root/certbot.sh
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
sudo /usr/bin/certbot renew –quiet && sudo service nimble restart
# chmod 0777 /root/certbot.sh
# crontab -e
15 3 * * * /root/certbot.sh
Installing Nimble Streamer with Certbot SSL | S V N Labs Softwares https://t.co/9l2MnzpamU pic.twitter.com/QHW2oqT26b
— Sandeep Verma (@svnlabs) May 9, 2021