How to setup Centova Audio Streaming server.
Centova Cast is the world's most advanced Internet radio stream hosting control panel. Here I will explain how we can configure centova so that we can provide it to the users.
First we need centova license. Then we will get centova source code that can be used. Download the cource code according to the server whether it is a linux red hat, debain server. Extract the tar file
{codecitation}tar xzvf centovacast-x.x.x-xxx.tar.gz{/codecitation}
make sure you have following packages in the server
{codecitation}mysql-server httpd php php-gd php-cli php-mysql gcc make wget tar gzip which proftpd{/codecitation}
Then run the installer
{codecitation} ./install.sh{/codecitation}
Proceed with the instructions in it and take the front end through browser. Then in cpanel servers proftp without mysql server is installed usually. So I am proceeding with that.
The centovacast-userdump.php script file included in the ftp/proftpd/non-mysql/ directory
of the Centova Cast installation tarball will dump your Centova Cast user list into a ProFTPd-
compatible passwd file. This script will need to be run periodically (eg: via cron) to keep the passwd
file up to date.
It is important to note that this is a "last resort" integration technique and its use is strongly
discouraged. Wherever possible, you should use MySQL-based ProFTPd integration.
To install the centovacast-userdump.php script, follow these instructions:
1. Edit the centovacast-userdump.php file and change the CENTOVACAST_PATH setting to
the full path to your Centova Cast system directory (usually /home/centovacast/system/).
2. Copy centovacast-userdump.php to an appropriate location on your server, for example:
cp centovacast-userdump.php /home/centovacast/centovacast-userdump.php
3. Setup an entry in your crontab to run the following command every 5 minutes:
{codecitation} php -q /home/centovacast/centovacast-userdump.php /home/centovacast/passwd /home/centovacast/group{/codecitation}
Note that while the above appears wordwrapped due to space limitations, it should all appear on
a single line.
If you are editing /etc/crontab directly you can use:
{codecitation} */5 * * * * centovacast php -q
/home/centovacast/centovacast-userdump.php
/home/centovacast/passwd /home/centovacast/group{/codecitation}
Add this in the proftp configuration
{codecitation}
<VirtualHost IP >
ServerName ftp.maindomain.com
AuthUserFile /home/centovacast/passwd
AuthGroupFile /home/centovacast/group
AuthOrder mod_auth_unix.c mod_auth_file.c
MaxClients 3 "Sorry, this ftp server has reached its maximum user count (%m). Please try again later"
DirFakeGroup On ftpgroup
DirFakeUser On ftpuser
DefaultRoot ~
<Directory />
AllowOverwrite on
HideGroup wheel
HideUser root
</Directory>
</VirtualHost>
{/codecitation}
Now restart the server and make sure ftp port is listening properly. Now go to front end and login as admin and password specified. On new accounts, use user >> shoutcast DNAS >> ices-cc and click on create.
You will be asked some more details like server configurations and all. Then go to admin again and on right side of user, click on login to that account. Then click on configure server >> enable autoDJ
Then you can see that media library and playlist.
Now login with the user login through ftp and upload mp3 files to media folder. After that click on update manage playlist > media library and you can see new mp3 files in it. Then click on media library and add audios to already created playlist.
Now you can start the server. You can get important links from the quick link option in side menu.
If ftp is not working, you can directly upload audio files to locations as /home/centovacast/vhosts/<user>/var/spool/media/. Please make sure you need to give permission properly.
Hope this will help you for a quick start