In this tutorial we are going to learn how to install Centova Cast on centos.

What is Centova Cast?

Centova Cast is the world’s most  leading and  advanced Internet radio stream hosting control panel. Its a web-based administration panel, administrators receive a consolidated overview of all client accounts on its  interface.

System Requirements:

Before installing Centova Cast, you should make sure that your server meets the following basic requirements.

Operating System:

Centova Cast supports the following operation systems:

  • CentOS 5, 6, or 7 (or equivalent RHEL release)
  • Debian Stable
  • Other operating systems based on CentOS or Debian should (in theory) work with Centova Cast, but are untested and officially unsupported.

Database server:

  • MySQL v4.1, v5.0, v5.1, v5.5, or v5.6 database server.

Streaming server:

  • SHOUTcast DNAS v2.x
  • SHOUTcast DNAS v1.9.8
  • IceCast v2.x

Note: The installer can download and install SHOUTcast DNAS v1/2 and IceCast for you automatically.

Installation Procedure of Centova Cast on Centos

1) To begin your full installation of Centova Cast, download the Centova Cast installation script

 wget -O install.sh install.centova.com/LICENSEKEY


Replace LICENSEKEY with your actual Centova Cast v3 license key from your client area.

Eg:

 [root@server ~]# wget -O install.sh install.centova.com/4f9bf107d2073d1ba04814c76c5868db23150cf4b9eda78f1d7e4a6fd83b06byrdhj8


2) After downloaded the script, make it executable:

chmod a+x ./install.sh


Next, decide which streaming server/source software you want Centova Cast to install for you. Centova Cast supports automatic installation of the following:

  1. ShoutCast DNAS v2: add –shoutcast2 to the installer commandline
  2. ShoutCast DNAS v1: add –shoutcast1 to the installer commandline
  3. IceCast: add –icecast to the installer commandline
  4. Liquidsoap: add –liquidsoap to the installer commandline
  5. ices-cc: add –icescc to the installer commandline
  6. sctrans v2: add –sctrans2 to the installer commandline

         3) Run the install.sh script as follows, you can add the above  parameters with the installation script: ./install.sh <options>


For example, to install ShoutCast DNAS v2 along with Liquidsoap and IceCast, you might use: ./install.sh –shoutcast2 –liquidsoap —icecast

4) Once it done visit http://your-ip:2199/ to complete the installation.. If you prefer to use a secure (SSL) connection, you can  use https://your-ip:2199/. You can use the same port for ssl and non ssl connections.

5) The web interface should prompt you to choose an admin password and you need to  enter the connection information for your MySQL database. As well

After the the procedure done Centova Cast should inform you that the installation was successful, and it will lead you to the Centova Cast login page.

If your server is using a firewall, see the firewall section below before proceeding.

Firewall Configuration

If your server is protected by a firewall, you may need to modify your firewall configuration to allow access to Centova Cast and its streams.

For IP tables >>

[root@server ~]#  iptables -I INPUT 1 -i eth0 -p tcp --dport 2199 -j ACCEPT


For CSF>>

  • Open the configuration file of the CSF as follows.
[root@server ~]#  vi /etc/csf/csf.conf.

 

  • Add the port 2199 to the csf.conf file. # Allow incoming TCP ports. …
     TCP_IN = “20,21,22,25,26,53,80,2199″
  • Run the below command to restart the CSF.
[root@server ~]# csf -r

Advanced Installer Options

Advanced users may optionally pass any of the following commandline options to install.sh to further automate the installation process.

  • –channel=edge
    Advanced users wishing to try the latest features and functionality may optionally use the edge branch of Centova Cast. Note that the edge branch is likely to be unstable and contain bugs, as it is the testing branch used by Centova Technologies for testing upcoming releases. Issues in this branch will not receive priority attention, so use caution when selecting this option. The default if no –channel argument is provided is to use the stable branch.
  • –deps
    Instructs the installer to use yum or apt to install all dependencies automatically.
  • –vhosts=PATH
    Configures an alternate path for Centova Cast client data including configuration files, logs, and media. This may be used to place client data on an alternate, larger partition.
  • –force
    Overwrite any existing Centova Cast installation. Note that this will completely remove your entire existing Centova Cast installation and will delete all existing client data. Use with caution.
  • –no-firewall
    Instructs the installer to skip firewall configuration. This option only affects servers using a supported firewall package (currently only CentOS 7 at the time of this writing).

Automating Stage-2 Configuration

Normally, after performing the commandline (install.sh) portion of the installation, Centova Cast prompts the user to visit a web page to finish configuring Centova Cast. This second, web-based portion of the configuration can be automated by passing all of the following options to the install.sh script.

  • –admin-email=EMAIL
    Specifies the administrator E-mail address.
  • –admin-pass=PASSWORD
    Specifies the password to configure for the admin account.
  • –dbname=NAME
    Specifies the MySQL database name to use for Centova Cast.
  • –dbuser=USER
    Specifies the MySQL database username to use for Centova Cast.
  • –dbpass=PASSWORD
    Specifies the MySQL database password to use for Centova Cast.
  • –dbhost=HOST
    (Optional.) Specifies the hostname (or IP address) for the MySQL server. Defaults to localhost.

So,these are the detailed  procedure for installing Centova Cast on Centos. IServer Support, being one of the most trusted server management company, we  provide an excellent server support with the multiple system administrators and thus we help you to grow your business.