1.파일다운로드
1) ant : http://ant.apache.org/bindownload.cgi
2) red5 : http://osflash.org/red5/
위의 사이트에서 파일을 다운로드 받느다
(전에 java 가 설치되어야 하므로 java.sun.com 에서 jdk 다운로드 받아놓는다)
2.압축풀어서 /usr/local 디렉토리에 묶어놓기
1) ant
]#tar xvfz apache-ant-1.7.0-bin.tar.gz
]#mv apache-ant-1.7.0 /usr/local/ant
2)red5
]#tar xvfz red5-0.6.3.tar.gz
]#mv red5-0.6.3 /usr/local/red5
3.ant 의 build.xml 로 타겟 잡기(참조문서 : http://blog.naver.com/2tnals82?Redirect=Log&logNo=80045484363)
1)에러가 나올거다..
]#/usr/local/ant/bin/ant
build failed 라는 메세지가 나올 것이다...
2)
]#cd /usr/local/red5
]#ant server & (혹시나 ant 파일이 없다고 나오면 .bash_profile 에 /usr/local/ant/bin 이 PATH 로 설정되었는지 확인해준다)
메세지가 주~~~욱 나오면서 대충 성공한 느낌이오면..
3)]#/usr/local/ant/bin/ant 를 실행해준다..
메세지가 주~~~욱 나오면서 대충 또 성공한 느낌이오면
4)]#/usr/local/red5/red5.sh &
로 실행하면 끝..
4.red5 실행파일 만들기
매번 ]#/usr/local/red5/red5.sh & 하기 귀찮으므로..
]#vi /etc/init.d/red5
------------------------------------------------
#! /bin/sh
#
# Author: Jake Hilton <red5@jakehilton.com>
# /etc/init.d/red5
#
# Check for missing file
RED5_DIR=/usr/local/red5
test -x $RED5_DIR/red5.sh || exit 5
case "$1" in
start)
echo -n "Starting Red5 Service"
echo -n " "
cd $RED5_DIR
su -s /bin/bash -c "$RED5_DIR/red5.sh &" red5
sleep 2
;;
stop)
echo -n "Shutting down red5"
echo -n " "
su -s /bin/bash -c "killall -q -u red5 java" red5
sleep 2
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
;;
esac
---------------------------------------------------
라고 해주고..(참조문서 : http://osflash.org/red5/suse?s=ant%20server)
]#chmod 755 /etc/init.d/red5
]#/etc/init.d/red5 start (실행이고)
]#/etc/init.d/red5 stop (중지)
이러면 쉽게 되겄지..
혹,
스트리밍이 안되는 경우.
/usr/local/red5/dist/webapps/oflaDemo/WEB-INF/ 를
/usr/local/red5/webapps/oflaDemo/WEB-INF/ 여기로 덮어씌우자..
내 bash .....
---------------------------------------
export JAVA_HOME="/usr/java/jdk1.6.0_03"
export ANT_HOME="/usr/local/ant"
export RED5_HOME="/usr/local/red5"
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$ANT_HOME/lib/*:$RED5_HOME/lib/*:/usr/local/red5/src/org/red5/server/*:/usr/local/red5/bin/org/red5/server/*
export PATH=$PATH:$HOME/bin:/usr/java/jdk1.6.0_03/bin:$ANT_HOME/bin
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4128 | ||
| 429 | 19년 전 | 3323 | ||
| 428 | 19년 전 | 4143 | ||
| 427 | 19년 전 | 3492 | ||
| 426 | 19년 전 | 3118 | ||
| 425 | 19년 전 | 3430 | ||
| 424 | 19년 전 | 2451 | ||
| 423 | 19년 전 | 2880 | ||
| 422 | 19년 전 | 2370 | ||
| 421 | 19년 전 | 3723 | ||
| 420 | 19년 전 | 4755 | ||
| 419 | 19년 전 | 3831 | ||
| 418 |
|
19년 전 | 1765 | |
| 417 | 19년 전 | 2764 | ||
| 416 | 19년 전 | 2408 | ||
| 415 | 19년 전 | 2613 | ||
| 414 | 19년 전 | 4430 | ||
| 413 |
|
19년 전 | 2623 | |
| 412 | 19년 전 | 3065 | ||
| 411 |
|
19년 전 | 3002 | |
| 410 |
|
19년 전 | 3707 | |
| 409 |
|
19년 전 | 3651 | |
| 408 |
|
19년 전 | 1871 | |
| 407 | 19년 전 | 2242 | ||
| 406 | 19년 전 | 2810 | ||
| 405 | 19년 전 | 2475 | ||
| 404 | 19년 전 | 4323 | ||
| 403 | 19년 전 | 3315 | ||
| 402 |
NeoGenesis
|
19년 전 | 4111 | |
| 401 | 19년 전 | 2619 | ||
| 400 |
|
19년 전 | 2526 | |
| 399 | 19년 전 | 2976 | ||
| 398 | 19년 전 | 2510 | ||
| 397 | 19년 전 | 2802 | ||
| 396 | 19년 전 | 2509 | ||
| 395 | 19년 전 | 3216 | ||
| 394 | 19년 전 | 1760 | ||
| 393 | 19년 전 | 3011 | ||
| 392 | 19년 전 | 2287 | ||
| 391 | 19년 전 | 2191 | ||
| 390 | 19년 전 | 2301 | ||
| 389 | 19년 전 | 2661 | ||
| 388 | 19년 전 | 2210 | ||
| 387 | 19년 전 | 4494 | ||
| 386 |
|
19년 전 | 2702 | |
| 385 |
|
19년 전 | 2509 | |
| 384 | 19년 전 | 3051 | ||
| 383 | 19년 전 | 3077 | ||
| 382 | 19년 전 | 3123 | ||
| 381 |
|
19년 전 | 2650 | |
| 380 |
|
19년 전 | 3034 | |
| 379 | 19년 전 | 2558 | ||
| 378 | 19년 전 | 2230 | ||
| 377 | 19년 전 | 2793 | ||
| 376 | 19년 전 | 2479 | ||
| 375 |
|
19년 전 | 2576 | |
| 374 | 19년 전 | 3835 | ||
| 373 | 19년 전 | 3288 | ||
| 372 | 19년 전 | 5011 | ||
| 371 |
세은아빠2
|
19년 전 | 2432 | |
| 370 | 19년 전 | 4512 | ||
| 369 | 19년 전 | 3121 | ||
| 368 | 19년 전 | 2920 | ||
| 367 | 19년 전 | 3746 | ||
| 366 | 19년 전 | 2671 | ||
| 365 | 19년 전 | 3757 | ||
| 364 | 19년 전 | 4033 | ||
| 363 | 19년 전 | 3467 | ||
| 362 | 19년 전 | 3501 | ||
| 361 | 20년 전 | 4124 | ||
| 360 |
hwatta
|
20년 전 | 2381 | |
| 359 | 20년 전 | 5124 | ||
| 358 | 20년 전 | 3675 | ||
| 357 | 20년 전 | 2620 | ||
| 356 |
sdesign1s
|
20년 전 | 2299 | |
| 355 | 20년 전 | 2778 | ||
| 354 | 20년 전 | 3041 | ||
| 353 | 20년 전 | 2808 | ||
| 352 |
|
20년 전 | 5788 | |
| 351 |
|
20년 전 | 2725 | |
| 350 |
|
20년 전 | 4314 | |
| 349 |
hwatta
|
20년 전 | 2205 | |
| 348 | 20년 전 | 7319 | ||
| 347 | 20년 전 | 2426 | ||
| 346 | 20년 전 | 3523 | ||
| 345 | 20년 전 | 4326 | ||
| 344 | 20년 전 | 2673 | ||
| 343 | 20년 전 | 3936 | ||
| 342 | 20년 전 | 3081 | ||
| 341 | 20년 전 | 4112 | ||
| 340 |
|
20년 전 | 5168 | |
| 339 |
|
20년 전 | 4253 | |
| 338 | 20년 전 | 5898 | ||
| 337 | 20년 전 | 2058 | ||
| 336 |
|
20년 전 | 3351 | |
| 335 |
|
20년 전 | 3568 | |
| 334 |
|
20년 전 | 2963 | |
| 333 |
hwatta
|
20년 전 | 2467 | |
| 332 | 20년 전 | 4671 | ||
| 331 | 20년 전 | 2293 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기