· 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 ¼³Ä¡




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.0059 sec