Installing red5 from source on Ubuntu 8.10
I had a hell of a time trying to figure out how to properly configure my Ubuntu system for red5 application development. If all you need is red5 server, go ahead and use the prepacked .deb installer.
However, if you want to build your own red5 apps (or have a generally masochistic personality) you're gonna want the bleeding edge red5 from trunk (v .8 r3 at time of writing).
I am modifying and expanding on this tutorial: http://osflash.org/red5/ubuntu804 , as it did not work completely for me and failed to explain a number of key concepts newbies need to know.
1) Get the packages you need
sudo apt-get install subversion java-package sun-java6-jdk sun-java6-jre ant
2) Get the latest red5 source from Trunk ( v.8rc3 at time of writing ) . NOTE- you can put red5 anywhere - I like to keep it in a "projects" directory in my home folder. Feel free to change the paths.
mkdir -p ~/projects/red5
cd ~/projects/red5
svn co http://red5.googlecode.com/svn/java/server/trunk red53) Set environment variables: NOTE- Make sure these paths are the same on your system. The paths from the red5 tutorial did not work for me.
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
export ANT_HOME=/usr/share/ant/4) Build red5 with ant (will take ~10min while ivy resolves all your dependencies- go get some tea)
ant5) Build & start red5.
ant server5 - alternate) NOTE - the other way of doing this is using the red5 startup script "red5.sh", which will not rebuild red5. If you want to go this route, here's what you gotta do:
cd dist
chmod 755 red5.sh
./red5.shIn either case, make sure to leave the terminal window open...if you close the terminal it will shutdown red5 improperly.
6) Test red5.
Browse to http://localhost:5080/demos/port_tester.swf and hit "connect". Ironically, this page always breaks Firefox when I navigate away from it. But it will show you whether your ports are open. You only really need two to work - 5080 (http) and 1935 (rtmp). Unless you explicitly set up a firewall, these should work fine.
If everything looks good there, go to http://localhost:5080/installer and install some of the Java 6 demos - oflademo and SOSample are the two important ones, in my book. Once they're installed ( It should be fast - I had the installer hang, but it worked...if it is taking a really long time, try refreshing the page and trying to install again. If it tells you that it is already installed, you're good to go. )
7) Shutdown red5. The reason I prefer to use "ant server" is because I have been having problems with shutting down red5 if I start it using "red5.sh". "red5-shutdown.sh" works fine for me, though. To use it:
cd ~/projects/red5/dist
chmod 755 red5-shutdown.sh
./red5-shutdown.shNOTE- you only need to change permissions on it once. After that, you can just run "./red5-shutdown.sh"
Cool! It worked and we didn't pull out all our hair yet!
Next up: Building our very first red5 application, hey hey...
supra skylow
Welcome to supra skylow our website, we provied many highly quality but lowest price for every customer. Maybe you can find something at here what you like best. Thanks a lot!
In computing, a device driver
In computing, a device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device.
A driver typically communicates with the device through the computer bus or communications subsystem to which the hardware connects. Free driver downloads, when a calling program invokes a routine in the driver, the driver issues commands to the device. Once the device sends data back to the driver, the driver may invoke routines in the original calling program. Drivers are hardware-dependent and operating-system-specific. They usually provide the interrupt handling required for any necessary asynchronous time-dependent hardware interface.
Displays, Bios, Sound, Printers drivers, Notebook