
Installing the Nokia Secure Access System Gateway
26
Nokia Secure Access System Getting Started Guide
newpkg Options
Table 3
describes the options you can use with the newpkg command.
The syntax of newpkg is:
newpkg [-o
path
] [-m
media_type
] [-l
user_name
]
[-s
server_ipaddrs
] [-p
password
] [-n
path
]
To upgrade the package from the CLI
1.
From the command line, enter one of the following commands:
newpkg -o /opt/nsas-<old-version> -n /opt/packages/
nsas_3_0_0_<timestamp>.tgz
For example:
newpkg -o /opt/nsas-1.3.0 -n/opt/packages/nsas_3_0_0_2004040514.tgz
newpkg -o /opt/nsas-<old-version> -m ftp -l username -s
ip.addr.of.ftp.server -p password -n /directory/location/
nsas_3_0_0_<timestamp>.tgz
For example:
newpkg -o /opt/nsas-1.3.0 -m ftp -l jsmith -s 10.10.22.23 -p password -n
/eng/newbuilds/nsas_3_0_0_2004040514.tgz
Table 3 newpkg Options
Option
Description
-d
Print debug messages to the screen.
-h
Display help lines for command-line parameters.
-i
Install only (do not activate).
-l
user_name
User name for FTP.
-m
media_type
Media type. For example, FTP/CD-ROM/LOCAL or
CDROM/AFTP/FTP/LOCAL.
-n
path
Full path to new package. For example, /pub/current/xxx.tgz.
-o
path
Full path to old package for upgrade. For example, /opt/xxx.
-p
password
Password for FTP.
-s
server_ipaddr
Server IP address if media type is FTP/AFTP.
-v
Verbose FTP.