当前位置: 主页 > 操作系统 > FreeBSD > freebsd下icecast网络电台软件安装

freebsd下icecast网络电台软件安装

时间:2010-3-4来源:互联网 点击:
平台 
freebsd 4.9

到www.icecast.org 下载软件,解包后 ./configure 
但它会说缺libxslt 和libXML库
ftp://xmlsoft.org/XSLT/ 在此处下载,并安装。


然后在配置icecast时它会说缺ogg 和vorbis库
在 http://www.vorbis.com/download_Unix_1.0.1.psp
下载 libogg和libvorbis,在配置时记得用 --prefix=/usr/local/ogg or --prefix=/usr/local/vorbis
记得在 配置icecast时用以下命令行
./configure --prefix=/home/icecast  --with-ogg=/usr/local/ogg --with-vorbis=/usr/local/vorbis

这样能配置过去

然后 makeinstall

剩下的事就是修改icecast的配置文件了,反正是xml文件,容易看明白的。
位置 /home/icecast/etc 下是配置文件 icecast.xml

重要的是去掉xml文件中changeowner的注释
在/home/icecast下的var下建立
/home/icecast/var/log/icecast/ 目录,并把属主设为上面的nobody

启动:
在root下启动:

/home/icecast/bin/icecast  -c /home/icecast/etc/icecast.xml &

icecast 处理的速度比shoUCast快多了:)
站长资讯网
. TAG: freebsd icecast 软件安装
推荐内容最近更新人气排行
关于我们 | 友情链接 | 网址推荐 | 常用资讯 | 网站地图 | RSS | 留言