See the link below for an installation guide.
However the easiest method for me to configure flash, java, fonts, codecs etc has been the installation of ubuntu-restricted-extras (see local law for copyright on certain formats). I highly recommend this one. Type in a terminal and hit enter, type your password (it won't show up any stars on the screen, just hit enter after you've typed it, in case you didn't know).
sudo apt-get update && sudo apt-get install ubuntu-restricted-extras
For possible issues with Flash:
(courtesy of forum member lovinglinux)