RealServer G2 Installation

Real Server G2 can be installed with either Real's free 25 concurrent connection license or an unlimited
license maybe purchased from RealNetworks. Real Server G2 comes with
Real Server's Java Performance Administration Monitor which eases Real Server G2 administration.
Installing RealServer G2
- Connect to your Virtual Server using
Telnet or SSH
- Create an install directory for your Real Server. Type:
% cd
% mkdir usr/local/realserverg2
- Download the Real Server free software from Real Audio (make sure to select the FreeBSD version)
to your newly created installation directory (~/usr/local/realserverg2).
Upload this file to your Virtual Server in binary format.
- If you have purchased a license from Real Networks you will need to upload this to your server as well.
This most likely will have been sent to you as an e-mail attachment.
- Run the RealServer setup utility. Type:
% cd ~/usr/local/realserverg2
% chmod 755 g2p3-freebsd-3_0.bin
% ./g2p3-freebsd-3_0.bin
Review these guidelines for help with specific installation questions:
Setup Guidelines
Starting Real Server
To start Basic Server G2 type:
% cd ~/usr/local/realserverg2
% Bin/rmserver rmserver.cfg &
To make sure your Real Server is running correctly use the following URL in your browser:
http://YOUR-DOMAIN.NAME:4574/admin/index.html
"4574" is the default setting for the RealSystem Administrator port. If you chose a different port number while running the setup utility, you will need to substitute that number.
From the menu you should see on the left, choose "Samples". If you have already installed a RealPlayer G2 on your own computer, you can then attempt to play one of the sample Real Media clips.
You should add Basic Server G2 to your Rc file (~/etc/rc) so that it will automatically start in case of a host machine reboot.
~/usr/local/realserverg2/Bin/rmserver ~/usr/local/realserverg2/rmserver.cfg &
Serving Real Media
To serve Real Media from your server follow the following steps:
-
Make sure that your Virtual Server is set up to handle Real Media file extensions such as .rm, .ra, .ram.
Telnet to your server and view your MIME types file located at ~/www/conf/mime.types. Check to
see if the two following line are in the file, if not you will need to add them. If you add these files
make sure to restart apache using the restart_apache command.
audio/x-pn-realaudio ram rm ra
audio/x-pn-realaudio-plugin rpm
- FTP your encoded files to the ~/usr/local/realserverg2/Content directory making sure that you
are transferring your files in binary format. This is the default path that Real Server looks for media.
You can change this default path by either editing your server.cfg
file or through you administrative interface.
- Next through any simple text editor create a metafile with the following syntax:
pnm://YOUR-DOMAIN.NAME/MEDIAFILE.rm
Change YOUR-DOMAIN.NAME to the domain name of your Virtual Server and MEDIAFILE to the name of the Real media
file you uploaded to your content directory in the previous step.
- Save the above file with any name with the extension .ram. This and all metafiles should be saved in
the hierarchy of your ~/www/htdocs directory.
- Finally, reference the metafile as a hyperlink in your HTML document. For example:
<a href="mediafile.ram">
<a href="/support/addonhelp/multimedia/realserver/media/sampleaudio.ram">
Working Examples
The following links are actual examples which implement the
instructions included on this page. Go ahead and try them out!
(Note: the video clip example takes a little bit longer to start).
|