How to setup SHOUTcast server on Linux - ถาม-ตอบ วิทยุออนไลน์ Radio Streaming - บอร์ด ชุมชนคนทำเว็บ
บอร์ด ชุมชนคนทำเว็บ

How to setup SHOUTcast server on Linux

Administrator

  • www.nakhonitech.com
  • *****
  • 102
  • +0/-0
    • ดูรายละเอียด
    • โฮสติ้งนครไอเทค โฮสติ้งราคาถูก
How to setup SHOUTcast server on Linux
« เมื่อ: 20 ม.ค. 2016 »
How to setup SHOUTcast server on Linux

SHOUTcast is software designed for streaming media over the Internet. The SHOUTcast system uses a classic client-server configuration. In this tutorial we will show you how to install SHOUTcast on your linux server, and show you how to use it to broadcast a stream of music to clients connected to the server.

Download and install SHOUTcast DNAS server software
The SHOUTcast DNAS (Distributed Network Audio Server) software is the server version of the software that allows you to broadcast to listeners. To use SHOUTcast, you’ll need to download and install SHOUTcast DNAS on your server.
First,a create new user for running SHOUTCast:

โค๊ด: [Select]
# useradd shoutcast
Download DNAS package:

โค๊ด: [Select]
wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_09_09_2014.tar.gz
Extract SHOUTcast files:

โค๊ด: [Select]
# mkdir sc
โค๊ด: [Select]
# tar -xvf sc_serv2_linux_09_09_2014.tar.gz -C scChange the ownership from root to the SHOUTcast user:

โค๊ด: [Select]
chown -R shoutcast:shoutcast sh
 
Configuring SHOUTcast Server
Now create configuration file for SHOUTcast. Open your favorite text editor and create sc_serv.conf in sc directory.

โค๊ด: [Select]
# cd sc/
โค๊ด: [Select]
# nano sc_serv.confand paste following line:

โค๊ด: [Select]
adminpassword=password
password=password1
requirestreamconfigs=1
streamadminpassword_1=password2
streamid_1=1
streampassword_1=password3
streampath_1=http://IP.ADD.RE.SS:8000
logfile=sc_serv.log
w3clog=sc_w3c.log
banfile=sc_serv.ban
ripfile=sc_serv.rip

Save the changes to the SHOUTcast configuration file by pressing Control-X, and then Y.

Start SHOUTcast server
Now, start the SHOUTcast server. You’ll want to run your shoutcast in a screen session. Let’s jump into a screen session by entering the following command:

โค๊ด: [Select]
# screenStart the SHOUTcast server by entering the following command:

โค๊ด: [Select]
# ./sc_serv sc_serv.confThat is all!

ที่มา http://lintut.com/how-to-setup-shoutcast-server-on-linux/
โฮสติ้งถูก นครไอเทค ฟรีโฮสติ้ง โฮสติ้งราคาถูก hostingราคาถูก vps วิทยุออนไลน์ ตัวแทนจำหน่าย Reseller Hosting
https://www.nakhonitech.com/