RealServer8.01のインストール

RealSystemが公開している無償版の realserver を FreeBSD4.3 にインストールした時の記録を以下に公開する。

インストール前準備

インストール作業にはroot権限を要求しないので、 予めインストール先のディレクトリをroot権限で作っておく。
% su
# mkdir /usr/local/RealServer
# chmod 777 /usr/local/RealServer
# exit
適当な作業ディレクトリ ~/RS/ を作る。
% mkdir ~/RS
% cd ~/RS

ダウンロード

以上で必要な以下のファイルが揃う。
% ls -l
-rw-r--r--  1 nagatani  nagatani     21462 Jul  2 21:35 ****-**-**-***************.lic
-rwxr-xr-x  1 nagatani  nagatani  13430033 Jul  2 20:39 rs-8-01-freebsd-3.bin

インストール

インストーラーを実行する。
% rs-8-01-freebsd-3.bin

Extracting files for RealNetworks installation...

作業ディレクトリ ~/RS/rnsetup が作られる

Welcome to the RealServer Setup for UNIX
Setup will help you get RealServer running on your computer.

Setup will step you through the installation process by displaying
informational screens.  Please follow the navigational controls
below:

     Key          Behavior
     ===          ========
     N            Next
     P            Previous
     X            Exit
     F            Finish (Express Installation)

Each input requires the execution of the key above
followed by the [ENTER] key.  Enter [N]ext to continue: n

If a RealServer license key file has been sent to you,
please enter its directory path below. If you have not
received a RealServer license key file, then this server
WILL NOT OPERATE until a license key file is placed in
the server's License directory.  Please obtain a free
Basic RealServer license or purchase a commercial license
from our website at http://www.real.com/.  If you need
further assistance, please visit our on-line support area
at http://service.real.com/, or contact our RealServer
technical support team at (206) 674-2681.
License Key File: ****-**-**-***************.lic

Installation and use of RealServer requires 
acceptance of the following terms and conditions: 
Press [Enter] to display the license text...

読む

Enter the complete path to the directory where you want
RealServer 8.0 to be installed.  You must specify the full
pathname of the directory and have write privileges to
the chosen directory [/home/nagatani/RS]: /usr/local/RealServer

# 前に作ったインストール先ディレクトリを入力する。

Please enter a username and password that you will use 
to access the web-based RealSystem Administrator, the 
RealSystem monitors, and RealSystem live encoders: 
Username: ********

Password: ********

Confirm Password: ********

Please enter a port on which RealServer will listen for 
PNA connections.  These connections have URLs that begin 
with "pnm://": (Default: 7070) [Enter]

Please enter a port on which RealServer will listen for 
RTSP connections.  These connections have URLs that begin 
with "rtsp://": (Default: 554) [Enter]

Please enter a port on which RealServer will listen for 
HTTP connections.  These connections have URLs that begin 
with "http://": (Default: 8080) [Enter]

RealServer will listen for RealSystem Administrator 
requests on the port shown.  This port has been 
initialized to a random value for security.  Please 
verify now that this pre-assigned port will not interfere
with ports already in use on your system; you can 
change it if necessary. (Default: *****) [Enter]

# 一応、ポート番号もセキュリティーの一部と考えられているようだ。
# (ポートスキャンされると意味はなくなるが…。)

You have selected the following RealServer configuration:

Admin Username:         adomin
Admin Password:         pass
Monitor Password:       pass
Encoder Username:       adomin
Encoder Password:       pass
PNA Port:               7070
RTSP Port:              554
HTTP Port:              8080
Admin Port:             16969

Enter [F]inish to begin copying files, or [P]revious
to go back to the previous prompts: f


Copying RealNetworks program files....

RealServer installation is complete. 
The RealSystem Administrator allows you to configure 
and maintain RealServer through an intuitive 
web-based interface. Please note that RealServer 
must be running in order to use the Administrator. 
Would you like to start RealServer now and launch 
the RealSystem Administrator? (Default: Yes) No

If at any time you should require technical 
assistance, please visit our on-line support area 
at http://service.real.com/, or contact our RealServer 
technical support team at (206) 674-2681.  

Cleaning up RealServer installation files...
Please Wait...

セグメントエラー (coreを出力しました)

%
作業ディレクトリ ~/RS/rnsetup の消去に失敗しているようだ。 仕方がないので、て作業で消去する。
% rm -Rf rnsetup
以上でインストール作業完了

RealServer の起動

(これにはroot権限が必要…、一般ユーザーだと port 554 が開けないといって落ちる。)
# cd /usr/local/RealServer/Bin
# rmserver ../rmserver.cfg	# cfg ファイルの指定は必須

RealServer (c) 1995-2001 RealNetworks, Inc. All rights reserved.
Version: RealServer 8 (8.0.1.367)
Platform: freebsd-3.0-i386

Creating Server Space...
Calibrating Timers...
Starting RealServer 8.0 Core...
Loading RealServer License Files...
Detecting Number of CPUs...
   Testing 1 CPU(s): 1 CPU Detected, Phew...
   Testing 2 CPU(s): 2 CPUs Not Detected (94% Work Produced)
Testing File Descriptors...
Setting per-process descriptor capacity to 477(712), 9...
I: Loading Plugins from /usr/local/RealServer/Plugins...
I: adminfs.so.6.0       RealNetworks Admin File System                         
I: adtagrep.so.6.0      RealNetworks Ad Insertion Tag Replacement Plugin       
I: allow.so.6.0         RealNetworks Basic Allowance Plugin                    
I: archplin.so.6.0      RealNetworks Live Archiver Plugin                      
I: audplin.so.6.0       RealNetworks AU Renderer Plugin                        
I: audplin.so.6.0       RealNetworks PCM Renderer Plugin                       
I: audplin.so.6.0       RealNetworks AU File Format Plugin                     
I: audplin.so.6.0       RealNetworks WAVE File Format Plugin                   
I: audplin.so.6.0       RealNetworks AIFF File Format Plugin                   
I: audplin.so.6.0       RealNetworks DVI4 Renderer Plugin                      
I: authmgr.so.6.0       RealNetworks Authentication Manager                    
I: bascauth.so.6.0      RealNetworks Basic Authenticator                       
I: bdstplin.so.6.0      RealNetworks Broadcast Distribution Plugin             
I: brcvplin.so.6.0      RealNetworks Broadcast Reception Plugin                
I: csspplin.so.6.0      RealNetworks License Subscriber Plugin                 
I: dlicepln.so.6.0      RealNetworks License Publisher Plugin                  
I: dbmgr.so.6.0         RealNetworks Database Manager                          
I: dbwrap.so.6.0        RealNetworks 5.0 Database Wrapper                      
I: encoplin.so.6.0      RealNetworks Encoder Broadcast Plugin                  
I: httpfsys.so.6.0      RealNetworks HTTP File System with CHTTP support       
I: httpfsys.so.6.0      RealNetworks RFC 2397 Data Scheme File System          
I: inclrep.so.6.0       RealNetworks Include TagHandler                        
I: isphoster.so.6.0     RealNetworks ISP hosting plugin                        
I: liv3plin.so.6.0      RealNetworks Live Broadcast Plugin                     
I: logplin.so.6.0       RealNetworks Logging Plugin                            
I: meiplin.so.6.0       RealNetworks Media Export Interface Plugin             
I: plusplin.so.6.0      RealNetworks PlusURL File Format Plugin                
I: pplyplin.so.6.0      RealNetworks Scalable Multicast Plugin                 
I: ppvallow.so.6.0      RealNetworks Pay Per View Allowance Plugin             
I: ppvbasic.so.6.0      RealNetworks FlatFile Database Plugin                  
I: pxadsvff.so.6.0      RealNetworks RealPix Adserving File Format Plugin      
I: pxcgif2.so.6.0       RealNetworks RealPix GIF File Format Codec Plugin      
I: pxcgif2.so.6.0       RealNetworks RealPix GIF Renderer Codec Plugin         
I: pxcjpeg2.so.6.0      RealNetworks RealPix JPEG File Format Codec Plugin     
I: pxcjpeg2.so.6.0      RealNetworks RealPix JPEG Renderer Codec Plugin        
I: pxcpng.so.6.0        RealNetworks RealPix PNG File Format Codec Plugin      
I: pxcpng.so.6.0        RealNetworks RealPix PNG Renderer Codec Plugin         
I: pxff.so.6.0          RealNetworks RealPix Format Plugin                     
I: pxgf.so.6.0          RealNetworks GIF File Format Plugin                    
I: pxjf.so.6.0          RealNetworks JPEG File Format Plugin                   
I: pxpf.so.6.0          RealNetworks PNG File Format Plugin                    
I: qtbcplin.so.6.0      QuickTime Live Broadcast Plugin                        
I: qtffplin.so.6.0      RealNetworks QuickTime File Format Plugin              
I: ramplin.so.6.0       RealNetworks Ramgen File System                        
I: redbcplin.so.6.0     RealSystem Broadcast Redundancy Plugin                 
I: rmffplin.so.6.0      RealNetworks RealMedia File Format Plugin              
I: rn5auth.so.6.0       RealNetworks RN5 Authenticator                         
I: mp3f.so.6.0          RealNetworks MP3 File Format Plugin                    
I: rtffplin.so.6.0      RealNetworks RealText File Format Plugin               
I: sdpplin.so.6.0       RealNetworks SDP Stream Description Plugin             
I: shelfsys.so.6.0      RealNetworks Shell File System                         
I: smlffpln.so.6.0      RealNetworks SMIL File Format Plugin                   
I: smlgenfs.so.6.0      RealNetworks SMIL Generation File System               
I: smonplin.so.6.0      RealNetworks System Monitor                            
I: smplfsys.so.6.0      RealNetworks Local File System                         
I: spltplin.so.6.0      RealNetworks Splitter Broadcast Plugin                 
I: swff.so.6.0          RealNetworks File Format Plugin for Macromedia Flash 4 
I: tagfsys.so.6.0       RealNetworks XMLTagFileSystem                          
I: vidplin.so.6.0       RealNetworks RGB Renderer Plugin                       
I: vidplin.so.6.0       RealNetworks AVI File Format Plugin                    
I: vidplin.so.6.0       RealNetworks Active Stream Format Version 1 Plugin     
I: vivff.so.6.0         VivoActive File Format Plugin                          
I: ppvmsql.so.6.0       RealNetworks Mini SQL PPV Database Plugin              
I: vsrcplin.so.6.0      RealNetworks Local View Source Plugin                  
I: vsrcplin.so.6.0      RealNetworks View Source Tag Replacement Plugin        
I: vsrcplin.so.6.0      RealNetworks View Source Allowance Plugin              
I: vsrcplin.so.6.0      RealNetworks View Source File System                   
W: ISP Hosting may not be used concurrently with Distributed Licensing.
   The ISP hosting feature has been disabled.
端末は戻ってこない。Serverはこの端末で Ctrl-C で落ちる。

試験

サーバーを起動した上で、リアルビデオの表示を試みてみる。
% realplay rtsp://localhost/real8video.rm
動画が表示されればインストール成功。 デフォルトのコンテンツのルートは /usr/local/RealServer/Content で、そこにあるサンプルファイルreal8video.rmを表示させた事になる。

リモート管理

インストール時に設定した管理用ポート*****にネットスケープで接続する。
% netscape http://localhost:*****/admin/index.html
User と Passwd が聞かれるので、これもインストール時に設定した内容を入れる。 これらのPort番号、User や Passwd は コンフィグファイル /usr/local/RealServer/rmserver.cfg にそのまま記録されている。
HTTP Port 8080 は管理画面の[Sample]の中からストリーミングのテストをする時に 使用するようだ。

参考になるページ

最終更新: 2001/7/3(火)

永谷幸則@京都大学 基礎物理学研究所