{"id":38202,"date":"2017-01-28T12:12:10","date_gmt":"2017-01-28T18:12:10","guid":{"rendered":"http:\/\/webirix.com\/?p=38202"},"modified":"2017-01-31T14:16:05","modified_gmt":"2017-01-31T20:16:05","slug":"instalar-shoutcast-radio-v2-5-1-centos","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/instalar-shoutcast-radio-v2-5-1-centos\/","title":{"rendered":"How to Install ShoutCast Radio V2.5.1 in Centos"},"content":{"rendered":"<h3 class=\"code_sh3\">La instalaci\u00f3n del servidor SHOUTcast<\/h3>\n<p>En primer lugar crear un usuario local desde el que se va a ejecutar el servidor, ya que se ejecuta el servidor de DNAS de la cuenta ra\u00edz puede traer graves problemas de seguridad a su m\u00e1quina.<\/p>\n<p>Para ello, inicie sesi\u00f3n en el sistema con la cuenta root y cree un nuevo usuario conocida como la radio, despu\u00e9s de que el cierre de sesi\u00f3n de su cuenta y acceder con usuario reci\u00e9n creado.<br \/>\n<a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_010.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38210\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_010.bmp\" alt=\"\" width=\"612\" height=\"291\" \/><\/a><\/p>\n<p>Entrar como usuario creado para crear las carpetas correspondientes.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_011.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-38211\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_011.bmp\" alt=\"\" width=\"613\" height=\"126\" \/><\/a><\/p>\n<p>A continuaci\u00f3n, tiene que descargar la \u00faltima versi\u00f3n del archivo del servidor SHOUTcast para Linux, visite el siguiente enlace oficial:<\/p>\n<p><a href=\"http:\/\/download.nullsoft.com\/shoutcast\/tools\">http:\/\/download.nullsoft.com\/shoutcast\/tools<\/a><br \/>\nalternativa, tambi\u00e9n se puede descargar el paquete de alquitr\u00e1n con el comando wget.<\/p>\n<p>Para &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8211; 32 bits<br \/>\n$ Wget http:\/\/download.nullsoft.com\/shoutcast\/tools\/sc_serv2_linux_09_09_2014.tar.gz<\/p>\n<p>Para &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8211; 64 bits<\/p>\n<p>wget http:\/\/download.nullsoft.com\/shoutcast\/tools\/sc_serv2_linux_x64-latest.tar.gz<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_012.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38212\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_012.bmp\" alt=\"\" width=\"642\" height=\"256\" \/><\/a><\/p>\n<p>Ahora extraer el archivo descargado. A continuaci\u00f3n, una lista de directorio para localizar<br \/>\nsc_serv archivo binario ejecutable y, finalmente, copiarlo en el directorio de instalaci\u00f3n, que se encuentra en la carpeta del servidor.<\/p>\n<p>tar xfz sc_serv2_linux_x64-latest.tar.gz<br \/>\n<a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_013.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38213\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_013.bmp\" alt=\"\" width=\"645\" height=\"24\" \/><\/a><br \/>\n<a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_014.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38214\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_014.bmp\" alt=\"\" width=\"639\" height=\"150\" \/><\/a><\/p>\n<h3 class=\"code_sh3\">Creaci\u00f3n del archivo de configuraci\u00f3n de SHOUTcast<\/h3>\n<p>Crear un archivo de configuraci\u00f3n de SHOUTcast para ejecutar y operar el servidor. Abra su editor de texto y luego crear un nuevo archivo, llamado <span class=\"code_sectcolor6\">sc_serv.conf<\/span> .<\/p>\n<p>Usted necesita estar seguro de que este archivo se crea en el mismo camino que sus archivos binarios ejecutables se encuentran.<br \/>\n<strong>\u00a0nano sc_serv.conf\u00a0<\/strong>dentro de la carpeta radio<br \/>\nAhora tiene que a\u00f1adir las siguientes l\u00edneas a sc_serv.conf archivo<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_015.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38215\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_015.bmp\" alt=\"\" width=\"638\" height=\"30\" \/><\/a><\/p>\n<h6><strong>; NOTE: for any relative paths specified are relative to<\/strong><br \/>\n<strong>; sc_serv and not to where the conf file is being stored<\/strong><\/h6>\n<h6><strong>; here we will setup where the log and other related files<\/strong><br \/>\n<strong>; will be stored. make sure that these folders exist else<\/strong><br \/>\n<strong>; sc_serv will throw an error and will close itself down.<\/strong><br \/>\n<strong>; we will make the logs save to the sc_serv2 directory<\/strong><br \/>\n<strong>logfile=logs\/sc_serv.log<\/strong><br \/>\n<strong>w3clog=logs\/sc_w3c.log<\/strong><br \/>\n<strong>banfile=control\/sc_serv.ban<\/strong><br \/>\n<strong>ripfile=control\/sc_serv.rip<\/strong><\/h6>\n<h6>\n<strong>; for testing we will make the server only work locally<\/strong><br \/>\n<strong>; (i.e. localhost \/ 127.0.0.1) though if this is left out<\/strong><br \/>\n<strong>; or set to publicserver=always then we attempt to make a<\/strong><br \/>\n<strong>; connection to the YP for listing &#8211; do not forget to add<\/strong><br \/>\n<strong>; in a &#8216;streamauthhash&#8217; value for any public streams made<\/strong><br \/>\n<strong>;publicserver=never<\/strong><\/h6>\n<h6>\n<strong>; if you&#8217;re wanting to use a different port to use for any<\/strong><br \/>\n<strong>; connections then you can use this option e.g. to use 80<\/strong><br \/>\n<strong>; otherwise port 8000 is used as the default to listen on.<\/strong><br \/>\n<strong>portbase=9010<\/strong><\/h6>\n<h6>\n<strong>; password used by sc_trans or the Winamp dsp plug-in<\/strong><br \/>\n<strong>; NOTE: remember to change this to something else<\/strong><br \/>\n<strong>password=testing<\/strong><\/h6>\n<h6>\n<strong>; password used for accessing the administation pages<\/strong><br \/>\n<strong>; NOTE: remember to change this to something else<\/strong><br \/>\n<strong>adminpassword=changeme<\/strong><\/h6>\n<p>declaraciones de contrase\u00f1a que debe cambiar en consecuencia son los siguientes,<\/p>\n<p>requiere contrase\u00f1a de administrador para realizar la administraci\u00f3n remota a trav\u00e9s de la interfaz web para el servidor.<br \/>\nContrase\u00f1a requerida por el reproductor multimedia a distancia para conectar y transmitir contenido de multimedia al servidor.<\/p>\n<p>&nbsp;<\/p>\n<p>Para iniciar el servidor ejecute el sc_serv archivo desde el directorio actual que debe ser el directorio del servidor y ponerlo en el fondo con Y (operador bash).<br \/>\n[Radio @ linuxhelp servidor] $ chmod + x sc_serv<br \/>\n[Radio @ servidor linuxhelp] $ .\/sc_serv<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_016.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38216\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_016.bmp\" alt=\"\" width=\"884\" height=\"362\" \/><\/a><\/p>\n<h3 class=\"code_sh3\">La apertura de conexiones del cortafuegos<\/h3>\n<p>El servidor SHOUTcast se ejecutar\u00e1 ahora, pero no se puede acceder debido a las restricciones del cortafuegos Fedora. Con el fin de abrir el servidor para conexiones externas Acceda con su cuenta de la ra\u00edz y luego a\u00f1adir la regla, que se abrir\u00e1 <span class=\"code_sectcolor6\">el puerto 8000<\/span> de TCP.<\/p>\n<p>A continuaci\u00f3n vuelva a cargar el servidor de seguridad con el fin de aplicar los cambios y cerrar la sesi\u00f3n tambi\u00e9n desde su cuenta de root.<br \/>\n<a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_017.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38217\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_017.bmp\" alt=\"\" width=\"742\" height=\"55\" \/><\/a><br \/>\nEs necesario abrir un navegador de un ordenador remoto y escriba la direcci\u00f3n IP del servidor con el puerto 9010 -http: \/\/192.168.1.97: 9010 , ahora la interfaz web SHOUTcast aparecer\u00e1 sin corrientes viven disponibles.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_018.bmp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38218\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/Selecci\u00f3n_018.bmp\" alt=\"\" width=\"1364\" height=\"278\" \/><\/a><\/p>\n<h3 class=\"code_sh3\"><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Installing the SHOUTcast server First create a local user from which the server will run, since the root account&#039;s DNAS server runs can bring serious security problems to your machine. To do this, log into the system with the root account and create ...<\/p>","protected":false},"author":25,"featured_media":38204,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2024],"tags":[],"class_list":["post-38202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2017\/01\/SHOUTcast_yellow2.jpg","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=38202"}],"version-history":[{"count":5,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38202\/revisions"}],"predecessor-version":[{"id":38219,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38202\/revisions\/38219"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/38204"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=38202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=38202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=38202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}