\/home\/radio\/server<\/em><\/p>\nnow create the sc_serv.conf file<\/p>\n
$ touch sc_serv.conf<\/p>\n
copy the below example configuration directives to sc_serv.conf file<\/p>\n
adminpassword=yourpassword<\/p>\n
password=yourpassword1<\/p>\n
requirestreamconfigs=1<\/p>\n
streamadminpassword_1=yourpassword2<\/p>\n
streamid_1=1<\/p>\n
streampassword_1=yourpassword3<\/p>\n
streampath_1=https:\/\/radio-server.lan:8000<\/p>\n
logfile=logs\/sc_serv.log<\/p>\n
w3clog=logs\/sc_w3c.log<\/p>\n
banfile=control\/sc_serv.ban<\/p>\n
ripfile=control\/sc_serv.rip<\/p>\n
Some necessary\u00a0explanations<\/u>\u00a0of the above config files:<\/p>\n\n- adminpassword\u2013 Administrator credentials for remote administration using the web interface.<\/li>\n
- streampassword_1\u2013 credentials used by a remote media player to login and stream the audio content.<\/li>\n<\/ul>\n
Here we go , we are ready to start the shoutcast server with default config file.<\/p>\n
Start the server<\/u><\/p>\n
make the sc_serv executable by using the below command.<\/p>\n
$ chmod +x sc_serv<\/p>\n
run the executable in the background using ampersand sign.<\/p>\n
$ .\/sc_serv &<\/p>\n
We can use netstat command to confirm the shoutcast server is online and listening to the requests.<\/p>\n
$ netstat -tulpn | grep sc_serv<\/p>\n
<\/span>Hit your browser with the shoutcast url :<\/span><\/h3>\nHttp:\/\/your-ip-address:8000<\/p>\n
<\/span>Allow the port in firewall<\/span><\/h3>\nNow we will allow the port 8000 in the firewall so that it could be reached by the outside world. You must have root access to open the port.<\/strong><\/p>\nSwitch to your root account.<\/p>\n
$ su –\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 (swith to root)<\/p>\n
# firewall-cmd –add-port=8000\/tcp \u2013permanent\u00a0\u00a0 (allow 8000 port)<\/p>\n
# firewall-cmd \u2013reload\u00a0\u00a0\u00a0\u00a0 (reload the firewall)<\/p>\n
# exit\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ( switch back to radio user)<\/p>\n
Access SHOUTcast server<\/u><\/p>\n
Open a browser at client machine and direct the browser to your server IP address<\/strong><\/p>\nwith 8000 port.<\/strong><\/p>\nHttp:\/\/yourserverip:8000<\/strong><\/p>\nBy now you will be able to see the shoutcast interface.<\/p>\n
You can start\/stop the sc server by executing the sc_serv binary under \/home\/radio\/server path.<\/p>\n
$pwd<\/p>\n
\/home\/radio\/server<\/p>\n
$ .\/sc_serv & ## Start the server in background<\/p>\n
$$ Ps aux | grep sc_serv\u00a0\u00a0 ## find the Server Process ID<\/p>\n
$ killall sc_serv ## Stop the shoutcast server<\/p>\n
Voila! We are ready with the SHOUTcast server with basic configurations. You can customize the config file for more features. By now your server is ready to accept sounds from the remote players (winamp, mixxx).<\/p>\n","protected":false},"excerpt":{"rendered":"SHOUTcast is a free internet radio and audio streaming solution which allows you to broadcast over the internet.…","protected":false},"author":2,"featured_media":171,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[1,10],"tags":[],"class_list":{"0":"post-169","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-geneal","8":"category-tutorials-tips","9":"cs-entry"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":2,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":7899,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/posts\/169\/revisions\/7899"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/media\/171"}],"wp:attachment":[{"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prolimehost.com\/blogs\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}