{"id":4245,"date":"2018-05-31T14:22:17","date_gmt":"2018-05-31T10:22:17","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-shoutcast-server\/"},"modified":"2018-05-31T14:22:17","modified_gmt":"2018-05-31T10:22:17","slug":"how-to-install-shoutcast-server-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Shoutcast Server on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>SHOUTcast is a free, open source and cross-platform software application that can be used to stream media over the Internet. SHOUTcast is specially used for creating or listening to Internet audio broadcasts. SHOUTcast allows us to broadcast a stream of music to the remote client connected to the server.<\/p>\n<p>In this tutorial, we will learn how to install SHOUTcast media server on Ubuntu 18.04 LTS.<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04 LTS.<\/li>\n<li>A static IP address 192.168.0.102 is configured on your server.<\/li>\n<li>root is setup on your server.<\/li>\n<\/ul>\n<h2 id=\"install-shoutcast\">Install Shoutcast<\/h2>\n<p>First, you will need to download the latest version of the Shoutcast from their official website. You can download it with the following command:<\/p>\n<p class=\"command\">cd ~<br \/>wget\u00a0http:\/\/download.nullsoft.com\/shoutcast\/tools\/sc_serv2_linux_x64-latest.tar.gz<\/p>\n<p>Once the download is completed, create a new directory in your home directory and extract the downloaded file inside it:<\/p>\n<p class=\"command\">mkdir ~\/shoutcast<br \/>cd ~\/shoutcast<br \/>tar -xvzf\u00a0<span>sc_serv2_linux_x64-latest.tar.gz<\/span><\/p>\n<p>Next, you will need to create a new configuration file for Shoutcast. You can do this with the following command:<\/p>\n<p class=\"command\">nano sc_serv.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre><a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"88e9ece5e1e6f8e9fbfbffe7faecb5e9ece5e1e6c8b9babb\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\n<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"6313021010140c11075e02070e0a0d2352515057\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\nrequirestreamconfigs=1&#13;\n<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"c5b6b1b7a0a4a8a4a1a8acabb5a4b6b6b2aab7a19af4f8a4a1a8acab85f4f7f6f1f0\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\nstreamid_1=1&#13;\n<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"0675727463676b766775757169746259373b67626b6f6846373435323330\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13;\nstreampath_1=http:\/\/192.168.0.102:8000&#13;\nlogfile=logs\/sc_serv.log&#13;\nw3clog=logs\/sc_w3c.log&#13;\nbanfile=control\/sc_serv.ban&#13;\nripfile=control\/sc_serv.rip&#13;\n<\/pre>\n<p>Change the password and IP address as per your need.<\/p>\n<h2 id=\"access-shoutcast\">Access Shoutcast<\/h2>\n<p>Shoutcast is now installed and configured, it&#8217;s time to start Shoutcast service and access its web interface.<\/p>\n<p>Run the following command to start Shoutcast server:<\/p>\n<p class=\"command\">.\/sc_serv &amp;<\/p>\n<p>You should see the followingoutput:<\/p>\n<p class=\"command\">2018-05-30 17:37:03 INFO *********************************************************************<br \/>2018-05-30 17:37:03 INFO ** SHOUTcast Distributed Network Audio Server (DNAS) **<br \/>2018-05-30 17:37:03 INFO ** Copyright (C) 2014-2017 Radionomy SA, All Rights Reserved **<br \/>2018-05-30 17:37:03 INFO *********************************************************************<br \/>2018-05-30 17:37:03 INFO [MAIN] SHOUTcast DNAS\/posix(linux x64) v2.5.5.733 (Oct 9 2017)<br \/>2018-05-30 17:37:03 INFO [MAIN] PID: 9383<br \/>2018-05-30 17:37:03 INFO [MAIN] Saving log output to `\/home\/administrator\/shoutcast\/logs\/sc_serv.log&#8217;<br \/>2018-05-30 17:37:03 INFO [MAIN] Automatic log rotation interval: 1 day<br \/>2018-05-30 17:37:03 INFO [MAIN] Loaded config from `\/home\/administrator\/shoutcast\/sc_serv.conf&#8217;<br \/>2018-05-30 17:37:03 INFO [MAIN] Calculated CPU count is 2 -&gt; using all available CPUs<br \/>2018-05-30 17:37:03 INFO [MAIN] Limited to 1024 file descriptors [relates to ulimit -n]2018-05-30 17:37:03 INFO [MAIN] Starting 2 network threads<br \/>2018-05-30 17:37:03 INFO [MICROSERVER] Listening for source and client connections on port 8000<br \/>2018-05-30 17:37:03 INFO [MICROSERVER] Listening for legacy source connections on port 8001<br \/>2018-05-30 17:37:03 INFO [MICROSERVER] Flash policy file server not enabled<\/p>\n<p>Once the server is started, open your web browser and type the URL<strong> http:\/\/192.168.0.102:8000<\/strong>, you will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/install_and_configure_shoutcast_server_on_ubuntu_1604\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts.png\" alt=\"Shoutcast stream summary\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Now, click on <strong>Server Login<\/strong> button, you should see the Shoutcast login page as below:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/install_and_configure_shoutcast_server_on_ubuntu_1604\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-1.png\" alt=\"Login to shoutcast server\" width=\"550\" height=\"153\" title=\"\"><\/a><\/p>\n<p>Here, provide your admin username and password which you have specified in the configuration file, then click on the <strong>Ok<\/strong> button, you should see the Shoutcast dashboard in the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/install_and_configure_shoutcast_server_on_ubuntu_1604\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-2.png\" alt=\"Shoutcast server management console\" width=\"550\" height=\"283\" title=\"\"><\/a><\/p>\n<p>Congratulations! you have successfully installed Shoutcast server in Ubuntu 18.04 LTS server.<\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-shoutcast-server%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-3.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-shoutcast-server%2F&amp;text=How+to+Install+Shoutcast+Server+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-4.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-5.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-shoutcast-server%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-shoutcast-server-on-ubuntu-18-04-lts-6.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>SHOUTcast is a free, open source and cross-platform software application that can be used to stream media over the Internet. SHOUTcast is specially used for creating or listening to Internet audio broadcasts. SHOUTcast allows us to broadcast a stream of music to the remote client connected to the server. In this tutorial, we will learn &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-4245","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=4245"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/4245\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=4245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=4245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=4245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}