Installation of the system RadioCMS to the server Centos

Wednesday, 25 February 2015 20:38

RadioCMS - a unique control system radio station through a web-browser. With it, anyone can create their own online radio station. All you need - is to have a virtual or dedicated server and install the necessary software.

Description of the system is available on the official website. Yet software developers recommend the use of the operating system Ubuntu, Debian or FreeBSD, we're going to install on Centos 6.x.

Arrangement described below was performed on a virtual server with Centos and installed panel Vesta Control Panel. That is, we had a clean server, but with the already installed Apache, PHP and so on, which have been established together with the control panel. In principle, if to the server would be running another panel, such as ISPmanager, you are setting RadioCMS does not change.

The first thing you need to install to the server module php libssh2. Without it RadioCMS fail. How to install php libssh2 on Centos server is described in detail in this article.

Next, we need immediately set for a package to avoid any errors during installation of necessary software:

yum install libxslt libxslt-devel libogg-devel libvorbis libvorbis-devel taglib taglib-devel libshout libshout-devel lame lame-devel

Now you need to install Icecast. The new version via yum put strongly discouraged because it may cause problems. Put a stable version of the source code:

tar zxvf icecast-2.3.3.tar.gz
cd icecast-2.3.3
make install

Add user and group:

groupadd icecast 
useradd -g icecast -d /home/icecast -s /sbin/nologin icecast

Pay attention! Run icecast server service is not necessary, it will run through the interface RadioCMS.

Now create the config icecast, And not in the standard location, location etc, and in the other. Create a folder /usr/icecast/, and in her file icecast.xml with the following contents:








<alias source="/" dest="/status.xsl"/>




In this config need 3 times to set a password and specify the ip address of your server.

Now you need to create a folder for logs /usr/local/share/icecast/logs, because it does not exist and assign the folder user and group icecast.

Check the working capacity. In the console, type in the cmdlet to run icecast

icecast -c /usr/icecast/icecast.xml

Open the browser address http://your_ip:8000/

If you open the Icecast Status, then everything is ok, if nothing happened, then port 8000 is closed in iptables and need to open it. For this file /etc/sysconfig/iptables add a line

-A INPUT -p tcp -m tcp --dport 8000 -j ACCEPT

and restart the iptables command

service iptables restart

Again run in the console command to run icecast and open in a browser http://your_ip:8000/ - due to open Icecast Status.

Next, you need to install ezstream. Not need to install the official version, and a special, site RadioCMS, since the use of the official will be a problem. 

tar zxvf ezstream-0.5.6-radiocms-2.4.tar.gz
cd ezstream-0.5.6-radiocms-2.4
make install

In the folder /usr/icecast/ (where we are icecast config) create a playlist file playlist.txt, set it chmod 777, as well as create a config file ezstream - ezstream.xml, with the following contents:

<sourcepassword>password source in the config icecast</sourcepassword>
<decode>lame -f --preset cbr 128 --bitwidth 16 "@T@" -</decode>

We enter the password that you specified in the config file in the source icecast, the path to the playlist, in this case /usr/icecast/playlist.txt, change the name of our radio station, website address, and a description of the genre.

At this preparatory process is complete, you can create a subdomain, for example and set back RadioCMS. 

Installation is very simple, the only moments that need to pay attention:

  • Should not be open_basedir directive
  • During installation, you specify the correct path to the config files and playlists that we are in a folder /usr/icecast/

You will also need to specify the username and password Super Admin server, ie root. This is necessary in order to run the server could RadioCMS Icecast. However, indicate your current username and password superadmin not highly recommend, it is better to create a new root with a very complicated password and specify them when you install RadioCMS. Add root to your control panel, if it allows it, or through console commands:


useradd -ou 0 -g 0 radiouser
passwd radiouser

where radiouser - this username and password you set after entering the second command.

After installation, you must add the cron command specified in the last step.

At this, in principle, everything is left in music folder create a new folder, pour the music (eg by ftp), then in the admin area to create a new playlist RadioCMS, set the time of its launch, add to the playlist and the music you want to start broadcasting.

Address your radio playlist can be found at


If you need help installing the necessary software and RadioCMS - you can apply to our experts. The cost of services is only 10 $.

We are also ready to provide you rent a virtual server on which you can install RadioCMS. The cost starts at $ 5 per month. For more information, please contact our Customer Support.


Leave a comment

  • Payment
  • visa
  • mastercard
  • qiwi
  • webmoney
  • yandex money
  • sberbank
  • mts bank
  • zpayment
  • liqpay
  • alfabank white
Copyright © 2012 - 2024 WebPatron Ltd. All rights reserved.