Sunteți pe pagina 1din 2

yum groupinstall 'Development Tools' o sin comillas se debe demorar en descaragar

yum install -y curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel


libxslt
yum -y update
rpm -�importhttp://repository.it4i.cz/mirrors/repoforge/RPM-GPG-KEY.dag.txt
cd /home
wget
http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmf
orge-release-0.5.3-1.el7.rf.x86_64.rpm

mkdir -p /usr/src/icecast
cd /usr/src/icecast

Next extract the sources and change into the new driectory:
tar xf icecast-2.4.3.tar.gz

cd icecast-2.3.4

instalacion
./configure �-prefix=/opt/icecast/2.4.3
make
make install
ls /opt/icecast/2.4.3
cd /opt/icecast
ln -s 2.4.3 latest

cd /opt/icecast/latest/etc
cp icecast.xml icecast.xml.orig
vi icecast.xml
cambiamos
<location>earth</location>
<admin>localhost@localhost</admin>

<limits>
<clients>10</clients>
<sources>2</sources>
n primer lugar, vamos a cambiar la localizaci�n del servidor y su administrador:
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>1234</source-password>
<!-- Relays log in with username 'relay' -->
<relay-password>1234</relay-password>

<!-- Admin logs in with the username given below -->


<admin-user>admin</admin-user>
<admin-password>1234</admin-password>
</authentication>

<hostname>192.168.1.23</hostname>
cambiar el punto de montaje

<mount type="normal">
<mount-name>test.ogg</mount-name>
<username>localhost</username>
<password>1234</password>

Por �ltimo, buscaremos a la secci�n de seguridad, ubicada al final del fichero,


donde cambiaremos el propietario

del software a usuario y grupo icecast, que posteriormente crearemos:

<security>
<chroot>0</chroot>

<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>

</security>

<logdir>/var/log/icecast</logdir>

talvezzz...................
<paths>
<basedir>/opt/icecast/latest/share/icecast</basedir>
<webroot>/opt/icecast/latest/share/icecast/web</webroot>
<adminroot>/opt/icecast/latest/share/icecast/admin</adminroot>
<logdir>/var/log/icecast</logdir>
<pidfile>/var/run/icecast/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
.......................

groupadd -g 200 icecast


useradd -d /var/log/icecast -m -g icecast -s /bin/bash -u 200 icecast
useradd -d /var/log/icecast -m -g icecast -s /bin/bash -u 200 icecast
useradd -d /var/log/icecast -m -g icecast -s /bin/bash -u 200 icecast

mkdir -p /var/run/icecast

chown -R icecast:icecast /var/run/icecast

S-ar putea să vă placă și