Jump to content

Search the Community

Showing results for tags 'icecast install'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TclScripts.Net
    • Announcements & Other Stuff
    • Forum Bugs, Forum Suggestions
  • Eggdrop & TCL
    • Eggdrop Help
    • Tcl Scripts
    • BlackToolS Script
  • Off topic
    • How to..
    • General discussions
    • Interesting Websites
  • Graveyard
    • Archives

Categories

  • FOR SALE
  • BLaCkShaDoW ProductionS ®
  • Other
  • Games
  • Statistics
  • Security
  • Eggdrop
  • Modules

Calendars

  • Community Calendar

Categories

  • Articles

Categories

  • BlackToolS History Notes

Forms

There are no results to display.


Found 1 result

  1. 1. First you need to update and upgrade your OS: root@radio:~# apt-get update root@radio:~# apt-get upgrade 2. Install the package that will be needed root@server:~# apt-get install nano gcc make zip openvpn build-essential pkg-config libxml2-dev icecast2 ezstream 3. After installations finished, we have to configure the icecast2 server, open and edit file /etc/icecast2/icecast.xml root@radio:~# nano /etc/icecast2/icecast.xml edit and adjust with the real condition and then restart service the icecast2 root@radio:~# /etc/init.d/icecast2 restart 4. Icecast will run at default port 8000, so try to visit: http://Server-IP:8000 (E,g http://192.168.2.111:8000 or http://myradiodomain.com:8000) And you'll get a page like this, that icecast is running on your vps: 5. Install ezstream and there packages needed : 5a. Need to install libogg: root@radio:~# wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz root@radio:~# tar xf libogg-1.3.2.tar.gz root@radio:~# cd libogg* root@radio:~# ./configure root@radio:~# make && make install 5.b. Need to install libvorbis: root@radio:~# wget http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz root@radio:~# tar xf libvorbis-1.4.0.tar.gz root@radio:~# cd libvorbis-1.4.0 root@radio:~# ./configure root@radio:~# make && make install 5.c. Need to install libshout: root@radio:~# wget http://downloads.xiph.org/releases/libshout/libshout-2.4.1.tar.gz root@radio:~# tar xf libshout-2.4.1.tar.gz root@radio:~# cd libshout-2.4.1 root@radio:~# ./configure root@radio:~# make && make install 5.d. And then install ezstream: root@radio:~# wget http://downloads.xiph.org/releases/ezstream/ezstream-0.6.0.tar.gz root@radio:~# tar xf ezstream-0.6.0.tar.gz root@radio:~# cd ezstream* root@radio:~# ./configure root@radio:~# make && make install 6. Make a directory to save playlist: E.g /home/mp3 root@radio:~# mkdir /home/mp3 7. And now you need to create .txt file root@radio:~# nano /home/mp3/playlist.txt And fill in the name of the song that is /home/mp3/namefile1.mp3 /home/mp3/namefile.mp3 /home/mp3/namefile.mp3 /home/mp3/namefile.mp3 etc, Then upload your MP3 files into /home/mp3 7. Configuring ezstream Copy file ezstream_mp3.xml to /root/ root@radio:~# cp /usr/share/doc/ezstream/examples/ezstream_mp3.xml /root/ezstream_mp3.xml And edit file /root/ezstream_mp3.xml root@radio:~# nano /root/ezstream_mp3.xml And please change as you want/real condition, then change permision: root@radio:~# chmod 0755 /root/ezstream_mp3.xml 8. Now run the ezstream by using screen: root@radio:~# screen -S "stream" root@radio:~# ezstream -c /root/ezstream_mp3.xml 9. To make a autoDJ on fallback mount and live on mount make 2 mount points. Open and edit file /etc/icecast2/icecast.xml root@radio:~# nano /etc/icecast2/icecast.xml Add this code after : <relay> --- </relay> < mount> < mount-name>/autodj< /mount-name> < password>my-password< /password> < max-listeners>500< / max-listeners> < max-listener-duration>3600< / max-listener-duration> < dump-file>/tmp/dump-live.mp3< / dump-file> < intro>< / intro> < charset>ISO8859-1< / charset> < public>1< / public> < stream-name>Radio< / stream-name> < stream-description> Radio< / stream-description> < stream-url>http://192.168.2.111:8000/autodj.mp3.m3u< / stream-url> < genre>Top40< / genre> < bitrate>64< / bitrate> < type>application/mp3< / type> < subtype>mp3< / subtype> < burst-size>65536< / burst-size> < mp3-metadata-interval>4096< / mp3-metadata-interval> < /mount> < mount> < mount-name>/live< / mount-name> < password>my-password< / password> < max-listeners>500< / max-listeners> < max-listener-duration>3600< / max-listener-duration> < dump-file>/tmp/dump-live.mp3< / dump-file> < intro>< / intro> < fallback-mount>/autodj< / fallback-mount> < fallback-override>1< / fallback-override> < fallback-when-full>1< / fallback-when-full> < charset>ISO8859-1< / charset> < public>1< / public> < stream-name>My Radio Server< / stream-name> < stream-description>Radio< / stream-description> < stream-url>http://192.168.2.111:8000/live.mp3.m3u< / stream-url> < genre>Top40< / genre> < bitrate>64< / bitrate> < type>application/mp3< / type> < subtype>mp3< / subtype> < burst-size>65536< / burst-size> < mp3-metadata-interval>4096< / mp3-metadata-interval> < / mount> And then save. Done (Configure server). You’re now streaming live on the Internet!
×