Using silent mode to install or upgrade the Network Shell (Linux and UNIX)
You can perform an unattended (silent) installation or upgrade of the Network Shell on a Linux or UNIX computer.
To use silent mode for an installation, you create a file of installation defaults (variables that control how a silent installation on Linux or UNIX behaves). Then you run the NSH installation program.
To upgrade the Network Shell, you can use the same file of installation defaults.
To install the Network Shell in silent mode
- Using any server, create a text file named nsh-install-defaults in the /tmp directory. The file must belong to root.
In the file, create an entry for each variable you want to set. Then for each variable you enter in the file, create another entry to export the variable. For example:
COMPONENT_CHECKED=3
export COMPONENT_CHECKED
NSH_INSTALL_SKEL=1
export NSH_INSTALL_SKELThe following table describes how to set each possible variable:The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
- Save /tmp/nsh-install-defaults.
- To run the installer, enter the following command:
sh <NSHversion-platform> -silent
For example:
sh NSH82-SOL10-SPARC.sh -silent