{"id":13022,"date":"2019-03-30T02:56:36","date_gmt":"2019-03-30T02:56:36","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13022"},"modified":"2019-03-30T02:56:36","modified_gmt":"2019-03-30T02:56:36","slug":"installing-shoutcast-radio-server-online-media-streaming-on-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/installing-shoutcast-radio-server-online-media-streaming-on-linux\/","title":{"rendered":"Installing SHOUTCast Radio Server (Online Media Streaming) on Linux"},"content":{"rendered":"<p><b>SHOUTcast<\/b>\u00a0is a proprietary software used to stream media over Internet, especially used in music live streaming by the radio stations in Internet, and is developed by Nullsoft with versions for all major platforms, including Linux.<\/p>\n<div id=\"attachment_8922\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Install-Shoutcast-in-Linux.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8922\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Install-Shoutcast-in-Linux-620x413.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Install-Shoutcast-in-Linux-620x413.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Install-Shoutcast-in-Linux.png 623w\" alt=\"Install Shoutcast in CentOS\" width=\"620\" height=\"413\" aria-describedby=\"caption-attachment-8922\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8922\" class=\"wp-caption-text\">Install Shoutcast in Linux<\/p>\n<\/div>\n<p>This tutorial will guide you on how you can install The\u00a0<b>SHOUTcast Distributed Network Audio Server<\/b>\u00a0(<b>DNAS 2.0<\/b>) in\u00a0<strong>CentOS 7<\/strong>, with the help of which you can use media players, like Winamp or Mixxx to connect to streaming server and broadcast your audio playlists to Internet listeners.<\/p>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/centos-7-installation\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Installation Guide<\/a><\/li>\n<\/ol>\n<p>Although this tutorial only covers\u00a0<b>SHOUTcast<\/b>\u00a0server installation on a\u00a0<strong>CentOS 7<\/strong>\u00a0machine, the same procedure can be applied on other Linux distributions such as\u00a0<strong>RHEL<\/strong>,\u00a0<strong>Fedora<\/strong>,\u00a0<strong>Ubuntu<\/strong>,\u00a0<strong>Debian<\/strong>,\u00a0<strong>Linux Mint<\/strong>, etc. with the remark that you must adapt firewall commands to suit your Linux distribution.<\/p>\n<h3>Step 1: Download and Install SHOUTcast Server<\/h3>\n<p><strong>1.<\/strong>\u00a0Before proceeding with the installation of SHOUTcast server, create a local user from which you will run the server, because running the DNAS server<br \/>\nfrom root account can impose serious security issues to your system.<\/p>\n<p>So, login on your system with root account, create a new user, called\u00a0<b>radio<\/b>, after you\u2019re done logout from root account and, then, login with your newly created user. Here are the following required commands that needs to be executed on the terminal.<\/p>\n<pre># su -\r\n# adduser radio\r\n# passwd radio\r\n# exit\r\n# su - radio\r\n$ pwd \r\n<\/pre>\n<div id=\"attachment_8908\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Add-New-User-in-Linux.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8908\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Add-New-User-in-Linux-620x257.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Add-New-User-in-Linux-620x257.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Add-New-User-in-Linux.png 661w\" alt=\"Add New User in Linux\" width=\"620\" height=\"257\" aria-describedby=\"caption-attachment-8908\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8908\" class=\"wp-caption-text\">Add New User radio<\/p>\n<\/div>\n<p><strong>2.<\/strong>\u00a0Once logged in on your system with the radio account, create two directories named\u00a0<b>download<\/b>\u00a0and\u00a0<b>server<\/b>, then switch to download folder.<\/p>\n<pre>$ mkdir download\r\n$ mkdir server\r\n# cd download\r\n<\/pre>\n<p><strong>3.<\/strong>\u00a0Next, grab the last version of SHOUTcast server archive for Linux, depending on your system architecture, by visiting official Nullsot Download page at.<\/p>\n<ol>\n<li><a href=\"http:\/\/download.nullsoft.com\/shoutcast\/tools\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/download.nullsoft.com\/shoutcast\/tools<\/a><\/li>\n<\/ol>\n<p>Alternatively, use following wget utility to download the archive from command line.<\/p>\n<pre>----------- <b>For 32-bit<\/b> -----------\r\n\r\n$ wget http:\/\/download.nullsoft.com\/shoutcast\/tools\/sc_serv2_linux_09_09_2014.tar.gz\r\n<\/pre>\n<pre>----------- <b>For 64-bit<\/b> -----------\r\n\r\n$ wget http:\/\/download.nullsoft.com\/shoutcast\/tools\/sc_serv2_linux_x64_09_09_2014.tar.gz\r\n<\/pre>\n<div id=\"attachment_8910\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Download-Shoutcast-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8910\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Download-Shoutcast-Server-620x230.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Download-Shoutcast-Server-620x230.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Download-Shoutcast-Server-1024x381.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Download-Shoutcast-Server.png 1040w\" alt=\"Download Shoutcast Server\" width=\"620\" height=\"230\" aria-describedby=\"caption-attachment-8910\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8910\" class=\"wp-caption-text\">Download Shoutcast Server<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0After the download completes, extract the\u00a0<b>sc_serv2_linux_architecture_date.tar.gz<\/b>\u00a0archive, list the directory to locate\u00a0<b>sc_serv<\/b>\u00a0executable binary file and copy it to installation directory, located in\u00a0<b>server<\/b>\u00a0folder, then move to\u00a0<b>SHOUTcast<\/b>\u00a0installation path, by issuing the following commands.<\/p>\n<pre>$ tar xfz sc_serv2_linux_x64_09_09_2014.tar.gz\r\n$ ls\r\n$ cp  sc_serv  ..\/server\/\r\n$ cd  ..\/server\/\r\n$ ls\r\n<\/pre>\n<div id=\"attachment_8911\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Extract-Shoutcast-Archive.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8911\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Extract-Shoutcast-Archive-620x194.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Extract-Shoutcast-Archive-620x194.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Extract-Shoutcast-Archive.png 951w\" alt=\"Extract Shoutcast Archive\" width=\"620\" height=\"194\" aria-describedby=\"caption-attachment-8911\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8911\" class=\"wp-caption-text\">Extract Shoutcast Archive<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Now that you are located in server installation path, create two directories named\u00a0<b>control<\/b>\u00a0and\u00a0<b>logs<\/b>\u00a0and you\u2019re done with the actual installation process. List your directory content to verify if everything is in place.<\/p>\n<pre>$ mkdir control\r\n$ mkdir logs\r\n$ ls\r\n<\/pre>\n<div id=\"attachment_8912\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Files.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8912\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Files-620x208.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Files-620x208.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Files.png 640w\" alt=\"Confirm Shoutcast Files\" width=\"620\" height=\"208\" aria-describedby=\"caption-attachment-8912\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8912\" class=\"wp-caption-text\">Confirm Shoutcast Files<\/p>\n<\/div>\n<h3>Step 2: Create SHOUTcast Configuration File<\/h3>\n<p><strong>6.<\/strong>\u00a0In order to run and operate the server you need to create a configuration file for SHOUTcast. Open your favorite text editor and create a new file, named\u00a0<b>sc_serv.conf<\/b>.<\/p>\n<p>Make sure that this file is created in the same path as your\u00a0<b>sc_serv e<\/b>\u00a0executable binary files are created. Using\u00a0<b>pwd<\/b>\u00a0command should show you this absolute path \u2013\u00a0<b>\/home\/radio\/server<\/b>).<\/p>\n<pre>$ nano sc_serv.conf\r\n<\/pre>\n<p>Add the following statements to\u00a0<b>sc_serv.conf<\/b>\u00a0file (example configuration).<\/p>\n<pre>adminpassword=password\r\npassword=password1\r\nrequirestreamconfigs=1\r\nstreamadminpassword_1=password2\r\nstreamid_1=1\r\nstreampassword_1=password3\r\nstreampath_1=http:\/\/radio-server.lan:8000\r\nlogfile=logs\/sc_serv.log\r\nw3clog=logs\/sc_w3c.log\r\nbanfile=control\/sc_serv.ban\r\nripfile=control\/sc_serv.rip\r\n<\/pre>\n<div id=\"attachment_8913\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Configure-Shoutcast-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8913\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Configure-Shoutcast-Server-620x309.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Configure-Shoutcast-Server-620x309.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Configure-Shoutcast-Server.png 772w\" alt=\"Configure Shoutcast Server\" width=\"620\" height=\"309\" aria-describedby=\"caption-attachment-8913\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8913\" class=\"wp-caption-text\">Configure Shoutcast Server<\/p>\n<\/div>\n<p>Some important settings that you should be aware on this file are\u00a0<b>password<\/b>\u00a0statements, which you must be changed accordingly:<\/p>\n<ol>\n<li><b>adminpassword<\/b>\u00a0\u2013 Admin password required to perform remote administration via the web interface to the server.<\/li>\n<li><b>streampassword_1<\/b>\u00a0\u2013 Password required by remote media player to connect and stream media content to server.<\/li>\n<\/ol>\n<p>Alternatively, if you want to create a configuration file for SHOUTcast server you can go to\u00a0<b>download<\/b>\u00a0directory and run\u00a0<b>builder.sh<\/b>\u00a0or\u00a0<b>setup.sh<\/b>\u00a0scripts, which will let you configure the server from a web interface that can be accessed from the following address.<\/p>\n<pre>http:\/\/localhost:8000\r\nOR\r\nhttp:\/\/ipaddress:8000\r\n<\/pre>\n<p>Once the configuration is created you can copy it to server installation directory.<\/p>\n<p><strong>7.<\/strong>\u00a0To start the server execute\u00a0<b>sc_serv<\/b>\u00a0file from your current working directory, which must be the\u00a0<b>server<\/b>directory, put it on background with\u00a0<b>&amp;<\/b>\u00a0bash operator and direct your browser to\u00a0<b>http:\/\/localhost:8000<\/b>\u00a0URL. Also use\u00a0<b>netstat<\/b>\u00a0command to see if the server is running and on what port numbers it listens.<\/p>\n<pre>$ chmod +x sc_serv\r\n$ .\/sc_serv &amp;\r\n$ netstat -tulpn | grep sc_serv\r\n<\/pre>\n<div id=\"attachment_8914\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8914\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-Server-620x166.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-Server-620x166.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-Server.png 969w\" alt=\"Start Shoutcast Server\" width=\"620\" height=\"166\" aria-describedby=\"caption-attachment-8914\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8914\" class=\"wp-caption-text\">Start Shoutcast Server<\/p>\n<\/div>\n<div id=\"attachment_8915\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Running.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8915\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Running-620x146.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Running-620x146.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Running-1024x241.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Confirm-Shoutcast-Running.png 1072w\" alt=\"Confirm Shoutcast Running\" width=\"620\" height=\"146\" aria-describedby=\"caption-attachment-8915\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8915\" class=\"wp-caption-text\">Confirm Shoutcast Running<\/p>\n<\/div>\n<h3>Step 3: Open Firewall Connections<\/h3>\n<p><strong>8.<\/strong>\u00a0Now SHOUTcast server is up and running but it can\u2019t be accessed yet from outside world due to CentOS Firewall restrictions. To open the server to external connections login with root account and add the rule that will open port\u00a0<b>8000<\/b>\u00a0TCP.<\/p>\n<p>After the rule has been added reload the Firewall to apply changes and logout from your root account.<\/p>\n<pre>$ su -\r\n# firewall-cmd --add-port=8000\/tcp --permanent\r\n# firewall-cmd --reload\r\n# exit\r\n<\/pre>\n<div id=\"attachment_8916\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Open-Shoutcast-Port.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8916\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Open-Shoutcast-Port-620x317.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Open-Shoutcast-Port-620x317.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Open-Shoutcast-Port.png 791w\" alt=\"Open Shoutcast Port\" width=\"620\" height=\"317\" aria-describedby=\"caption-attachment-8916\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8916\" class=\"wp-caption-text\">Open Shoutcast Port<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0Then open a browser from a remote machine and type your server IP Address on port 8000 on URL filed \u2013\u00a0<b>http:\/\/192.168.1.80:8000<\/b>\u00a0\u2013 and the SHOUTcast web interface should appear like in the screenshot below, with no live streams available.<\/p>\n<div id=\"attachment_8917\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Web-Interface.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8917\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Web-Interface-620x184.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Web-Interface-620x184.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Web-Interface-1024x305.png 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Web-Interface.png 1237w\" alt=\"Shoutcast Web Interface\" width=\"620\" height=\"184\" aria-describedby=\"caption-attachment-8917\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8917\" class=\"wp-caption-text\">Shoutcast Web Interface<\/p>\n<\/div>\n<h3>Step 4: Manage SHOUTcast Server and Create Daemon script<\/h3>\n<p><strong>10.<\/strong>\u00a0The command used to manage SHOUTcast radio server is the binary file itself, which must be run from its installation path location in order to be<br \/>\nable to read configuration file. To run the server as a daemon use\u00a0<b>daemon\u00a0<\/b>command option.<\/p>\n<p>You can also instruct the server to read its configurations from a different location by indicating where the configuration file resides, but be advised<br \/>\nthat using this option requires the creation of logs and control directories, which can be confusing in practice and can lead to server inability to start.<\/p>\n<pre>$ pwd  ## Assure that you are in the right installation directory - \/home\/radio\/server\r\n\r\n$ .\/sc_serv   ## Start the server in foreground \u2013 Hit Ctrl + c to stop\r\n\r\n$ .\/sc_serv daemon  ## Start the server as a daemon\r\n\r\n$ Ps aux | grep sc_serv   ## Get Server PID\r\n\r\n$ killall sc_serv  ## Stop server daemon\r\n<\/pre>\n<div id=\"attachment_8918\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Start-Script.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8918\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Start-Script-620x432.jpg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Start-Script-620x432.jpg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Start-Script-1024x714.jpg 1024w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Start-Script.jpg 1157w\" alt=\"Shoutcast Start Script\" width=\"620\" height=\"432\" aria-describedby=\"caption-attachment-8918\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8918\" class=\"wp-caption-text\">Shoutcast Start Script<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0If you need a simplified command to start or stop SHOUTcast radio server, login as root again and create the following executable script on\u00a0<b>\/usr\/local\/bin\/<\/b>\u00a0path as in the example below.<\/p>\n<pre>$ su -\r\n# nano \/usr\/local\/bin\/radio\r\n<\/pre>\n<p>Now add the following excerpt to\u00a0<b>radio<\/b>\u00a0file.<\/p>\n<pre>#!\/bin\/bash\r\ncase $1 in\r\n                start)\r\ncd \/home\/radio\/server\/\r\n.\/sc_serv &amp;\r\n              ;;\r\n                stop)\r\nkillall sc_serv\r\n                ;;\r\n               start_daemon)\r\ncd \/home\/radio\/server\/\r\n.\/sc_serv daemon\r\n               ;;\r\n                *)\r\necho \"Usage radio start|stop\"\r\n                ;;\r\nesac\r\n<\/pre>\n<div id=\"attachment_8919\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Binary-Start-Script.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8919\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Shoutcast-Binary-Start-Script.png\" alt=\"Shoutcast Binary Start Script\" width=\"584\" height=\"440\" aria-describedby=\"caption-attachment-8919\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8919\" class=\"wp-caption-text\">Shoutcast Binary Start Script<\/p>\n<\/div>\n<p><strong>12.<\/strong>\u00a0After the file was created, make it executable, exit root account and a new command shout be available for your SHOUTcast radio server management.<\/p>\n<pre># chmod +x \/usr\/local\/bin\/radio\r\n# exit\r\n<\/pre>\n<p><strong>13.<\/strong>\u00a0To manage the server from now on, use\u00a0<b>radio<\/b>\u00a0command with the following switches.<\/p>\n<pre>$ radio start_daemon\t\t## Starts SHOUTcast server as a daemon\r\n\r\n$ radio start                   ## Starts SHOUTcast server in foreground\r\n\r\n$ radio stop                    ## Stops SHOUTcast server\r\n<\/pre>\n<div id=\"attachment_8920\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Stop-Shoutcast.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8920\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Stop-Shoutcast-620x319.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Stop-Shoutcast-620x319.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Stop-Shoutcast.png 932w\" alt=\"Start Stop Shoutcast\" width=\"620\" height=\"319\" aria-describedby=\"caption-attachment-8920\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8920\" class=\"wp-caption-text\">Start Stop Shoutcast<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0If you want to automatically start the server after reboot, but only on user login (in this case the server was installed on the local user named\u00a0<b>radio<\/b>) issue the following command from radio account home path, then logout and login again to verify the functionality, as presented in the screenshot below.<\/p>\n<pre>$ whoami  \r\n$ echo \u201cradio start_daemon\u201d &gt;&gt; ~\/.bashrc\r\n<\/pre>\n<div id=\"attachment_8921\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-at-Reboot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8921\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-at-Reboot-620x307.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-at-Reboot-620x307.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/09\/Start-Shoutcast-at-Reboot.png 669w\" alt=\"Start Shoutcast at Reboot\" width=\"620\" height=\"307\" aria-describedby=\"caption-attachment-8921\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-8921\" class=\"wp-caption-text\">Start Shoutcast at Reboot<\/p>\n<\/div>\n<p>That\u2019s it! Now, SHOUTcast server is ready to receive sound or playlists from remote media players such as\u00a0<b>Winamp<\/b>\u00a0from\u00a0<b>Windows<\/b>\u00a0and\u00a0<b>Mixxx<\/b>\u00a0from\u00a0<b>Linux<\/b>\u00a0and broadcast all of the received audio content over Internet.<\/p>\n<p><a href=\"http:\/\/www.shoutcast.com\/BroadcastNow\" target=\"_blank\" rel=\"noopener\">http:\/\/www.shoutcast.com\/<\/a><\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-shoutcast-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SHOUTcast\u00a0is a proprietary software used to stream media over Internet, especially used in music live streaming by the radio stations in Internet, and is developed by Nullsoft with versions for all major platforms, including Linux. Install Shoutcast in Linux This tutorial will guide you on how you can install The\u00a0SHOUTcast Distributed Network Audio Server\u00a0(DNAS 2.0) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/30\/installing-shoutcast-radio-server-online-media-streaming-on-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing SHOUTCast Radio Server (Online Media Streaming) on Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13022","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13022"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13022\/revisions"}],"predecessor-version":[{"id":13023,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13022\/revisions\/13023"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}