VOD系统安装手册

贴上一篇文档,以作参考。

×××××××××××××××××××××××××××××××
目 录
第一章 播控服务器的安装 0
第一节 播控服务器的安装步骤 0
第二节 SCO_UNIX5.0.4 的安装 0
第三节 网卡的安装 0
一、 NE2000兼容网卡的安装 0
二、 D-Link DFE-530TX 以太网卡的安装 0
第四节 DIALOGIC语音卡的安装 0
一、 安装前的准备工作 0
二、 开始安装 0
三、 语音卡的测试 0
第五节 SYBASE 11 FOR SCO_UNIX 5.0.4安装手册 0
一、 安装前的准备: 0
二、 安装SQL Server 0
三、 系统配置 0
第六节 SOD播控数据库和应用程序的安装 0
一、 建立SOD数据库系统 0
二、 安装应用程序: 0
三、 建立自启动: 0
第二章 数据库服务器的安装 0
SGI 0200服务器安装ORACLE SERVER 7.3.3 0
第三章 视像服务器的安装 0
第一节 视像服务器的安装 0
一、 视像服务器端硬件介绍 0
二、 SGI Oringin 200/2000的安装 0
第四章 FORE ATM 网卡的安装配置 0
第一节 硬件安装 0
第二节 软件安装 0
第三节 附录: 0
一、 addint脚本 0
二、 Bindpvc脚本 0
三、 网卡配置文件范例 0
四、 PVC配置文件范例 0
第五章 网管工作站的安装 0
第一节 安装软件的过程: 0
第二节 配置过程: 0
第三节 使用SNMPC的图形化管理 0
第四节 硬件连接图 0
第六章 数据库的安装与设置说明 0
第一节 SYBASE客户端的安装配置 0
一、 SYBASE的安装 0
二、 设置SYBASE 0
三、 设置数据库引擎 0
第二节 ORACLE客户端的安装配置 0
一、 oracle for win95的安装 0
二、 设置Oracle 0
三、 设置数据库引擎 0
第七章 网络VOD安装及使用 0

第一章 播控服务器的安装
第一节 播控服务器的安装步骤
一、 安装Unix 5.0.4 系统
二、 安装网卡
三、 安装Dialogic语音卡
四、 安装SYBASE11
五、 建立SOD数据库系统及SOD应用程序
第二节 SCO_UNIX5.0.4 的安装

  1. 准备安装介质: 一张包含SCO_UNIX 5.0.4的光盘,一张SCO_UNIX 5.0.4的启动盘(软盘)。

  2. 插入软盘,打开计算机电源开关,在屏幕下方显示:

……

SCO OpenServer™ Release 5
Boot
:

  1. 按回车键继续, 在软件装载时,进展情况会显示到屏幕上。 类似如:

  2. 按回车键继续安装, 在屏幕下方会显示如下信息:

Press to contnue. Press for general help .
Esc = Previous Enter=Continue F1=Help F2=Abort

  1. 按回车键继续安装, 在屏幕上出现如下信息:

1). Media devive to be user这个选项用于选择安装介质,本系统选 IDE CD ROM, 如果默认的不是所需要的介质,可按空格键选择。屏幕类似如下:

            Archive Tape
              …………
            Floppy
            IBM 6157 Tape
            IDE CD ROM
            IDE Tape
            SCSI CD ROM
            SCSI Tape 
             ……….
 本手册假设安装介质为 IDE CD ROM 。(注意, 该选项不同,其下所需要的选项信息会不同。 )

2). IDE Controller 这个选项用于选择安装介质(光驱)所连接的硬盘控制线,选项有两个:
primary
secondary
本手册假设安装介质连接在 primary线上。
3). Master or Slave这个选项用于选择安装介质(光驱)的跳线,选项有两个:
master
slave
本手册假设安装介质的跳线为 slave。

  1. 上面选项正确后,会提示你插入光盘(如果选项不正确,请重新启动机器,在启动过程中,系统会提示光驱所联接的位置,参见第二步。),屏幕显示如下:

Insert your installation CD-ROM in the
CD-ROM ….

                                          Accept above choices     
  1. 插入光驱后,选择“OK”,系统会提示选择所使用的语言,

如果默认的语言不对,可按空格键选择 US English。

  1. 按回车键继续安装,系统提示输入版权信息:

    在License Number后面的“Type in”处输入: 2EI047274 (第四位的0为数字零)
    在 License Code 后面的“Type in”处输入: mmvgqjxa

  2. 按几次回车键继续安装,系统提示这次安装是更新系统(Upgrade)还是重新安装系统(Fresh)。

  3. 选择 Fresh (重新安装系统)。

  4. 系统提示再确认一次:

    Select OK to continue. Select Cancel to review or
    change your answers.
    ……

  5. 选择OK , 继续安装,系统会提示输入基本配置:

如果内容与上不同,对于“System name” 和 “Domain name”可输入,对于“Security profile”和“Language”可按空格键选择(注意:对于Time zone选项,如果按空格键,系统将出错,因此,该项不要改)。

13.这一屏选完后,继续安装,出现提示:

如果选项与上不同(第三个选项可能不同),可按空格键修改。

14. 选择完毕,继续安装,会弹出屏幕提示:

If the installation instructions for your database
……
software), under ‘Hard disk setup’.

15.继续按回车键即可,将出现屏幕画面:

 Preparing your disk and choosing software
 ……

Hard disk setup: Preserve layout :Bad Tracking ON
Optional software: SCO OpenServer Enterprise System,241 MB

对于Hard disk setup选项,按空格键修改内容,:
确保其二级选项的内容为:
Disk 0,2012MB. Partitions & filesystems: Use whole disk for UNIX
Disk 0 bad track type: Thorough/Destructive
如果不是,按空格键修改。

在选择Use whole disk for UNIX 时会出现一屏信息提示,回车后,出现提示:

                   * WARNING *

The entire contents of your hard disk will be erased.
Are you sure you want to erase the contents of the disk ?

选择“Yes”,整个硬盘的内容将全部被删除,系统回到以前的屏幕:

 Preparing your disk and choosing software
 ……

Hard disk setup: Unix only : Bad Tracking ON
Optional software: SCO OpenServer Enterprise System,241 MB

                                   Accept above choices

如果选项的内容与上面的显示不同,请重新修改。
  1. 选择完毕,继续安装,会出现类似如下屏幕提示:

Network card: Deferred
Network address: No networking card configured
Video and graphics: IBM VGA
Mouse: No mouse configured
Email system: MMDF
Accept above choices

如果选项与上不同,可按空格键修改。对于熟练者,想在此安装网卡,“Network card”选项可按需选择。

17. 选择完毕,继续安装,系统提示输入口令屏幕:

Setting your root password
……

Root password : Type in

在Type in 处输入口令 “11111111”(八个一)。回车后,会提示重新确认口令:

Please type again to confirm: Type in

在Type in 处再输入口令 “11111111”(八个一)

确认后,系统弹出屏幕,提示系统安装将不再被干预:

     The installation can now proceed unattended.
     ……

选择“OK”,系统开始安装,大概需要一个半小时左右,安装过程中,屏幕会显示安装信息及安装进度。。
选择“Cancel”,系统不安装。

18. 如果选择OK安装,系统安装完后,屏幕出现提示:

Installation and initial configuration of
SCO OpenServer Enterprise System is complete.

……

(EOF)
Press to continue:

  1. 按回车键继续,在屏幕的下方会出现提示几行提示,大意是“当出现 ‘Power Off or Reboot’ 时,将软盘取出,按任意键重新启动系统。

  2. 屏幕最后提示:
    ** Safe to power off **

  • or C

         **    Press Any Key to Reboot    **
    

    至此,SCO_UNIX 5.0.4系统安装完毕,可关闭电源,或按任意键重新启动系统。

  1. 修改时区:
    用root用户登录后,运行 tz 命令,画面如下,其中黑体字为需输入的。

tz

Time zone initialization

Are you in North America? (y/n) n

What is the abbreviation of your standard time zone?
Enter 1-9 characters or enter q to quit: china

How many hours west of Greenwich Mean Time are you?
Enter hh[:mm:ss] (eg. 10:30:00 or 10:30, use negative
numbers for locations east of GMT) or enter q to quit: 8:00:00

Does summer time (daylight saving time) apply at your location? (y/n) n

reboot 修改完后,重新启动机器。

第三节 网卡的安装
一、NE2000兼容网卡的安装
1. 用DOS启动盘启动计算机,利用网卡的随机盘设置网卡的中断和IO地址。用root用户登录后,运行如下命令:
2. # netconfig
==》 选择 Hardware → Add new LAN adapter
==》 选择Novell Ne2000
中断号: 3 ,IO地址: 0x340
网络产品: SCO TCP/IP,I P address: (如: 130.130.5.21 )
未列出的项选默认值。
其后所有选项均回答“y”,连接核心后,重新起动。
二、D-Link DFE-530TX 以太网卡的安装

  1. 用root用户登录到SCO UNIX 后,运行如下命令:
  2. 拷贝 d5B.IMG 文件到 SCO OpenServer 并改名为 VOL.000.000

mkdir /usr/test

doscp a:/scoopen/d5B.IMG /usr/test/VOL.000.000

  3. 执行 "custom"命令
     #custom  
     出现安装界面:
     选择 “Softwore” 后再选择 “Install New ……” 项,再选择 “From dicbc2”按回车,在Media Device:中输入安装时的目录 “/usr/test”即可进行安装。安装完后。进入#提示符输入netconfig 命令。
   # netconfig  进行网卡设置。

第四节 Dialogic语音卡的安装
一、安装前的准备工作
在安装前,先记录下Dialogic语音卡硬件资料,例如中断号码、语音卡型号、语音通道数目等信息。本说明中假设所使用的语音卡为D/41D型,使用中断号为5,语音通道为4个。
中断为5时,语音卡的中断跳线如下:

二、开始安装
1. 将语音卡插在ISA插槽。
2. 开机后,系统提示选择启动模式时,不要按Control+d进入普通模式,
而应直接输入roo帐户的登录口令( 11111111 )进入单用户工作模式。
3. 输入安装命令:

installpkg

按屏幕提示插入语音卡安装软盘后,按回车键。屏幕显示如下:

Confirm
Please insert the floppy disk
……
Strike ENTER when ready
or ESC to stop

4. 插入软盘并回车键后,系统出现不要将软盘拿出等提示。之后,提示:
Confirm the device number you wish to install from ((default)0,1):

  1. 上述提示是要你确定系统所用的软驱编号,默认是0,既A驱。选默
    认值,回车即可。系统相继出现提示:

……
Do you wish to install the available libraries[yn]?

……
Y for a single rebuild and N for individual packagerebuilds[yn]?

  1. 上述两项都选默认值,回车即可。系统提示:

    The fololowing package are available in this distribution :

    D/42 Development Package
    …… (此处省略了四行)
    VR Development Package
    Voice Demonstration Package
    Voice Development Package

Please select the modules desired for installation by hitting
the key at the prompt.
(在下面的提示中,对于需安装的项键如 )

D/42 Development Package ?[n]
….. (此处省略了四行)
VR Development Package ?[n]
Voice Demonstration Package?[n] y
Voice Development Package?[n] y
(只选择最后两项)

  1. 对最后两项选后,出现提示:

You have Selected the following modules for installation:

Voice Demonstration Package
Voice Development Package

Is this correct [yn]?

  1. 选默认值,回车即可。系统继续提示:

……
Please make sure you have all the configuration information ready
before continuing with the step.

Do you wish to continue with installation [yn]?

  1. 选默认值,回车即可。系统提示:

CONFIG INFORMATION FOR HD Voice BOARDS


(Includes D/80SC, D/160SC, D/240SC, D/320SC)

Hit RETUN to accept default values , which are listed in () at each prompt……

Enter the number of HD Voice boards in the system (0):

10. 上述提示选择所使用的语音卡型号,及安装该语音卡的数量。
本说明中假定语音卡的型号为 D/41D,安装的数量为1。因此,当出现如下显示时,输入1,其他类型的卡均选默认值0(回车即可)。

CONFIG INFORMATION FOR HD Voice BOARDS


(Includes D/21D, D/21D-HS, D/41D, D/41D-HS,D/42SX,D/42SL,D/42NS,VR/40)

Hit RETUN to accept default values , which are listed in () at each prompt……

Enter the number of D/XXD Voice boards in the system (0): 1

11.输1(说明安装一块D/41D语音卡)后,系统提示:

Enter the IRQ level for all D/XXD board (3) : 5
Enter the memory address for D/XXD board #1 (D0000):

  1. 输入中断号5 ,内存地址为默认值(D0000),回车即可。之后,出
    现提示:

CONFIG INFORMATION FOR DPD/120 BOARDS


Hit RETURN to accept default values, which are listed in () at each prompt……

Enter the number of DPD/120 boards in the system(0):

  1. 不安装 DPD/120卡,输默认值,回车即可。屏幕出现提示:

              +================+
    

±--------------------| Board Information |------------------------------+
| +================+ |
| |

D/XXD #1: Address D0000 IRQ 5

WARNING :
No DPD/120 board were ……
……
WARNING:
No DIALOG/HD boards were selected - ……
……
Is this information correct (y/n)?

  1. 输入y后,出现提示:
    Press to continue installation…
    回车后,屏幕提示:

/usr/dialogic/bin/Remove/Remove.sr

Installing config files
/usr/dialogic/bin/mkcfg
/usr/dialogic/bin/dlgconv

Press return to continue…

  1. 回车后,提示插入第二号盘:
    Insert disk #2 in device and hit . →

  2. 根据提示,依次插入第二至第六号盘。
    安装过程中会出现如下的显示:

Insert disk #2 in device and hit . →
Working …

Insert disk #3 in device and hit . →
Working …

Insert disk #4 in device and hit . →
Working …

Insert disk #5 in device and hit . →
Working …

Insert disk #6 in device and hit . →
Working …

  1. 在安装第六号盘时,会出现一些安装信息,最后停顿的一屏显示如下:

Dialogic Generic Voice Development Platform C Version 4.2

    Copyright  (c)  1991-1996  Dialogic Corp.
             All  Rights Reserved

Press return to continue…

  1. 回车后,出现提示:

    Based on your configuration , Dialogic drivers will now be installed.
    Do you wish to continue the installation [yn]?

  2. 选默认回答(回车即可),屏幕提示输入语音卡的通道数:

    The installation will now set system tunable parameters.
    ……
    Enter the number of channels to be used in the system :[0-128]

  3. 输入语音卡的通道数 4 (通道数目决定了语音卡可以同时处理几路电话事件)。出现提示:

The following parameters will be tuned as shown:

    PARAMETER    OLD  VALUE     NEW  VALUE  
               NCALL           30                   80 
     ……
     WARNING :Some of the parameters exceeded the upper limit
      ……
    Do you wish to [c]ontinue,[r]e-do,or [a]bort? [cra]? 
  1. 继续安装,输入 c ,回车后继续安装,屏幕显示:

    The installation will now set system tunable parameters.
    ……
    Setting parameters…

    Press return to continue…

  2. 回车后继续安装,屏幕显示安装信息,最后的提示是:
    Would you like to view the release notes [yn]?

  3. 上述提示是问你是否阅读版本信息,输入 n ,继续安装,出现提示:
    The installation of the Dialogic Generic Voice Development
    Platform C Version 4.2 is now complete.

Press return to continue ……

   23 . 回车后继续安装,屏幕显示安装信息,最后的提示是:

      Dialogic Generic Voice Development  Platform C Version  4.2

    Copyright  (c)  1991-1996  Dialogic Corp.
             All  Rights Reserved

      Press return  to continue…

  24. 回车后继续安装, 屏幕出现提示:

      …… 
     By  default this structure will be built under  /usr/dialogic/dx_demos.
     Do you wish to change the default destination [ny]?

  25. 选默认回答n(回车即可),屏幕提示:
       ……
      The tree structure will now be build under  /usr/dialogic/dx_demos
       Do you wish to continue the installation [yn]?

  26. 选默认回答y(回车即可),屏幕显示安装信息,最后提示:

This program will place the Dialogic demo program in /usr/dialogic/dx_test
Do you wish to change the default destination [ny]?

  27. 选默认回答n(回车即可),屏幕提示:
       ……

The installation of the Dialogic Demonstration Programs -
Version 4.2 is now complete.

Press return to continue ……

 28. 按回车键继续,屏幕显示:
     …… 
     Do you wish to build a kernel now [yn]?
                ……
 29. 上述提示是否需要重建内核,默认回答y(回车即可),系统再提示:

    Do you want this kernel to boot by default ?(y/n)

 30. 输入y, 重建 Unix 内核, 之后,提示:
 Do you want the kernel environment rebuilt?(y/n)

 31. 输入y, 重建内核环境, 之后,提示:
      ……  
      The installation of the System Release for Dialogic C
      Version 4.2 is now complete.
       
       #
      至此,语音卡安装完毕。

三、语音卡的测试
1 . 为了语音卡的测试,重新启动机器,
# init 0
系统提示选择启动模式时,按Control+d进入普通模式,以roo帐户登录,口令为 11111111 ,进入多用户工作模式。
在启动过程中,将看到以下信息,可初步确定语音卡安装正确:
Downloading dialogic system firmware ……..
1 dialogic voice board successfully installed .

2 . 进入语音卡测试程序所在的目录:
cd /usr/dialogic/dx_demos/ansr

  1. . 运行测试命令:

    ./ cbansr

    如果出现如下所示的屏幕显示,表示语音卡安装正确:

[QUOTE]
最初由 老牛 发布
[B]贴上一篇文档,以作参考。
续。。。

第五节 Sybase 11 for Sco_unix 5.0.4安装手册
一、安装前的准备:
1. 启动SCO_UNIX 5.0.4,在多用户模式下以根用户(root)注册进入操作系统。
2. 创建sybase 用户帐号:

a) # scoadmin  进入SCO管理工具 (见图1.1)

                图1.1

b) 选择Account Manager,进入Account Manager on scosysv帐户管理界面。选择Users菜单中的Add New User…,添加帐户。(见图1.2)

  • 在Login处输入帐户名:sybase
  • 在Home Directory处输入路径:/usr/sybase
  • 默认组名为group,即sybase为group组的成员
  • 选择ok后,为sybase指定一个口令。
    这样sybase用户帐号就被成功地创建。值得注意的是,此时应查看group组

的ID号以备安装时用。方法是在Account Manager on scosysv界面中选择View中的by groups,列出所有组名,以查看group组的ID号。(本系统中为50)

                      图1.2
  1. 改变sybase环境变量:

    cd /usr/sybase 进入/usr/sybase目录

    vi .profile 用vi编辑器编辑 .profile文件

在export PATH MAIL后加入:
SYBASE=/usr/sybase
DSQUERY=SCO_SYB
export SYBASE DSQUERY

  1. 改变参数:

    a) # vi /etc/conf/cf.d/stune 用 vi编辑器编辑stune文件,在最后加入一行 SHMMAX 67100864
    b) # vi /etc/conf/sdevice.d/suds 用 vi编辑器编辑suds文件,第二列中将N改为Y

5.重建内核:
在改变了上述参数后,系统需要重建内核。即:
进入/etc/conf/cf.d/目录,运行 ./link_unix
在Do you want this kernel to boot by default? (y/n)
Do you want the kernel enviroment rebuilt? (y/n) 中输入y

6.重新启动UNIX,以root 用户注册后,执行
/etc/suds_ctrl -a 50(SYBASE用户组ID)

二、安装SQL Server
将SQL Server光盘放入光驱,执行下列命令:
b) mount /dev/cd0 /mnt 将光驱加到系统中,并映射为mnt目录
c) cd /mnt/SYBASE 转入mnt目录
d) cp SYBIMAGE /usr/sybase/sybimage
cp SYBLOAD /usr/sybase/sybload
拷贝上述两个文件到/usr/sybase目录并改名。
e) 进入 /usr/sybase目录, 修改文件特性
cd /usr/sybase
chmod 777 sybload 改变sybload 文件属性
chown sybase sybimage 改变sybimage文件所有者
chown sybase sybload 改变sybimage文件所有者
chgrp group sybimage 改变sybimage文件组名
chgrp group sybload 改变sybimage文件组名
f) 用sybase用户注册后,运行sybload -D开始安装
# su Cu sybase
$ sybload -D
安装目录:/usr/sybase,选择本地安装。
安装文件为:/usr/sybase/sybimage
授权码为:bybyby djbyby gktmcm bkbyio zyuoyq yecj
屏幕显示如下:

SYBLOAD C Product Distribution Program
Sybase © 1993

Current directory is “usr/sybase”.
Is this the correct dirextory for installation?
If so, please enter ‘y’ or ‘Y’ : Y

Is this a Local or Remote installation,as defined in your Installation Guide?
Please enter L for Local or R for Remote.

L

Please enter the full name of the disk file of the global archive?
Please enter ‘y’ or ‘Y’ to continue:

Please reenter the full name of the disk file of the global auchive:

/usr /sybase/sybimage
you specified /usr/sybase/sybimage for the media device. Is this correct?
Please enter ‘y’ or ‘Y’ to continue: y

Please enter your Customer Authorization String, letters only:

bybyby djbyby gktmcm bkbyio zyuoyq yecj

g) 选择安装软件
Sybase Products available for installation:
Product No. 1: Sybase SQL Server, SCO, 11.0.2
Product No. 2: Language Module French Server, SCO,11.0.2
Product No. 3: Languang Module German Server, SCO, 11.0.2
Product No. 4: Language Module Janpanese Server, SCO,11.0.2
Product No. 5: Languang Module Chinese Server, SCO, 11.0.2
Product No. 6: Language Module Spanish Server, SCO,11.0.2
Product No. 7: Open Client/C, SCO, 10.0.3
Product No. 8: Open Server, SCO, 10.0.3
Product No. 9: Embedded ESQL/C, SCO, 10.0.3
Product No. 10: Embedded ESQL/COBOL, SCO,10.0.3
Product No. 11: Language Module French Connectivity,SCO,10.0.3
Product No. 12: Language Module German Connectivity, SCO,10.0.3
Product No. 13: Languang Module Japanese Connectivity, SCO, 10.0.3
Product No. 14: SQL Server Monitor Historical Server, SCO, 11.0.1
Product No. 15: SQL Server Monitor Server, SCO,11.0.1

Please enter the Product Numbers that your wish to install , one per line.
Terminate your entries with a blank line.
选择第1、5、7、8、9、10、14、15项。经确认后,系统开始安装。

三、系统配置
在系统提示所选软件安装完毕之后,需进行系统配置。
a) $ cd /usr/sybase/install 进入安装目录
b) $ sybinit 执行sybinit命令进行系统配置(见图3.1)
c) 选择2. Edit /view interfaces File
→ 1. Add a new entry 配置新的入口文件,根据屏幕提示,输 入server name: SCO_SYB, 按ctrl+a确认并继续,进入SERVER INTERFACES FILE ENTRY SCREEN。
→ 3. Add a new listener service
→ 选择 2. Port
→ 输入5000

→ ctrl+a返回到开始菜单。

    SYBINIT
  1. Release directory: /usr/sybase
  2. Edit /View Interfaces File
  3. Configure a Server product
  4. Configure an Open Client/Server product

Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ?Help
Enter the number of your choice and press return:

                        图3.1 系统配置开始菜单

d). 选择3. Configure a Server product
->1. SQL Server
->1.configure a new SQL Server 配置sql_server,根据屏幕提示,输入server name:SCO_SYB,按下ctrl+a继续。屏幕出现九个选项,(见图3.2) 按下ctrl+a逐一确认后,SQL server 开始配置。

             SQL SERVER CONFIGURATION

CONFIGURE SERVER’S INTERFACES FILE ENTRY complete
MASTER DEVICE CONFIGURATION Incomplete
SYBSYSTEMPROCS DATABASE CONFIGURATION Incomplete
SET ERRORLOG LOCATION Incomplete
CONFIGURE DEFAULT BACKUP SERVER Incomplete
CONFIGURE LANGUAGES Incomplete
CONFIGURE CHARACTER SETS Incomplete
CONFIGURE SORT ORDER Incomplete
ACTIVATE AUDITING Incomplete

Ctrl-a Accept and Continue, Ctrl-x Exit screen,? Help

Enter the number of your choice and press return:

				图3.2

->ctrl+a返回到开始菜单

d) 重复b)步骤,输入server名SYB_BACKUP,port为5050。成功后
返回到开始菜单。
e) 选择3. Configure a Server product
->2. Backup Server
->1. Configure a new Backup Server 配置backup server,默认server name: SYB_BACKUP,按下ctrl+a后,默认所有配置(如图3.3)。

      BACKUP SERVER CONFIGURATION
  1. Backup Server errorlog: /usr/sybase/install/backup.log
  2. Enter/modify backup server interfaces file information
  3. Backup server language: us_english
  4. Backup server character set: iso_1
  5. Backup server tape configuration file: /usr/sybase/backup_tape.cfg

Ctrl-a accept and continue, ctrl-x exit screen, ? help
Enter the number of your choice and press return:

f) 按下ctrl+a确认后,backup server 开始启动,成功后退出。

  注: 如果sybase需重新配置,应先删除文件:“/usr/sybase/interfaces*”、“master.dat”、“sybprocs.dat”

第六节 SOD播控数据库和应用程序的安装
一、建立SOD数据库系统
1. 用root用户登录(如果刚装完sybase,可用 su 命令从 syabse用户转到root用户)。创建 /u目录,并将该目录的所有者改为sybase用户,命令如下:

mkdir /u

#chown sybase /u
#chgrp group /u
2. 转到sybase用户, 建立 /u/vod子目录,并使/u/vod成为当前目录。
#su C syabse
$cd /u
$mkdir vod
$ cd vod
3. 将“SOD 播控系统数据库安装盘”插入软驱,利用如下命令将文件拷到硬盘目录 /u/vod 。
$ tar Cxvf /dev/fd0
4.如果syabse已经启动,转到第7步,否则,执行第5步。
判断sybase 是否启动,使用命令:
$ isql -Usa -P 回车后,出现:
1>
表示syabse已经启动。
5.用root 用户登录,运行命令:
#/etc/suds_ctrl Ca 50
6. 切换到syabse 用户,并启动sybase
#su C sybase
$cd /usr/sybase/install
$startserver Cf RUN_SCO_SYB
7. 建立SOD数据库
$ cd /u/vod 进入建数据库批命令的目录
$ mkdir dev 建立保存数据库设备的目录
$ chmod 777 sod* 修改文件soddb和sodtbl 的属性
$ soddb 建立数据库设备及数据库
$ sodtbl 建立表及存储过程等。

二、安装应用程序:
1.进入root用户,用custom命令安装应用程序。
#custom
==》 Software
==》 Istall New
==》 <*> From scosysv
==》 Media Device: Floppy Disk Drive 0

3. 根据提示,依次插入“SOD播控服务器应用程序安装软盘”一号盘至四号盘。
4. 安装完毕,退出custom。
5. 修改 tcp.ini 文件,使它包含视频服务器的IP地址。
#vi tcp.ini
6. cd /u/vod
7. mkdir run
#cd /u/vod/run
#cp udp_ser,sod_vodvoice,tcp_cli,syb.cfg,serr.cfg,sers.cfg 将文件copy到/u/vod/run
8.修改 /dev/mem 和 /dev/console 的属性:
# chmod 777 /dev/mem
# chmod 777 /dev/console

三、建立自启动:
确保网络畅通、语音卡安装正常、数据库配制正确的情况下

  1. 在 /etc/inittab 文件中,将 is:S: … 一句中的S 改为 2
    #vi /etc/inittab
  2. 在 /etc/default/boot 文件中加入一句: TIMEOUT=0
    #vi /etc/default/boot
    重新启动计算机即可。

第二章 数据库服务器的安装
SGI 0200服务器安装oracle server 7.3.3
ORACLE SERVER 7.3.3 FOR SGI IRIX 6.4的安装

  1. 设置oracle安装前期准备工作并安装,在没安装之前,首先了解系统的核
    心配制参数,并修改它,在SGI机器上,编辑vi /var/sysgen/mtune/kernel
    文件和/var/sysgen/mtune/sem文件,使它与ORACLE的安装手册一致。(参考
    Configure Kernel Parameters这一节)
  2. 在要安装的文件系统下最少有500MB的空间,64MB RAM;
  3. 创建dba组
  4. 创建用户,在SGI中,用系统管理工具来建立oracle用户,其属组为dba组。
    在创建用户时,选择ksh或csh,若选csh,则在.cshrc中设置oracle用户的环
    境变量。若选ksh,则在.profile中设置oracle用户的环境变量,安装目录为
    /vod/oracle。
  5. 确定SGI IRIX 6.4的开发环境已安装,即development option for sgi 6.4,
    如果没安装,找系统管理员,让他帮你安装上去。(此软件一定要装,否则oracle
    很可能装不上去)在命令行下击cc,如:#cc 判定是否安装了。
  6. 设置oracle用户环境变量(编辑/vod/oracle/.profile)
    ORACLE_HOME=/vod/oracle/app/oracle/product/7.3.3; export ORACLE_HOME
    ORACLE_SID=ORCL; export ORACLE_SID
    ORACLE_TERM=iris; export ORACLE_TERM
    PATH=$ORACLE_HOME/bin:/opt/bin:/usr/bin:/bin; export PATH
    DEF_INSTALL=TRUE; export DEF_INSTALL
    LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
    ORA_CSM_MODE=line; export ORA_CSM_MODE
    OBK_HOME=$ORACLE_HOME/obackup; export OBK_HOME
    SGI_ABI=-32; export SGI_ABI
    ORA_NLS32=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS32
    ORACLE_BASE=/vod/oracle/app/oracle; export ORACLE_BASE
    ORACLE_DOC=$ORACLE_BASE/doc; export ORACLE_DOC
    NLS_LANG=AMERICAN_AMERICA.zhs16cgb231280; export NLS_LANG
    ORACLE_PATH=$ORACLE_HOME/bin:$ORACLE_HOME/obackup/bin:/opt/bin:
    /bin:/usr/bin:/usr/sbin:/usr/ccs/bin; export ORACLE_PATH
    SHELL=/bin/ksh; export SHELL
    TMPDIR=/var/tmp; export TMPDIR
    如果在创建用户时选csh则在文件/vod/oracle/.cshrc中配置oracle用户的
    环境变量,如:
    setenv ORACLE_HOME /vod/oracle/app/oracle/product/7.3.3中间无等号,
    为空格。将上面依此类推配置下来。
  7. 上面的工作做好后,以oracle用户身份登录,如#su C oracle,找到光盘
    上的安装命令,如$cd /CDROM/orainst, 执行命令,如$./orainst, 出现一个
    窗口,根据提示选择安装,当出现ORACLE_BASE;
    ORACLE_HOME;ORACLE_SID后,这些变量应当跟上面的一 一对应,选择
    确定。当出现installation option后,将光标定位到所选择的产品上,选择
    如下产品一般就够了:
    Advanced networking option 7.3.3.0.0
    Oracle intelligent agent 7.3.3.0.0
    Oracle name 2.0.3.0.0
    Oracle Online Text Viewer 1.0.1.0.0
    Oracle7 server (RDBMD)7.3.3.0.0
    Oracle server manager (motif)
    Oracle7 xa library 7.3.3.0.0
    Pl/sql V2 2.3.3.0.0
    Proc 2.3.3.0.0
    Sql
    net(v2) 2.3.3.0.0
    Sql*plus 2.3.3.0.0
    TCP/IP Protocor Adapter (v2) 2.3.3.0.0
    光标定位到install上,按照缺省按装,一步步装下去,
  8. 安装完后,编辑文件/etc/services加上下面一行
    LISTENER 1521/tcp
  9. 编辑文件$ORACLE_HOME/network/admin/listener.ora,如下:
    LISTENER=
    (ADDRESS_LIST=
    (ADDRESS=
    (PROTOCOL=TCP)
    (Host=130.130.0.202)
    (Port=1521)
    )
    )
    STARTUP_WAIT_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=ORCL)
    (ORACLE_HOME=/vod/oracle/app/oracle/product/7.3.3)
    )
    )
    TRACE_LEVEL_LISTENER = OFF
  10. 编辑文件$ORACLE_HOME/network/admin/tnsnames.ora,如下:
    oracle_o200=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (host = 130.130.0.202)
    (port = 1521)
    )
    )
    (CONNECT_DATA = (SID = ORCL))
    )
  11. 数据库的启动与关闭:
    启动oracle
    以oracle身份登录如:

su C oracle

$ svrmgrl
svrmgrl>connect internal
svrmgrl>startup
svrmgrl>exit
启动LISTENER进程:
$ lsnrctl start
关闭oracle
以oracle身份登录
关闭LISTENER进程
$ lsnrctl stop
关闭oracle:
$ svrmgrl
svrmgrl>connect internal
svrmgrl>shutdown
也可设置自动启动与关闭:
拷贝文件$ORACLE_HOME/bin/dbstart到/etc/rc2.d/S99dbstart
拷贝文件$ORACLE_HOME/bin/dbshut到/etc/rc0.d/K99dbshut
检测oracle的安装
$ sqlplus system/system@oracle_o200 以SYSTEM身份登录,输入安装时输
的密码,出现sql>表示连接好。

第三章 视像服务器的安装
第一节 视像服务器的安装
一、视像服务器端硬件介绍
与酒店VOD系统一样,在视像服务器端有一块关键性的PCI卡,即DIC-32COM视像分配卡,但与酒店VOD系统不一样的是,在SOD系统中,必须将DIC-32COM卡上的跳线设置在2-3脚(在酒店VOD系统中为1-2脚)。与酒店VOD系统的另一重要区别是从DIC-32COM卡引出的线不是接到AV-8,而是接到QPSK调制卡。一块DIC-32COM卡可以引出5组信号线,即是可以接到5块QPSK调制卡上,每块QPSK调制卡可以输出5路MPEG-1流和1路信息流。显而易见,一块DIC-32COM卡最多可以输出25路MPEG-1流和5路信息流。在安装视像服务器时,我们可以根据QPSK调制卡的数量来决定安装软件的路数(指MPEG-1流的路数,不包含信息流)。
二、SGI Oringin 200/2000的安装

  1. 安装操作系统
    首先插入IRIX 6.4 Recommended/Required Patches 11/97 光盘到光驱(SGI
    o200此盘是系统补丁盘其它盘不能正常启到安装界面),将为系统安装启动盘.
    开启SGI O200服务器系统出现自检正常信息后,显示 ‘Starting up the system ….’请按 键,将出现下面系统(PROM)菜单
    System Maintenance Menu
    1. Start System
    2. Install System Softwore
    3. Run Diagnostics
    4. Recover System
    5. Enter Command Monitor
      若要重新格式化系统盘或从新分区请输入5 按回车键出现下面命令提示符号

从内核SHELL 运行磁盘分区或格式化命令

boot Cf cdrom(1,6,8)sash64
按回车键系统将进入sash命令shell
cdrom(1,6,7)stand/fx.64
fx>>
按默认值系统将对dksc(0,1)分区
fx>>repartition
fx>>optiondrive
fx>>exit
分区好后选择系统主采单2 安装系统软件
提示选择从光驱安装,默认值是从光驱安装,按回车键继续安装,系统将出现下面安装界面:

Default distribution to install from: /CDROM/dist
For help on inst commands, type “help overview”.
Inst Main Menu

  1. from [source …] Specify location of software to be installed
  2. open [source …] Specify additional software locations
  3. close [source …] Close distributions
  4. list [keywords] [names] Display information about software subsystems
  5. go Perform software installation and removal now
  6. install [keywords] [names] Select subsystems to be installed
  7. remove [keywords] [names] Select subsystems to be removed
  8. keep [keywords] [names] Do not install or remove these subsystems
  9. step [keywords] [names] Interactive mode for install/remove/keep
  10. conflicts [choice …] List or resolve installation conflicts
  11. help [topic] Get help in general or on a specific word
  12. view … Go to the View Commands Menu
  13. admin … Go to the Administrative Commands Menu
  14. quit Terminate software installation

Inst> 1
选择1后此时将更换安装盘为”IRIX 6.4 For Origin, Onyx2,and OCTANE”
Previous installation sites:

1 /CDROM/dist
2 /foreatm
3 /CDROM/dist/6.4_Origin200_Origin2000_Onyx2/
4 /CDROM/dist/6.4
5 none (no distribution, view installed products)
6 quit (no action)

Install software from: [/CDROM/dist]
按回车键系统将显示如下信息:
Irix 6.4 for Origin, Onyx2, and OCTANE README
Silicon Graphics, Inc.

This is the IRIX 6.4 for Origin, Onyx2, and OCTANE CD.
It contains the base software for the IRIX 6.4 for Origin,
Onyx2, and OCTANE release. This CD is part of a set–the
companion CD is IRIX 6.4 Applications February 97. In addition,
you most likely also have a CD containing patches for your
system. Silicon Graphics strongly recommends that you also
load this patch CD when inst prompts you to load additional CDs.

Installation Information

IMPORTANT: inst will prompt you to load any additional CD’s
(such as the IRIX 6.4 Applications CD or patch CD) before
making your installation selections or beginning the installation.
Loading all the CD’s first will allow you to avoid conflicts
caused by product dependencies across the CD’s.

Much of this software may be pre-installed if you are
purchasing a new system after the software release date. These
products will appear as ‘same version’ in Software Manager.

more? (h=help)

Product Support Information

Silicon Graphics, Inc., provides a comprehensive product
support maintenance program for its products. For more
information, install the Welcome product from your IRIX
Applications CD and browse the Support and Services page.
If you would like to purchase support, contact your local
Silicon Graphics sales office. If you are in the US or
Canada and would like assistance with your Silicon
Graphics-supported products, contact the Technical
Assistance Center at (800) 800-4SGI. If you are outside
these areas and require assistance, contact the Silicon
Graphics subsidiary or authorized distributor in your
country.

Software License Agreement

Packaged with your software is a separate sheet that
contains the Software License Agreement. This software is
provided to you solely under the terms and conditions of the
Software License Agreement. Please take a few moments to
review the Agreement.

Reading product descriptions .. 61%

Software License Agreement

Packaged with your software is a separate sheet that
contains the Software License Agreement. This software is
provided to you solely under the terms and conditions of the
Software License Agreement. Please take a few moments to
review the Agreement.

Reading product descriptions .. 100% Done.

This CD is part of a set. If you plan to install from another CD,
please insert it now and press “Enter” - this will allow you to select
software from two or more CDs, and to resolve all conflicts
up-front, before starting the install.

You may also enter the name of a different distribution, or
enter “done” if you are ready to proceed with the installation now.

1 /CDROM/dist
2 done (no action)

Install software from: [/CDROM/dist]
读取安装产品目录后更换系统安装盘为: IRIX 6.4 Applicatios
按回车键后按默认值安装直接按空格键提示“Reading product descriptions .. 100% Done.”信息后插入“IRIX 6.4 Origin /Onyx2 System Disk Paches 2/98”盘
按回车键后按默认值安装直接按空格键提示
Software License Agreement

Packaged with your software is a separate sheet that
contains the Software License Agreement. This software is
provided to you solely under the terms and conditions of the
Software License Agreement. Please take a few moments to
review the Agreement.

Reading product descriptions .. 100% Done.

This CD is part of a set. If you plan to install from another CD,
please insert it now and press “Enter” - this will allow you to select
software from two or more CDs, and to resolve all conflicts
up-front, before starting the install.

You may also enter the name of a different distribution, or
enter “done” if you are ready to proceed with the installation now.

1 /CDROM/dist
2 done (no action)

Install software from: [/CDROM/dist]
选择2
Inst> go
系统将进行正常的安装工作状态根据提示更换系统安装盘进行安装。
进行安装完后系统进入正常的提示符号#

inst

用inst命令同样安装系统补丁盘“IRIX 6.4 Recommended/Required Patches 5/98”
安装完后修改系统名和系统的网络IP地址
vi /etc/sys_id
输入系统名例如o200
vi /etc/hosts
修改安装完后的默认IP有IRIX 的一行地址为130.130.0.202 o200.ptt.hz.com o200
即系统IP地址。
在SGI的启动菜单中,选择5 Command Monitor,将系统设置成可以自动BOOT:
>>set AutoLoad yes
>>exit

  1. 生成逻辑卷
    IRIX的磁盘设备文件放在/dev/rdsk和/dev/dsk中,命名方式由如下四部分组成:
    (1)、磁盘设备类型:
    dks: SCSI设备, fd: 软盘, raid: SCSI RAID设备
    (2)、控制卡号: 0 C n
    (3)、驱动器地址: d1 C d15
    (4)、分区号:
    s0: root区, s6: usr区
    s7: 整个磁盘区, vh: 磁盘卷头
    例如:dks0d2s7表示:0号SCSI卡上的2号盘整个磁盘区。
    在生成逻辑卷之前,首先对构成逻辑卷的每个磁盘进行分区,使用fx命令:
    # fx “dksc(0,2)”
    fx> repartition
    fx> optiondrive
    fx> ../exit
    上述命令对0号SCSI卡的2号盘进行分区,使用fx “dksc(m,n)”命令可以对m号SCSI卡的n号盘进行分区。
    当磁盘都准备好后,使用vi编辑器生成一个逻辑卷的描述文件xlv0.spec内容如下:
    vol xlv0
    data
    plex
    ve Cstripe Cstripe_unit 256 dks0d2s7 dks0d3s7 dks0d4s7 dks0d5s7
    end
    show
    exit
    然后调用xlv_make命令:

    xlv_make xlv0.spec

     这样一个设备名为/dev/xlv/xlv0的逻辑卷就建好了,剩下的任务就是建立文件系统并把它mount到/vod:
    

    mkfs /dev/xlv/xlv0

    mkdir /vod

    mount /dev/xlv/xlv0 /vod

    并在/etc/fstab中增加一行:
    /dev/xlv/xlv0 /vod xfs rw,raw=/dev/rxlv/xlv0 0 0
  2. 安装系统软件
    在运行Windows95或WindowsNT的PC机上将安装盘中的内容拷贝到c:\temp目录中:
    c:> cd temp
    c:\temp> del .
    c:\temp> copy a:.
    c:\temp> copy a:\sgi*.*
    然后用FTP将c:\temp子目录下的文件拷贝到视像服务器上,假设视像服务器的IP地址为130.130.0.100:
    c:\temp> ftp 130.130.0.100
    输入用户名和口令后,出现如下提示符:
    ftp>bin
    ftp>cd sgi/vod
    ftp>prompt
    ftp>mput *
    ftp>quit
    然后转到视像服务器,执行安装程序:

    cd sgi/vod

    sh sod.ins

     在执行上述命令时,要输入VOD的路数(10、20、25三种选择)。在机器重新启动后,服务器的安装工作就结束了。
    

[QUOTE]
最初由 老牛 发布
[B]

[QUOTE]
最初由 老牛 发布
[B]贴上一篇文档,以作参考。
续。。。

第四章Fore ATM 网卡的安装配置
第一节 硬件安装
 FORE网卡背部示意图

 打开机器后盖(如果是Origin 2000的服务器,则将PCI BOX取出),将FORE网卡插入空的PCI槽中。确认是否安装到位,在将机器复原之前必须仔细检查PCI卡与固定螺丝是否有松动,如无异常,则可盖好后盖(或插回PCI BOX),准备上电进行软件安装。
 上电,系统开始自检,在加载操作系统之前,系统提示“The system is coming up……”时,按ESC键,终止引导操作系统,系统自动进入“PROM Command Monitor”。用“hinv Cv”命令,检查输出中是否包含有FORE网卡的设备项。如果找到,表明硬件安装正常,否则的话,需要重新检查FORE PCI网卡是否安装良好。
 如果硬件安装正常,则可在“PROM Command Monitor”下键入“Exit”,引导操作系统。
第二节 软件安装
 检查拿到的驱动程序,文件名应为ft50_irix64_28634.tar.gz。
 将其解包:
gzip -dc ft50_irix64_28634.tar.gz | tar xvf C
 开始安装,根据提示,依次按下列顺序进行操作,详细提示请看附录:
inst
1
<刚才进行解包的目录名>
1
list
go
quit
安装过程中如果提示设备号冲突的话,说明DIC的视像分配卡的设备号也为73,所以要将DIC视像分配卡的设备号修改为另一空闲的设备号。(修改方法请看附录)。也可在安装之前就对视像分配卡的设备号进行检查,方法如下:
ls Cl /dev/vod/vod01(两位设备名系统) 或
ls Cl /dev/vod/vod001 (三位设备名系统)
观察输出,如:
crw-r–r-- 1 root system 34, 1 Dec 25 17:24 /dev/vod/vod01
表明视像分配卡的设备号为34。
如果视像分配卡的设备号为73的话,则按附录中的方法将其修改为另一空闲设备号,如84。

 将bindpvc和addint两个脚本拷入到/opt/FOREatm/bin目录中
 修改/etc/init.d/network文件,使其在适当位置包含如下几行
/opt/FOREatm/bin/addint
/opt/FOREatm/bin/bindpvc
可参考附录的network文件
 将/opt/FOEatm/bin加入root用户的PATH环境变量中
 建立目录/var/FOREatm,将安装文档附带的几个sample配置文件拷入到/var/FOREatm下。下面的步骤对网络客户进行配置。
 修改pvc_num环境变量,使其等于你要配置的客户数目。
 修改每个PVC的描述参数,使其包含正确的VCI、VPI、MAC、IP地址和连接类型。
 安装好后,重新启动机器。

第三节 附录:
一、addint脚本
#!/sbin/sh
##########################################################

Add a ATM 1483/1577 interface to the network system

1998-12-26 Leonard YE

##########################################################

Build up the envioronment variables needed by

configration script

. /var/FOREatm/interface.conf

loop for each interface

nn=1
while test $nn -le $int_num; do
eval INT='$‘INTERFACE${nn} MTU=’$‘MTU${nn} IP=’$'IP${nn}
if test -n “$INT”; then
/opt/FOREatm/bin/clipconfig add -if $INT -mtu $MTU
sleep 1
ifconfig $INT inet $IP up
echo Adding interface $INT with address $IP
fi
nn=expr $nn + 1
done

二、Bindpvc脚本
#!/sbin/sh
##########################################################

Binding PVC to the corresponding IP address

1998-12-26 Leonard YE

##########################################################

Build up the envioronment variables needed by

configration script

. /var/FOREatm/pvcs.conf

loop for each PVC

nn=1
while test $nn -le $pvc_num; do
eval VPI='$‘VPI${nn} VCI=’$‘VCI${nn} IP=’$‘IP${nn}
eval TYPE=’$‘TYPE${nn} INT=’$‘INTERFACE${nn} MAC=’$'MAC${nn}
if test -n “$INT”; then
/opt/FOREatm/bin/cliparp delete -pvc $VPI $VCI $INT
sleep 1
if test $TYPE = “1483”; then
/opt/FOREatm/bin/cliparp add -pvc $VPI $VCI llc_bridged $MAC $INT $IP Cpcr 8000
elif test $TYPE = “1577”; then
/opt/FOREatm/bin/cliparp add -pvc $VPI $VCI llc_routed $INT $IP Cpcr 8000
fi
echo FORE: “bind PVC($VPI,$VCI) to IP($IP)”
fi
nn=expr $nn + 1
done

三、网卡配置文件范例
#!/sbin/sh
##########################################################

FORE ATM NIC CONFIGURATION FILE, SAMPLE

IMPORTANT NOTES:

Please do backup this file before you make change

to it.

This sample file should be located at /var/FOREatm

Check to ensure it is put to the correct directory

1998-12-26 Leonard YE

###########################################################

Following is a system with two virtual network interface

Normally, the two interface will reside on different

subnet, verify with your network plan.

###########################################################

Total Virtual NIC number

int_num=2

Description for NIC 1

INTERFACE1=ci0
MTU1=1500
IP1=130.131.5.11

Description for NIC 2

INTERFACE2=ci1
MTU2=1500
IP2=130.132.5.11

四、PVC配置文件范例
#!/sbin/sh
##########################################################

FORE ATM PVC CONFIGURATION FILE, SAMPLE

IMPORTANT NOTES:

Please do backup this file before you make change

to it.

This sample file should be located at /var/FOREatm

Check to ensure it is put to the correct directory

1998-12-26 Leonard YE

###########################################################

Following is a system with two client configured up

one is configured as 1483 client, another 1577

###########################################################
pvc_num=2

VPI1=0
VCI1=35
IP1=130.131.1.11
TYPE1=1577
INTERFACE1=ci0

VPI2=0
VCI2=36
IP2=130.132.1.12
TYPE2=1483
INTERFACE2=ci1
MAC2=00:00:00:00:00:00

1. 文件位置:
文件名 说明 路径
addint 增加网卡的脚本 /opt/FOREatm/bin/
bindpvc 绑定PVC与MAC到网卡的脚本 /opt/FOREatm/bin/
intface.conf 网卡配置文件 /var/FOREatm/
pvcs.conf PVC配置文件 /var/FOREatm/

2. 修改过的/etc/init.d/network文件片断,加下划线的部分是为安装FORE网卡而添加的:

Configure the main network interface.

if test "$netstate" = "ok"; then
# update E-Plex 8-port Ethernet firmware.
if test -x /usr/etc/epfirm; then
    /usr/etc/epfirm $VERBOSE
    if test $? -ne 0 ; then
	$LOGGER "Failed to install E-Plex firmware.\n"
	sleep $MSGTIME
    fi
fi
if configure $if1name $if1addr $CONFIG/ifconfig-1.options primary;
then :
else
    reason="Cannot access primary interface, $if1name.\n"
    netstate="loopback"
fi
    /opt/FOREatm/bin/addint
    /opt/FOREatm/bin/bindpvc
elif test "$netstate" != "loopback"; then
netstate="loopback"
fi


if test $netstate = "loopback"; then
$LOGGER "${reason}Using standalone network mode.\n"
sleep $MSGTIME

if test "$if1name" != ""; then
    $IFCONFIG $if1name inet $if1addr 2>/dev/null
    $IFCONFIG $if1name down	     2>/dev/null
fi
$IFCONFIG lo0 $localhost
$ROUTE add 224.0.0.0 $localhost -interface >/dev/null
else
# Initialize other boards if this host is a gateway or multi-homed
# (no harm if they are missing). Systems with more than 2 interfaces
# must update /etc/config/netif.options (see comments in the file).

num=2
while test $num -le $if_num; do
    eval _ifname='$'if${num}name _ifaddr='$'if${num}addr
    if test -n "$_ifname"; then
	if $IFCONFIG $_ifname >/dev/null 2>&1; then
	    configure $_ifname $_ifaddr $CONFIG/ifconfig-$num.options
	fi
    fi
    num=`expr $num + 1`
done

3. 安装过程:
IRIS 45# inst

Default distribution to install from: /CDROM/dist/6.4

For help on inst commands, type “help overview”.

Inst Main Menu

  1. from [source …] Specify location of software to be installed
  2. open [source …] Specify additional software locations
  3. close [source …] Close distributions
  4. list [keywords] [names] Display information about software subsystems
  5. go Perform software installation and removal now
  6. install [keywords] [names] Select subsystems to be installed
  7. remove [keywords] [names] Select subsystems to be removed
  8. keep [keywords] [names] Do not install or remove these subsystems
  9. step [keywords] [names] Interactive mode for install/remove/keep
  10. conflicts [choice …] List or resolve installation conflicts
  11. help [topic] Get help in general or on a specific word
  12. view … Go to the View Commands Menu
  13. admin … Go to the Administrative Commands Menu
  14. quit Terminate software installation

Inst> 1
Previous installation sites:

1 /CDROM/dist/6.4
2 /CDROM/dist
3 /CDROM/dist/6.4_MIPSpro_7.1_Compilers/
4 /CDROM/dist/6.4_MIPSpro_7.2_Compilers/
5 /CDROM/dist/6.4_POSIX/
6 /CDROM/dist/6.4_Origin200_Origin2000_Onyx2/
7 none (no distribution, view installed products)
8 quit (no action)

Install software from: [/CDROM/dist/6.4] /leo

    ForeThought 5.0 for IRIX 6.4
    ============================

    Choose option 1 if upgrading from a previous ForeThought
    release. If upgrading from a previous release, this startup
    script prompts to save existing ForeThought configuration
    files and then uninstall the previous software.


    WARNING: The installation location of utilities and man
             pages has changed from previous releases to
             /opt/FOREatm/bin and /opt/FOREatm/man,
             respectively.  Be sure to remove/update any old
             utilities and man pages and/or set paths correctly
             to reference the current utilities and man pages.

Do you wish to run the optional installation startup script?

  1. Run the installation startup script now
  2. Ignore the startup script
  3. Show the contents of the startup script
  4. Help/Show the introductory “README” statement again
    Please enter a choice [1]: 1
    Reading product descriptions .. 100% Done.

Inst> list
View: distribution
Status: N=new, U=upgrade, S=same, D=downgrade
Selection: i=install, r=remove, k=keep
Subsystem Types [bdrp]: b=reBoot needed, d=Default, r=Required, p=patch
i N FORECore.sw.core [bd] 1872+ ForeThought Core Software, 5.0
i N FOREDrv.sw.he [bd] 164+ ForeThought HE Card DriverSoftware, 5.0
i N FOREDrv.sw.pca200e [bd] 196+ ForeThought PCA-200E Card DriverSoftware, 5.0
i N FOREDrv.sw.utils [bd] 144+ ForeThought Common Card DriverUtilities, 5.0
i N FORESpans.sw.spans [bd] 164+ ForeThought SPANS SignallingSoftware, 5.0
i N FOREUni.sw.uni [bd] 1792+ ForeThought UNI SignallingSoftware, 5.0
i N FOREclip.sw.clip [bd] 276+ ForeThought Classical IP Software,5.0
i N FOREip.sw.ip [bd] 196+ ForeThought FORE IP Software, 5.0
i N FOREmpoa.sw.mpoa [bd] 1512+ ForeThought MPOA Software, 5.0
i N FORExti.sw.xti [bd] 352+ ForeThought XTI API Software, 5.0
Disk space summary (Kbytes): / /vod
Current free space 229868 13530224

  • Selections net change 4228+ 0
  • Temporary inst overhead 8248+ 0
    = Minimum free during install 217392 13530224

Free space after reboot 225640 13530224

Inst> go
Reading fileset information .. 8%
Pre-installation check .. 16%
Checking space requirements .. 24%
Installing/removing files .. 24%
Installing new versions of selected FOREDrv.sw subsystems
Installing/removing files .. 37%
Installing new versions of selected FOREUni.sw subsystems
Installing/removing files .. 42%
Installing new versions of selected FORExti.sw subsystems
Installing/removing files .. 59%
Installing new versions of selected FORECore.sw subsystems

  • Copyright (c) 1998 FORE Systems, Inc., as an unpublished work.
  • This notice does not imply unrestricted or public access to these
  • materials which are a trade secret of FORE Systems, Inc. or its
  • subsidiaries or affiliates (together referred to as “FORE”), and
  • which may not be reproduced, used, sold or transferred to any third
  • party without FORE’s prior written consent.
  • All rights reserved.
  • U.S. Government Restricted Rights. If you are licensing the
  • Software on behalf of the U.S. Government (“Government”), the
  • following provisions apply to you. If the Software is supplied to
  • the Department of Defense (“DoD”), it is classified as "Commercial
  • Computer Software" under paragraph 252.227-7014 of the DoD Supplement
  • to the Federal Acquisition Regulations (“DFARS”) (or any successor
  • regulations) and the Government is acquiring only the license
  • rights granted herein (the license rights customarily provided to
  • non-Government users). If the Software is supplied to any unit
  • or agency of the Government other than DoD, it is classified as
  • “Restricted Computer Software” and the Government’s rights in the
  • Software are defined in paragraph 52.227-19 of the Federal Acquisition
  • Regulations (“FAR”) (or any successor regulations) or, in the cases
  • of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR
  • (or any successor regulations).

Installing/removing files .. 73%
Installing new versions of selected FOREclip.sw subsystems
Installing/removing files .. 77%
Installing new versions of selected FOREmpoa.sw subsystems
Installing/removing files .. 86%
Installing new versions of selected FORESpans.sw subsystems
Installing/removing files .. 89%
Installing new versions of selected FOREip.sw subsystems
Installing/removing files .. 94%
Running exit-commands .. 94%
Automatically reconfiguring the operating system.

Reboot to start using the reconfigured kernel.
Running exit-commands .. 99%
Checking dependencies .. 100% Done.
Installations and removals were successful.

You must restart your system to complete the installation.

You may continue with installations or quit now.

Inst> quit
Requickstarting ELF files (see rqsall(1)) .. 100% Done.
IRIS 46#

4. 寻找空闲设备号的方法:
用ls Cl /dev/* | more命令,观察输出的第五列。寻找一个不在其中的之间的整数即可。
下列的脚本自动完成搜索并输出可用的设备号:

#!/sbin/sh
#####################################################################

Find a free major device ID

Leonard YE , /1999/1/4

#####################################################################

str=ls -l /dev/* | awk '/,/ {printf "%d ", $5}'
n=0
while test $n -le 255 ; do
echo “.\c”
tmp=echo $str | grep $n
if test -z “$tmp”; then
echo “.$n.\c”
else
echo “…\c”
fi
n=expr $n + 1
done
echo

5. 修改VOD的设备号
使用下列脚本可以对三位的VOD设备的主设备号进行修改(对两位的VOD设备,则要改动文件中的/dev/vod/vod%03d为/dev/vod/vod%02d):
#!/sbin/sh
####################################################################

Modify the major device ID of the VOD service

Leonard YE /1999/1/4

####################################################################

say hello

echo “--------------------------------------------------------------”
echo " DIC video server suite installation tool "
echo " Shenzheng DIC Infomation Technology Co. Ltd. "
echo " 1998-11-20 "
echo “--------------------------------------------------------------”
echo
echo
while test " "; do
echo “How many channels are desired for use?”
echo “>>\c”
read cnt
echo “Please give the major device ID.”
echo “>>\c”
read devid
echo “Please specify the start channel number for SOD.”
echo “>>\c”
read schan
echo “Are you sure your input is correct?<y/n>”
echo “>>\c”
read yesno
if test $yesno = “y”; then
break
fi
done
######################################################################

Redisplay the user enterd information

######################################################################
echo
echo
echo “OK, this is the parameter you’ve just specified.”
echo “Sod start at channel …${schan}”
echo “Total channel in use …${cnt}”
echo “Major device ID is …${devid}”
echo
echo
mkdir /dev/vod 2> /dev/null
rm /dev/vod/vod* 2> /dev/null
n=1
while test $n -le $cnt ; do
mknod printf '/dev/vod/vod%03d' $n c $devid $n 2> /dev/null
echo “.\c”
n=expr $n + 1
done

done

echo

第五章 网管工作站的安装
第一节 安装软件的过程:
1、 所有软件全部安装在一台PC机上
2、 在WIN95的PC机上安装“OnNet Kernel ”。
由于网管机采用FTP公司的PC/TCP协议,所以建议删除
Microsoft的TCP/IP协议。
3、 安装“OnNet Server ”。
4、 安装 SNMPc。
5、 安装LCn 软件。

第二节 配置过程:

1. 在OnNet Server, 设置TFTP目录为“D:\LCN_DATA”。设置 “ DHCP SERVER”和 “TFTP SERVER”为Active状态。在LCn300中运行

Time server。
DHCP_SERVER含有LCP用的网络和节点的正确信息,TFTP_SERVER指出Configuration_file所在的目录,LCP boot 时从Time_server中得到当前的时间。
2. 参看“Provision Server Manual”的3-2页,以正确设置LCn和OnNet。一般选用默认配置。
3. 现在开始进入LCn配置,用户名为admin,密码为admin。配置过程如下:
1) network_data (设置cable网上的传输频率,网段地址及网管

机地址)
2) cdm_data (设置cable_modem所在网段及IP地址)
3) update network configuration file(将配置写到\lcn_data目录下)
4. 通过 “network data” 定义一个逻辑网络(其传输频率,接受频率应与LCT的配置相同,log Server 的IP address , net mask 为网管机的IP address及 net mask)。并在 “CDM DATA” 里定义LCB、LCP的特性,每个MODEM关键字有 “MAC address, Serialno, IP address”及所属的网段(mac address, serialno 在modem机器上可查到)。请参照手册3-11页,turn on “Network Access Allowed”,如果是lcb,请turn on “Head End Reference Node”。
5. “CDM DATA”配置好后,需作update Network Configuration files的操作,此时配置被写到网管PC机上,现在可打开MODEM电源booting modem, 这过程需5-10分钟,这是正常的,modem第一次booting时需更常的时间; modem将根据Mac Address, SerialNo在网管机上找到自己的配置。
6. 查看OnNet Server TFTP screen是否有MD5传输,如果有,说明在modem与LCn之间有通讯。
7. 在硬件全部连好后cable环路全通时,无论是LCb或LCp , modem 正常工作状态时 ,右边两个指示等应长亮。
第三节 使用SNMPc的图形化管理
1. 设置SNMP时,先copy “debug.mib” 、 “lcpv210.mib”到 “\snmpc\mibfiles”,在SNMPc的menu中选择configCompile MIB , 然后Add两个文件“debug.mib” 、 “lcpv210.mib” 到列表中 ,然后load all , recompile mibfiles文件。
2. 进入SNMPc中 go “Edit”Discover nodesSetup,然后Add 网管所管理的初始的IP address,按 “Start button”开始查找,几分钟后,按layout产生一个网络图。

第四节 硬件连接图
上述均假设硬件无错误的情况,硬件连接请参看 “ 硬件连接图”与“Headend Eguipment Installation Guide” 。

第六章 数据库的安装与设置说明
第一节 SYBASE客户端的安装配置
一、SYBASE的安装
运行SYBASE11安装盘上的SETUP命令,全部选择缺省选项。

二、设置SYBASE
1、在WINDOWS95环境下从“开始”菜单,选取“程序”,选取“SYBASE。。。\SQLEDIT”,进入如下界面:

2、从Server菜单选择New Server Entry或利用快捷键CTRL―N,在Input Server Name下的编辑框中输入数据库服务器名:例如 UNIX95,点击Add按钮;

3、在Server Type、Platform、Net―Library Driver项的列表框中选择相应内容,在Connection Information/Network Address 下的编辑框输入服务器的IP地址和数据库的端口号,IP地址和端口号间以“,”间隔,
例如 130.130.0.95,5000

点击“Add Service”按钮;

4、确认是否与服务器建立连接,从WINDOWS95环境下 “开始”菜单选择SYBASE\SYBPING,进入如下界面:

点击“Ping”按钮,确认操作,出现“Sybping”提示框,可判断是否连接成功,点击“EXIT”按钮,退出操作。

三、设置数据库引擎
1. 选择“xxSOD中心”中“BDE管理”。 界面如下:

2.按鼠标右键,在弹出的窗口中选“New…” 或按Ctrl+N;出现如下界面:

3. 在“New Database Alias”窗口的“Database Driver Name”下的列表框中选择SYBASE项,点击“OK”按钮;

4. 在“Database”下选中并单击“SYBASE1”项,按鼠标右键,选“Rename”,将其改位“SYBASE”;

5. 在“Definition”的窗口中进行如下设置:

设置DATABASE NAME项为VOD
设置LANGDRIVER项为 ‘ascii’ANSI
设置SERVER NAME项为在数据库名,例如UNIX95
设置USER NAME项为sa。

6. 设置完毕后,按鼠标右键,选“Apply”,或按Ctrl+A,OK确认。

(以下设置同上,设置dbase3)
7.按鼠标右键,在弹出的窗口中选“New…” 或按Ctrl+N;在“New Database Alias”窗口的“Database Driver Name”下的列表框中选择“STANDARD”项,点击“OK”按钮;

8. 在“Database”下选中并单击“STANDARD 1”项,按鼠标右键,选“Rename”,将其改位“dbase3”;

9. 在“Definition”的窗口中进行如下设置:

设置DEFAULTDRIVER项为 DBASE
设置PATH项为 c:\stock

10.设置完毕后,按鼠标右键,选“Apply”,或按Ctrl+A,OK确认。

11.单击“Object”,选择“Exit”退出。如果系统出现提示,按“OK”或“确认”。系统安装完毕。

第二节 Oracle客户端的安装配置
一、oracle for win95的安装
运行oracle安装盘上的setup命令,全部选择缺省选项。

二、设置Oracle
1、在WINDOWS95环境下从“开始”菜单,选取“程序”,选取“Oracle for windows95栏中的SQL Net Easy Configuration”,进入如下界面:

2、选择Add Database Alias菜单选择OK或利用快捷键O,

在Database Alias下的编辑框中输入数据库服务器名:
例如 oracle_ds
点击OK按钮;

3、在TCP/IP Host Name 下的编辑框输入服务器的IP地址
例如 130.130.0.202
点击“OK”按钮,再点击Yes按钮即设置完毕。

4、确认是否与服务器建立连接,从WINDOWS95环境下 “开始”菜单选择“Oracle for windows95栏中的SQL Plus 3.3”,进入如下界面:

输入User Name: system (oracle系统管理员命令) Password:*****( oracle系统安装时设置的口令) Host String:oracle_ds(oracle 连接是的别名如上面配置)
按确定键:出现SQL>符号表示与oracle服务器正常连接。
SQL
Plus: Release 3.3.2.0.2 - Production on Thu Jan 14 11:15:07 1999

Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.

Connected to:
Oracle7 Server Release 7.3.3.0.0 - Production Release
PL/SQL Release 2.3.3.0.0 - Production

SQL>

出现“SQL>”提示框,可判断连接成功,输入SQL> 提示符输入“exit”,退
出操作。

三、设置数据库引擎
1. 选择“Borland C++ Builder 3”中“SQL Explorer管理”。 界面如下:

按鼠标右键,在弹出的窗口中选“New…” 或按Ctrl+N;出现如下界面:

2. 在“New Database Alias”窗口的“Database Driver Name”下的列表框中选择ORACLE项,点击“OK”按钮;

3. 在“Database”下选中并单击“ORACLE1”项,按鼠标右键,选“Rename”,将其改位“oracle202_ds”;

4. 在“Definition”的窗口中进行如下设置:

设置DATABASE NAME项为vod
设置LANGDRIVER项为 ‘ascii’ANSI
设置SERVER NAME项为在数据库名,例如oracle_ds
设置USER NAME项为vod。

5. 设置完毕后,按鼠标右键,选“Apply”,或按Ctrl+A,OK确认。
6. 双击oracle202_ds

输入vod口令后按OK按钮
双击table 选择vod表双击在下表中的右框中选择 data将显示如下:

表示数据连接配置完全正确。

第七章 网络VOD安装及使用

  1. 获取最新文件
    从视像服务器下载下列文件的最新版本:
    REGFSD.ING REGFSD.PDR DICSETUP.EXE
  2. 安装设置驱动程序
    在控制面板中选择 添加新硬件,选择否,希望从列表中选取选择硬盘控制器,
    选择从磁盘安装,找到REGFSD.INF,完成即可先不要重启机器,运行
    DICSETUP.EXE,设置服务器IP为正确的IP地址,缓冲区设为100—240KB,网络
    延时设为0―20MS,一般,局域网设为0MS,ADSL设为20MS左右,可多设几次获取
    最佳性能,重启机器。

注意:
如使用WIN98系统,则应设置BIOS,将电源管理设置为
DISABLE.同时,将显示器的监视器的节能特征的系统等待状态,
关闭监视器,关闭影盘三项设置为全不,以使点播正常进行。

你好老兄可否告之那个软件从什么地方下吗??

谢谢!!!
QQ:16979311
email:wfzcj@163.net

这只是旧方案,拿出来给大家参观而已。现在作VOD服务器建议使用WIN2K自带的Media Server (免费的),要不可以试一试REAL SERVER .

呵呵,,还好只是参观一下(目前我是头晕眼花的状态下打的字),,
如果是仔细研究一下可就要了我的老命了。:slight_smile:

不知有没有这样的点播软件:左边是图象,右边是字幕,也就是点播CAI课件的软件。这种教学课件不只是有流媒体文件,还有很多html文件。

用FLASH 作的课件。。。。

TIAN SHU

经典之极~!但不适合现在的市场~!传统vod系统是指转播电视(cable)但现在远远满足不了客户的需求。media realserver只能应急。不太看好。

看的效果不是很好,vod的前景何在?

不是用flash做的课件,这里有一个工具可以做出这样的课件:
http://www.ostart.net/forum/showthread.php?threadid=31199