icecast

운영자 | 기사입력 2011/11/27 [01:57]
>
필자의 다른기사 보기 인쇄하기 메일로 보내기 글자 크게 글자 작게
icecast
 
운영자   기사입력  2011/11/27 [01:57]
icecast 설치
./configure --prefix=/home/icecast
checking for writev... yes
checking for struct sockaddr_storage.ss_family... yes
checking for inet_pton... yes
checking for xslt-config... no
configure: error: XSLT configuration could not be found

 yum -y install libxslt*
checking for libogg... not found
checking for libvorbis... configure: error: must have Ogg Vorbis v1.0 or above installed
yum -y install libogg*
 
checking for libogg... ok
checking for libvorbis... configure: error: must have Ogg Vorbis v1.0 or above installed

yum -y install libvorbis*
 
 vim /home/icecast/etc/icecast.xml

 <hostname>localhost</hostname>
 <hostname>도메인</hostname>

<admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
 <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
<security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nobody</group>
        </changeowner>
useradd icecast
<security>
        <chroot>1</chroot>
        <!--
        <changeowner>
            <user>icecast</user>
            <group>icecast</group>
        </changeowner>

[root@sansung20111113 /]# cd /home/icecast
[root@sansung20111113 icecast]# l
-bash: l: command not found
[root@sansung20111113 icecast]# ll
total 24
drwxr-xr-x 2 root root 4096 Nov 25 23:17 bin
drwxr-xr-x 2 root root 4096 Nov 25 23:44 etc
drwxr-xr-x 4 root root 4096 Nov 25 23:17 share
[root@sansung20111113 icecast]# mkdir var
[root@sansung20111113 icecast]# chown icecast:icecast var -R
[root@sansung20111113 icecast]#

total 32
drwxr-xr-x 2 icecast icecast 4096 Nov 25 23:17 bin
drwxr-xr-x 2 icecast icecast 4096 Nov 25 23:44 etc
drwxr-xr-x 4 icecast icecast 4096 Nov 25 23:17 share
drwxr-xr-x 2 icecast icecast 4096 Nov 25 23:47 var
-bash-3.2$ cd var
-bash-3.2$ ll
total 0
-bash-3.2$ mkdir log
-bash-3.2$ c dlog
-bash: c: command not found
-bash-3.2$ cd log
-bash-3.2$ mkdir icecast
-bash-3.2$ cd
-bash-3.2$ cd bin
-bash-3.2$ ./icecast -c /home/icecast/etc/icecast.xml
WARNING: Cannot change server root unless running as root.
 
http://downloads.us.xiph.org/releases/libshout/libshout-2.2.2.tar.gz
yum -y insall libtheora*
./configure --prefix=/home/shout
make
make install

        -->
    </security>
트위터 트위터 페이스북 페이스북 카카오톡 카카오톡
기사입력: 2011/11/27 [01:57]  최종편집: ⓒ iwav