== 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 * new remote site... -> * Name: Red5 Server * URL: http://trac.red5.org/chrome/site/projects/red5plugin/update_0.2.x/ * ok -> red5 server 생김 -> ok * 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 {{{#!vim }}} * mysql * synaptic * mysql-server * mysql-client * mysql -u root -p * passwd * create database red5chat; * quit * php with mysql {{{#!vim 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 설치 * eclipse 에서 Application.java * http://lelandcope.com/beginner-red5-streaming-tutorial-part-1-of-3/ * http://lelandcope.com/beginner-red5-streaming-part-2-of-3/ * http://lelandcope.com/beginner-red5-streaming-tutorial-–-part-3-of-3-2/#more-120 * Run as -> Flex Application 이 없음 * Flexunit test * Web application