現在位置: Top/iTunesサーバーの構築
iTunesサーバーの構築
CentOS4.2にmt-daapdを使って、iTunesサーバーを構築する手順
ダウンロード
- Howl
- http://www.porchdogsoft.com/products/howl/
- howl-1.0.0.tar.gz
- libid3tag
- http://www.underbit.com/products/mad/
- libid3tag-0.15.1b.tar.gz
- mt-daapd
- http://www.mt-daapd.org/
- mt-daapd-0.2.4.tar.gz
howlの導入
# tar xvfz howl-1.0.0.tar.gz # cd howl-1.0.0 # ./configure # make # make install # cd ..
libid3tagの導入
# tar zxvf libid3tag-0.15.1b.tar.gz # cd libid3tag-0.15.1b # ./configure # make # make install # cd ..
ライブラリを認識させる
# vi /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/local/lib # ldconfig
mt-daapdの導入
# tar zxvf mt-daapd-0.2.4.tar.gz # cd mt-daapd-0.2.4 # ./configure # make # make install
mt-daapdの設定ファイルと起動スクリプトファイルのコピー
# cp -v contrib/mt-daapd.conf /etc/ # cp -v contrib/mt-daapd /etc/init.d/ # cd ..
設定ファイルの編集
# vi /etc/mt-daapd.conf web_root /usr/local/share/mt-daapd/admin-root mp3_dir /home/samba/Music/iTunes servername iTunes-Server
起動する
# /etc/init.d/mt-daapd restart Shutting down DAAP server: [ OK ] Starting DAAP server: [ OK ]