Dual v3/v2 Deployment

Dual v3/v2 Deployment

Centova Cast v3.x can be deployed on the same server as an existing v2.x installation. The procedure for doing so depends on whether your Apache server uses suPHP.

Without suPHP

If you are not using suPHP with your Centova Cast v2.x installation, you can simply install v3 as usual. You should encounter no problems.

With suPHP

If you are using suPHP on your Apache server, the following three steps need to be performed on your Centova Cast v2.x installation prior to installing v3:

  • Edit /home/centovacast/system/runascc/castd.c and find the line that says:

    #define CAST_PORT  2199
    

    Change that to:

    #define CAST_PORT  2200
    
  • Edit /home/centovacast/system/config.php and find the line that says:

    define('DAEMON_PORT',2199);
    

    Change that to:

    define('DAEMON_PORT',2200);
    
  • Finally, run these commands via SSH (just copy/paste):

    cd /home/centovacast/system/runascc
    rm -f castd
    make
    killall -9 castd
    chmod a+x /home/centovacast/scripts/castdctl.sh
    /home/centovacast/scripts/castdctl.sh start
    

At this point it should be safe to install Centova Cast v3.x.