Cisco Headend System Release 2.5 安装指南

下载
页码 51
A-8 
The siteCmd Program 
78-4003191-01 Rev B 
Options for the siteCmd Program,
 Continued 
Install a Package on the RNCS 
This procedure will demonstrate how to use the siteCmd program to install a 
package on the RNCS. 
Note:  This example assumes that a CD containing the package to be installed 
(SAIlionn) is already inserted into the CD drive of the DNCS. 
 
  1.  Follow these instructions to log onto an xterm window on the DNCS as root 
user. 
Note:  You must be root user to install packages. 
a)  Type su  - and then press Enter
Result:  The password prompt appears. 
b)  Type the root password and then press Enter
  2.  Type cd  /cdrom/cdrom0 and then press Enter
Result:  The /cdrom/cdrom0 directory of the DNCS becomes the working 
directory. 
  3.  Type find  .  –name  SAIlionn | cpio  -pdmuv  
/dvs/distFiles/Common/packages and then press Enter
Result:  The system copies the files on the CD into the common directory of 
the DNCS. 
  4.  Type cd  / and then press Enter
Result:  The home directory becomes the working directory. 
  5.  Type eject cdrom and then press Enter
Result:  The system ejects the CD. 
  6.  Choose one of the following options to install the SAIlionn package on the 
RNCS: 
• 
To install the package on all sites, type siteCmd  -asCi SAIlionn and then 
press Enter
• 
To install the package on one specified site (site3, in this example) only, 
type siteCmd  -sCI  site3  SAIlionn and then press Enter
• 
To install the package on all sites except site1 and site2, type 
siteCmd  -asCIx  site1:site2  SAIlionn and then press Enter
  7.  Type exit and then press Enter to log out the root user.