www.digitaldaze.com
I n s t a l l i n g   R e a l N e t w o r k s   B a s i c   S e r v e r   G 2   f o r   F r e e B S D

NOTE: The Basic Server G2 can only be installed on the Virtual Servers running the FreeBSD operating system. To find out which operating system your Virtual Server is running, use the uname command.


To install RealNetworks Basic Server G2 for FreeBSD, connect to your Virtual Server via Telnet or SSH and do the following:

  1. Create an install directory for the Basic Server G2:

    % cd
    % mkdir usr/local/realserverg2

  2. Download the Basic Server G2 free software from the RealNetworks web site. Be sure to select "FreeBSD 3.0" as the O/S. Upload (via FTP in Binary mode) the software to your new Basic Server G2 install directory.

  3. If you entered the registration information correctly when downloading the Basic Server G2 software, a RealServer license key file will be e-mailed to you by RealNetworks. Upload the license key file (it was probably sent as an attachment to the e-mail sent by RealNetworks) to your new Basic Server G2 install directory.

  4. Run the Basic Server G2 setup utility. Type:

    % cd usr/local/realserverg2
    % chmod 755 g2p3-freebsd-3_0.bin
    % ./g2p3-freebsd-3_0.bin

  5. Copy the license file to the License directory.

    % cp <license-file-name>.lic License/.

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:

  • When the setup utility prompts you for a directory path you must enter the full pathname to your Virtual Server, like /usr/home/LOGIN/usr/local/realserverg2. Do not use a path like ~/usr/local/realserverg2.

  • For the user name and password, we suggest that you use your Virtual Server login and password.

  • You can accept the default port for RealServer PNA (7070) and HTTP (8080) requests. A RealSystem Administrator port number will be randomly generated. Just make sure you don't introduce any port conflicts. For all of the ports, you must choose a port number greater than 1024. Here are some suggestions:

    RSTP Port: 5540
    Admin Port: 4574

  • When the setup utility gives you the option to start the Basic Server G2 and RealSystem Administrator, type "No". Before you can start the Basic Server G2 you must make one other addition to the configuration file (~/usr/local/realserverg2/rmserver.cfg). Add the following lines at the end of the file, substituting your Virtual Server IP address for YOUR.IP.ADD.RESS:

    <List Name="IPBindings">
    <Var Address_01="YOUR.IP.ADD.RESS"/>
    </List>

Starting Basic Server G2

To start Basic Server G2, type (all on one line):

% ~/usr/local/realserverg2/Bin/rmserver ~/usr/local/realserverg2/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.

Add the RealServer start up command to your RC file (~/etc/rc) so that RealServer will automatically start in case of a host machine reboot (all on one line):

~/usr/local/realserverg2/Bin/rmserver ~/usr/local/realserverg2/rmserver.cfg &

NOTE: If your Virtual Server does not already have an RC file (~/etc/rc) you will need to create one.

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.

 

[Legal Notice]
http://www.digitaldaze.com