Start x11vnc with supervisord

To auo start x11vnc with supervisord, first install x11vnc and supervisord

Create a password file

Replace YOUR_SECRET_PW with whatever password you want to use.

Create supervisord unit file

Add following content

Replace USERNAME_HERE with actual user name used to login to system.

Enable supervisior

You can use following commands to interact with supervisord

See vnc

oracle cloud vpc

Allow ICMP (ping) in Oracle Cloud

Oracle cloud do not allow ICMP/ping to compute instances. To enable ping, you need to enable ICMP in the security group.

On your compute instance details page, you will see “Virtual Cloud Network”.

oracle cloud vpc

Click on Virtual Cloud Network link, that will take you to page with VPC details.

Oracle Virtual Cloud Network

Scroll down, you will see subnet.

Oracle Cloud Public Subnet

Click on Public Subnet, on next page, it shows details about the subnet. Under Security Lists, you will see Default Security List for VirtualCloudNetwork. Click on it to see your firewall rules.

oracle cloud ingress rules

Click Add Ingress Rules button to add new rule. By default port 22 (SSH) allowed from everyone. ICMP was blocked for everyone (rule 2 and 3).

To allow ICMP, you can add a new Rule for ICMP.

Oracle Cloud Add Ingress Rule

On Add Ingress Rules page, select

Click Add Ingress Rules button. Now you should be able to ping to any compute instances on this VPC. It is safe to remove 2 of the existing ICMP rules or edit them instead of adding new rule.

See Oracle Cloud

centovacast icecast

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.

running icecast manually maybe useful when you want to debug some issue with icecast.

To enable bash shell for user, run

Login as user ccuser

Now start icecast with

Beofore you manually start icecast from terminal, make sure you stop icecast by logging into user in Centova Cast control panel.

centovacast icecast

See Centova Cast

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/

You need to verify SSL supported enabled. If you don’t have SSL support, you will see following error.

If SSL enabled, you can verify it with

You will see something like

If you get SSL disabled message, you need to install openssl-dev package

If SSL enabled, install icecast with

Replace icecast provided with CentovaCast with

Enable SSL for stream

You need to edit icecast config for each user to do this. Config file stored at

Find

Replace with

Here port 8005 is whatever port used by the stram. 9005 can be any unused port. It is better just use a port same format, so you know what port SSL will be running on.

Find

Add Below

Now create a file

Paste your SSL in following order

Stop and start icecast in CentovaCast.

Here is a server.conf file for a user with SSL enabled.

https://gist.github.com/serverok/57ae398bb94aa61d9945f2405c73e221/raw

See Centova Cast

Install Paid SSL on Centova Cast

To install SSL on Centova Cast, edit file

Add your SSL cert and ca-bundle file content to this file.

Edit

paste your private key.

Edi nginx config

find

Add below

Verify Nginx config is valid with

If all good, restart nginx with

Now Centova Cast can be accessed using HTTPS/SSL.

ASTPP install SSL

To install SSL on ASTPP server, edit file

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.

Add SSL private key.

Now restart Nginx

By default if you use non HTTPS link, you get default nginx page. To avoid this, set a redirect by editing file

Add inside default server entry

Now restart nginx.

See ASTPP

ASTPP change URL

To change URL of ASTPP installation, edit file

Find

You can update your new URL here.

See ASTPP

Set server time PST/PDT

To set server time to PST/PDT, run

or