Eger sunucun linux ise ve shell yekiniz varsa
# useradd shoutcast
sonra shoutcast yetkisi alın
# su - shoutcast
# wget
http://netlojik.com/sc_trans_posix_040.tgz$ tar -xzf sc_trans_posix_040.tgz
dosyayı actıktan sonra
Configuration
$ pico sc_server/sc_serv.conf
- Edit these values to get things quickly up and running:
MaxUser=20
Password=streaming
PortBase=8000
AdminPassword=MyPassword
- Now open /home/shoutcast/sc_trans_040 and edit sc_trans.conf the same way you did with sc_serv.conf.
$ vi /home/shoutcast/sc_trans_040/sc_trans.conf
PlaylistFile=/home/shoutcast/sc_trans_040/playlist.lst
ServerIp=131.107.what.ever.is.your.ip
ServerPort=8000
Password=streaming
StreamTitle=blah # this will be displayed in the players
StreamURL=http://131.107.your.ip # or the domain name if it points to the same IP
Shuffle=1 # set to 0 to play songs in order
- Create the content directory and add mp3 files to it to create the playlist:
$ mkdir /home/shoutcast/sc_trans_040/content
- Add mp3’s to your playlist. (Don’t forget to add mp3’s to the /home/shoutcast/sc_trans_040/content/ directory before running this command):
$ find /home/shoutcast/sc_trans_040/content/ -type f -name “*.mp3″ > /home/shoutcast/sc_trans_040/playlist.lst
Start the server
$ cd /home/shoutcast/sc_server && ./sc_serv sc_serv.conf &
$ cd /home/shoutcast/sc_trans_040 && ./sc_trans_linux sc_trans.conf &
- You will see the output in your terminal.
- If everything worked out fine, you should be able to check the Shoutcast status by opening your browser and going to
http://your.ip:8000. Also, you should be able to click on admin login and use the password set in sc_serv.conf next to AdminPassword.
- If you want to spread the word about your station, use the address
http://your.ip.or.domain:8000/listen.pls because chances are it will automatically open people’s media player (Winamp, Amarok, XMMS etc).
gerekli düzenlemeyi yaptıktan sonra processleri yeniden calıstırın..