Red5 on Gentoo
Red5 is an Open Source Flash Server written in Java. This is a short introduction on how to get red5 running under Gentoo.
- Currently the red5 ebuild resides in the bangert overlay. To add the bangert overlay to your system install layman:
# emerge layman
- Setup layman - see the layman docs.
- Add the bangert overlay to your system.
# layman -a bangert
- red5 is still considered experimental or unstable - so add it to your keywords file
# echo "dev-java/red5" >> /etc/portage/package.keywords
or# echo "dev-java/red5" >> /etc/portage/package.keywords/red5
- Install red5
# emerge red5
Options
The red5 ebuild currently sports three USE flags:
- examples - installs the example webapps
- source - installs the red5 source - you will want this if you write your own red5 application (very likely)
- doc - installs the documentation
Directory structure and startup scripts
The red5 ebuild installs red5 into /opt/red5. Webapps are installed into /var/lib/red5-webapps
To start red5, run
# /etc/init.d/red5 start
To stop red5, run
# /etc/init.d/red5 stop
The ebuild creates a new red5 user under which the application will run.
If you find errors in or have improvements to this ebuild, do not hesitate to contact me@bangert@gentoo.org.
Have fun.
