網路廣播 duan duan@duan.idv.tw 這是拿之前舊的文件改的, 主要測試平台是 Redhat 7.2/7.3 , 也曾經 有在機器上 make 出問題沒找出原因, 如果關於這部份有問題的話, 歡 迎和弟聯絡, 也歡迎架好廣播後提供網址分享給大家聽喔. :) 另外還有一份進階設定的文件, 弟才整理一半, 會盡快整理好放上來. :) icecast: 1. 下載點: www.icecast.org 2. tar zxvf icecast-1.3.12.tar.gz 3. cd icecast-1.3.12; ./configure --prefix=/usr/local/icecast --with-python --with-libwrap // 可以考慮加上 --with-crypt , 但是在設定密碼時必需要有辦法找出加密後 的內容 4. make; make install 5. cd /usr/local/icecast/conf 6. mv icecast.conf.dist icecast.conf 其它三個 .dist 檔比照處理 7. vim icecast.conf 修改下列資料 location rp_email server_url max_clients max_clients_per_source encoder_password admin_password oper_password hostname server_name 其它的視需要修改, 如 port 等. 8. cd ../bin ; 啟動 icecast , -b 是強制讓 icecast 進入背景模式 ./icscast -b 配合套件. 1. MuSE muse.dyne.org : MuSE-0.7.1.tar.gz ./configure --prefix=/usr/local/muse --with-x --with-gtk-prefix --with-glib-prefix --with-ogg-prefix --with-vorbis-prefix make make install /usr/local/muse/bin/muse & 先選擇 "Lets stream" button , 設定 icecast 和 lame 的部份, 然後 connect 原視窗下方可以看出是否 connect 成功. 接下來請參考該網站的說明. 2. liveice http://star.arm.ac.uk/~spm/software/liveice.html: liveice.tar.gz ./configure make 在該目錄下會產生 liveice ,liveiceconfigure.tk 執行 liveiceconfigure.tk 會協助設定 liveice.cfg 設定檔. cp liveice.cfg /etc/ 後面的使用目前測試無效 3. iceS www.icecast.org: ices-0.2.3.tar.gz ./configure --prefix=/usr/local/ices --with-lame --with-vorbis \ --with-perl --with-python-includes=/usr/include/python2.2 make make install cd /usr/local/ices/etc mv ices.conf.dist ices.conf vim ices.conf : 修改 password 及其它視需要修改的地方 vim /etc/playlist : 一行一首 mp3 , /path/to/mp3 cd /usr/local/ices/bin ./ices -F /etc/playlist -B # -B 是讓 ices 進入背景模式 用 wimamp or xmms : 選擇播放位置 http://your.url:8000/ wow.... success !! 4. darkice : 沒測試, 看來似乎主要是將音效卡的 line in 做 encode 送到 icecast