· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Red5 Install/Red5 Chat Env

Red5Install/Red5ChatEnv


* 개발 환경
  • windows xp
    • Flash 를 이용하여 swf 파일과 html 파일 생성
  • Debina 6 (Squeeze)
    • eclipse 를 이용하여 Application compile

* JAVA
  • install sun-java6-jre
  • update-java-alternatives -l
  • update-alternatives --config java
  • edit .bashrc
    • export JAVA_HOME=/usr/lib/jvm/java-6-sun

* eclipse * http://wiki.kldp.org/wiki.php/Red5Install/EclipseTuto/EclipseFlex
  • window -> preferences -> general -> capabilities -> classic update -> apply -> ok
  • help -> software updates -> find and install... -> search for new features to install -> next
  • check red5 server -> next -> check i accept the terms in the license agreement -> next
  • finish
  • Update manager 시간 걸림 -> feature verification -> install all
  • you will need to restart the eclipse..... -> yes

  • flexplugin
    • mkdir flexplugin
    • mv eclipse plugins.zip flexplugin/
    • mv *.zip flexplugin/
    • cd flexplugin/
    • unzip *.zip

    • cd eclipse-jee/
    • cd plugins/
    • cp /home/tcheun/flexplugin/*.jar .

  • FB4.5ForLinux
    • mkdir FLEX
    • cd FLEX
    • mv ../FB* .
    • cat FB4.5ForLinux* >FB4Linux.tar.bz2
    • bunzip2 FB4Linux.tar.bz2
    • tar xvf FB4Linux.tar*

  • flexsdk
    • mkdir flexsdk
    • mv flex_sdk_4.5.0.20967A.zip flexsdk/
    • cd flexsdk/
    • unzip flex_sdk_4.5.0.20967A.zip
    • cd
    • mkdir sdks
    • cd sdks
    • mv ../flexsdk 4.5.0


* 수행 환경
  • apache 설치
  • mysql 설치
  • red5 설치

* http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-debian-squeeze-lamp

* apache2
  • synaptic
    • apache2
    • php5
      • libapache2-mod-php5 는 php5 를 선택하면 같이 선택됨
  • cd /var/www
  • mkdir red5chat
  • cd red5chat/
  • cp -Rp /home/tcheun/chat/PHP/Connections .
  • cp /home/tcheun/chat/PHP/*.php .
  • edit Connections/con1.php
<?php^M
# FileName="Connection_php_mysql.htm"^M
# Type="MYSQL"^M
# HTTP="true"^M
$hostname_con1 = "localhost";^M
$database_con1 = "red5chat";^M
$username_con1 = "root";^M
$password_con1 = "passwd";^M
$con1 = mysql_pconnect($hostname_con1, $username_con1, $password_con1) or trigger_error(mysql_error(),E_USER_ERROR); ^M
?>

* mysql
  • synaptic
    • mysql-server
    • mysql-client
  • mysql -u root -p
  • passwd
  • create database red5chat;
  • quit

* php with mysql
apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear
php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming
php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy
 php5-xmlrpc php5-xsl

  • mysql -D red5chat -u root -p < create_tables.sql

* flash player 설치


ID
Password
Join
You display the wonderful traits of charm and courtesy.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-12-09 17:32:03
Processing time 0.0068 sec