FreeBSDに係わる構築や維持など

shoutcast

shoutcast-1.9.5_2インストール

shoutcastのインストール

# cd /usr/ports/audio/shoutcast
# make clean
===>  Cleaning for compat5x-i386-5.4.0.8_5
===>  Cleaning for localedata-5.4
===>  Cleaning for shoutcast-1.9.5_2
# make install

*** Added group `shoutcast' (id 210)
*** Added user `shoutcast' (id 210)
==================================================================
Shoutcast is now installed.
There is a sample configuration file under
/usr/local/etc/shoutcast/sc_serv.conf.sample.
Edit that file and save it as sc_serv.conf in the same directory.

If You want to start the server, set shoutcast_enable="YES" in
your /etc/rc.conf file, and type:

/usr/local/etc/rc.d/shoutcast.sh start

==================================================================
===> Installing rc.d startup script(s)
===>   Registering installation for shoutcast-1.9.5_2
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/sc_serv

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/shoutcast.sh

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:

http://www.shoutcast.com

# vi /etc/rc.conf
shoutcast_enable="YES"

sc_serv.confの設定、自動起動

# cp /usr/local/etc/shoutcast/sc_serv.conf.sample /usr/local/etc/shoutcast/sc_serv.conf
# vi /usr/local/etc/shoutcast/sc_serv.conf
MaxUser=100
Password=
PortBase=8000
LogFile=/var/log/sc_serv8000.log
ShowLastSongs=20
AdminPassword=
PublicServer=default

#/usr/local/etc/rc.d/shoutcast.sh start