NOTE: If
your Virtual Server was ordered after December 1, 1999, you are likely running
FreeBSD. To find out which O/S your Virtual Server is running, use the
% uname |
Installing RealNetworks Basic Server G2 for
FreeBSD
To install RealNetworks Basic Server G2 for FreeBSD, connect to your Virtual Server via Telnet or SSH and do the following:
% cd % mkdir usr/local/realserverg2
% cd usr/local/realserverg2 % chmod 755 g2p3-freebsd-3_0.bin % ./g2p3-freebsd-3_0.bin
Please review the setup guidelines described below for help concerning specific questions the setup utility will ask you.
Setup Guidelines
During the setup process, use the following guidelines:
|
|
Starting Basic Server G2
To start Basic Server G2, type:
% cd ~/usr/local/realserverg2 % Bin/rmserver rmserver.cfg
To make sure that Basic Server G2 is running correctly, connect to the RealSystem Administrator using the following URL:
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.
Serving Real Media
Now that you have successfully installed and tested your Basic Server G2, you
are ready to Serve Real Media from your web site.
Serving Real Media
Now that you have successfully installed and tested your RealServer, you
are ready to serve Real media content from your web site.
If your Virtual Server was set up later than December 15, 1997 then your ~/www/conf/mime.types file includes the necessary MIME types. If your Virtual Server was set up prior to December 15, 1997 then simply add the following two lines to your ~/www/conf/mime.types file:
audio/x-pn-realaudio ram rm ra audio/x-pn-realaudio-plugin rpm
If you download the ~/www/conf/mime.types file to your local computer using FTP, be sure you upload it back to your Virtual Server in ASCII format. An alternative to editing the ~/www/conf/mime.types file is to simply copy the ~/www/conf/mime.types file from the /usr/local/contrib directory on your Virtual Server host machine. To do this type:
% cp /usr/local/contrib/mime.types ~/www/conf
NOTE: You
will need to restart your web server after making changes to the
mime.types file. Use the restart_apache command:
% restart_apache |
FreeBSD
~/usr/local/realserverg2/Content
BSD/OS
~/usr/local/pnserver-VERSION/content
These directories are the "BasePath" where RealServer looks for Real media files. You can change these by modifying your RealServer server.cfg file. Be sure to FTP any Real media files in BINARY mode (not ASCII mode).
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.
a href="mediafile.ram" a href="/support/addonhelp/multimedia/realserver/media/sampleaudio.ram"a
Installing RealNetworks Basic Server for BSD/OS
Installation instructions for the RealServer 4.01 (Basic), RealServer 5.0 (Basic), and RealServer 5.0 (Internet) are included below. The primary difference between the two basic servers is that they are free, whereas RealServer 5.0 (Internet) requires that you purchase a license from RealNetworks. The main functional difference between the two Basic servers and the 5.0 Internet Server is that RealServer 5.0 (Internet) supports "RealFlash" animation, Ad Insertion, and a Java Performance Monitor. The two Basic servers do not include these additional tools.
NOTE: If
you have one of our new Virtual Servers running the FreeBSD O/S, you should
instead Install the Basic Server G2 for FreeBSD. If your Virtual Server
was ordered after December 1, 1999, you are likely running FreeBSD. To find out
which O/S your Virtual Server is running, use the
% uname |
Intalling RealServer 4.01 (Basic)
% cd (this will put you in
your home directory)
% tar -xvf /usr/local/contrib/realserver_4.01.tar
% cd
~/usr/local/pnserver-4.01
% ./setup
Please review the setup guidelines described below for help on specific questions the setup utility will ask you.
Intalling RealServer 5.0 (Basic)
% cd (this will put you in
your home directory)
% tar -xvf /usr/local/contrib/realserver_5.0.tar
% cd
~/usr/local/pnserver-5.0
% ./setup
The RealServer 5.0 (Basic) setup utility will ask you for a "CustomerName" and "LicenseKey". Enter the following information for these two fields:
CustomerName
01-0102-0009-75458
LicenseKey
e9600z3830c00002f0cd3d220000430400d00033a0000306600ca25e439470000c70f
Please review the setup guidelines described below for help on other specific questions the setup utility will ask you.
Intalling RealServer 5.0 (Internet)
% cd (this will put you in
your home directory)
% tar -xvf /usr/local/contrib/realserver_5.0i.tar
% cd
~/usr/local/pnserver-5.0i
% ./setup
The RealServer 5.0 (Internet) setup utility will ask you for a "CustomerName" and "LicenseKey". Enter these two values exactly as they appear in your licence documentation you received from RealNetworks.
Please review the setup guidelines described below for help on other specific questions the setup utility will ask you.
Setup Guidelines: 4.01 (Basic), 5.0 (Basic), 5.0 (Internet)
During the setup process, please use the following guidelines:
/usr/home/[your login name]/usr/local/pnserver-4.01
or
/usr/home/[your login name]/usr/local/pnserver-5.0
or
/usr/home/[your login name]/usr/local/pnserver-5.0i
Starting and Testing Your RealServer
% cd
~/usr/local/pnserver-4.01
or
% cd ~/usr/local/pnserver-5.0
or
% cd ~/usr/local/pnserver-5.0i
% ./bin/pnserver server.cfg
This should start two pnserver processes. To verify this, type:
% ps -x | grep pnserver
This will reveal the pnserver processes running on your Virtual Server. If they are not shown, check the error log in "~/usr/local/pnserver-VERSION/logs/pnerror.log" to find out why the RealServer did not start. Where "VERSION" is either "4.01", "5.0", or "5.0i".
~/etc/rc file. You can use FTP to
upload an rc file or edit it directly on your Virtual Server using pico. Add the following line to your ~/etc/rc file:
~/usr/local/pnserver-4.01/bin/pnserver
~/usr/local/pnserver-4.01/server.cfg
or
~/usr/local/pnserver-5.0/bin/pnserver
~/usr/local/pnserver-5.0/server.cfg
or
~/usr/local/pnserver-5.0i/bin/pnserver
~/usr/local/pnserver-5.0i/server.cfg
Launch the RealPlayer and perform the following steps:
pnm://YOUR-DOMAIN.NAME:[port]/[path and filename]
where [port] is the port you selected at server installation. If you specified the default port, 7070, as part of the RealServer setup and installation then it is not necessary to include the port number in the URL. For example, try this URL:
pnm://YOUR-DOMAIN.NAME/sample.rm
% kill 'cat
~/usr/local/pnserver-VERSION/logs/pnserver.pid'
Where "VERSION" is either "4.01", "5.0", or "5.0i".
Creating links to RealAudio and RealVideo Media
Files
Now that you have successfully installed and tested your RealServer. You are
ready to create links to audio and video content on your web site. In order to
this, you need to first make sure that the web server on your Virtual Server is
configured to properly handle the RealServer extensions, namely
".rm", ".ra", ".ram", and optionally
".rpm".
If your Virtual Server was set up later than December 15, 1997 then your "mime.types" file (located in your "~/www/conf" directory) includes the MIME types necessary. If your Virtual Server was set up prior to December 15, 1997 then simplyTelnet or SSH to your Virtual Server and add the following two lines to your "mime.types" configuration file:
audio/x-pn-realaudio ram rm ra audio/x-pn-realaudio-plugin rpm
If you FTP the "mime.types" file down to your local computer, be sure you upload it back to your Virtual Server in ASCII mode. An alternative to editing the "mime.types" file is to simply copy the "mime.types" file from the "contrib" directory- to do this type:
% cp /usr/local/contrib/mime.types ~/www/conf
After you have completed the modifications to the "mime.types" file (if modification was necessary), you are ready to serve RealAudio and RealVideo content from your web site:
pnm://YOUR-DOMAIN.NAME/mediafile.ra
or, for RealVideo files:
pnm://YOUR-DOMAIN.NAME/mediafile.rm
where YOUR-DOMAIN.NAME is the domain name of your Virtual Server and "mediafile.ra" or "mediafile.rm" is the RealAudio or RealVideo file you uploaded to your content directory in the previous step.
sample.ram
FTP the metafile to your Virtual Server (in ASCII mode since it is a text file). Metafiles should be saved in your htdocs directory heirarchy.
<a href="sampleaudio.ram">
<a
href="/servers/extensions/realserver/samplevideo.ram">
Both relative or complete paths are acceptable.
Working Examples
The HTML hyperlink code and the metafile text for two working examples (one RealAudio file and one RealVideo file) are shown below.
pnm://www.littletechshoppe.com/sample.ra
HTML Source Code:
<a href="sampleaudio.ram">Audio Clip Example</a>
Contents of RealVideo meta file (samplevideo.ram):
pnm://www.littletechshoppe.com/sample.rm
HTML Source Code:
<a href="samplevideo.ram">Video Clip Example</a>
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).
| Audio Clip Example | Video Clip Example |
Technical Information
More detailed technical information may be obtained from RealNetworks' web site. Of particular value are the RealServer 5.0 and RealServer 4.0 Manuals (available in PDF format). For general support information, visit RealNetworks' Service & Support Directory.
Copyright © 1996-2000, Last Modified: 21 January 2000A Little Technology Shoppe, LLC (ALTS.NET)®. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders.