RED5(一) Eclipse开发环境配置+PHP
安装必要软件
1.sudo apt-get install apache2
2.sudo apt-get install libapache2-mod-php5
3.sudo apt-get install php5
4.sudo /etc/init.d/apache2 restart
5.creat a new file /var/www/phpinfo.php
<?php
phpinfo();
?>
http://localhost/phpinfo
6.Download eclipse & red5 source code
7. add plus for red5 in eclipse
Name: Red5Plugin 0.2.x (Eclipse 3.2+)
URL: http://trac.red5.org/chrome/site/projects/red5plugin/update_0.2.x/
URL: http://trac.red5.org/chrome/site/projects/red5plugin/update_0.2.x/
8.run red5 in eclipse
There are two ways to import the Red5 project. Either import an already downloaded working copy of the Red5 project or import the project directly from SVN.
- Import the checked out working copy.
- Start Eclipse
- From the File menu select "import"
- In the Import dialog box select the item "Existing Projects into Workspace" and hit next
- hit the "browse" button next to the "Select root directory" text box
- select the root folder where you downloaded the red5 repository,(e.g. c:\projects \osflash\red5 or /www/red5_server) and hit ok
- Make sure red5 is selected in the projects area and hit "Finish"
- Eclipse should automatically build the project, you can force a build from the "project" menu and selecting "build project"
9.create a new server Red5 ,change the directory which does not match.
Unzip the src.zip under fold red5_server
click Eclipse File->Properties->Java Build Path remove test(其他方法未尝试)

浙公网安备 33010602011771号