APPENDIX C |
Commandline Installation |
This appendix provides information on commands that you can use to install and uninstall your SIMS server using the commandline. It also gives you an example for installing SIMS from commandline. At the end, comparison between graphical user interface (GUI) installation versus commandline installation is provided.
![]() |
Command line utilities |
![]() |
SIMS Administration commandline interface |
![]() |
Delegated Administration commandline interface |
![]() |
The uninstall utility |
![]() |
Graphical or commandline installation |
This section describes the utilities that are associated with the installation process.
The setup-tty script installs SIMS and its related files and packages onto the system. setup-tty should be run as root.
Note - Because setup-tty is not installed on the target system, you must retrieve the setup-tty program from the distribution image and not from the system.
The
/cdrom/sun_internet_mail_4_0/products/sims/setup-tty [-c install | remove | removeall] [-d]
syntax for using this command is:
The options for this command are:
TABLE C-1 Options for the setup-tty Command
The following command performs a standard interactive installation:
# setup-tty -c install
If you do not specify any arguments while invoking this command, by default setup-tty will perform a -c install operation.
Execute the following to uninstall SIMS and related packages and files from the system:
# setup-tty -c remove
The following command
# setup-tty -d
performs a non interactive install that uses the file /tmp/sims_setup.dat if it exists. It will gather all necessary configuration data from the /tmp/sims_setup.dat file. If the file does not exist, setup-tty reverts to the interactive install, which prompts the user for necessary information. If /tmp/sims_setup.dat exists and setup-tty is executed without the -d option specified, the /tmp/sims_setup.dat file is removed and the interactive install continues.
The uninstall utility removes SIMS and other related files and packages from your system. You can specify uninstall to perform a standard or a comprehensive procedure. uninstall should be done as root.
Note - The uninstall utility may not remove certain packages that are likely to have been installed by a separate application and may be used by that application. This is the case even if SIMS has installed that package upon setup.
The syntax for using this command is:
uninstall [-c sims] | [-d sims]
The options for this command are:
TABLE C-2 Options for the uninstall Command
The following command performs a standard uninstall:
# uninstall -c sims
The following command performs a dramatic uninstall:
# uninstall -d sims
The graphical and the commandline installations both pose the same set of questions and collect the necessary initial configuration information in a similar manner. TABLE C-3 summarizes the significant differences in the two installation interfaces.
TABLE C-3 Main Differences between the Graphical and Commandline Interfaces