Start x11vnc with supervisord

To auo start x11vnc with supervisord, first install x11vnc and supervisord apt -y install supervisor x11vnc Create a password file x11vnc -storepasswd YOUR_SECRET_PW /etc/vncsecret Replace YOUR_SECRET_PW with whatever password you want to use. Create supervisord unit file vi /etc/supervisor/conf.d/x11vnc.conf Add following content [program:x11vnc] priority=200 command=/usr/bin/x11vnc -rfbauth /etc/vncsecret -display :0 -xkb -noxrecord -noxfixes -noxdamage -wait 5 … Read more

Manually run icecast on CentovaCast server

On CentovaCast server, icecast is run as user ccuser, to run icecast, you need to enable shell for this user. By defult, this user have shell access disabled. ccuser:x:1001:1001::/usr/local/centovacast:/bin/false running icecast manually maybe useful when you want to debug some issue with icecast. To enable bash shell for user, run chsh –shell /bin/bash ccuser Login … Read more

icecast

CentovaCast Enable SSL on icecast How to install icecast KH on CentOS 7 Server Autostart icecast using systemd Enable SSL for icecast steam using nginx To run icecast server icecast -c server.conf

CentovaCast Enable SSL on icecast

Before you can get SSL work, you need to compile icecast with SSL. If icecast is not installed with SSL support, it will ignore settings and just serve the stream using non HTTPS. To install Icecast with SSL support, download Icecast from https://icecast.org/download/ cd /usr/local/src wget http://downloads.xiph.org/releases/icecast/icecast-2.4.4.tar.gz tar xvf icecast-2.4.4.tar.gz cd icecast-2.4.4 ./configure –prefix=/usr/serverok/icecast –with-curl … Read more

Install Paid SSL on Centova Cast

To install SSL on Centova Cast, edit file vi /usr/local/centovacast/etc/ssl/certificate.pem Add your SSL cert and ca-bundle file content to this file. Edit vi /usr/local/centovacast/etc/ssl/private.key paste your private key. Creae dhparam. cd /usr/local/centovacast/etc/ssl/ openssl dhparam -out dhparam.pem 4096 Edi nginx config vi /usr/local/centovacast/etc/cc-panel.conf find listen 2199 default ssl; Add below listen 443 ssl; listen 80; Verify … Read more

ASTPP install SSL

To install SSL on ASTPP server, edit file vi /etc/nginx/ssl/nginx.crt; Add your SSL cert on this file. It is good idea to paste your ca-bundle file content after SSL cert, so you have full chain. vi /etc/nginx/ssl/nginx.key Add SSL private key. Now restart Nginx nginx -s reload By default if you use non HTTPS link, … Read more

ERPnext Scheduler Inactive error

ERPnext

After installing ERPnext, when login for first time, i get error message Scheduler Inactive Background jobs are not running. Please contact Administrator. To fix this, login to the user that is used to install erpnext, then change to the erpnext folder su – erpnext cd ~/erpnext Now run bench –site SITE_NAME_HERE enable-scheduler This will set … Read more

Install LetsEncrypt SSL on ERPnext

To install LetsEncrypt free SSL on ERPnext site, run sudo -H bench setup lets-encrypt [site-name] –custom-domain [custom-domain] Example sudo -H bench setup lets-encrypt lab.serverok.in To renew SSL, you can run sudo bench renew-lets-encrypt This will ask for your confirmation to restart nginx. Running this on cronjob won’t work. But you can use “echo y” to … Read more