Description Create a new repository root directory location, and to move existing product packages into the new repository.
The default product repository location is created when the Security Management server is installed. On Windows machines the default location is C:\SUroot
and on UNIX it is /var/SUroot.
Use this command to change the default location.
When changing repository root directory:
$SUROOT
environment variable gets the value of the new root path.The repository root directory should have at least 200 Mbyte of free disk space.
Syntax
> cppkg setroot <repository>
Parameter |
Description |
---|---|
|
The full path for the desired location for the product repository. |
Comments It is important to reboot the Security Management server after performing this command, in order to set the new $SUROOT
environment variable.
Example
cppkg setroot /var/new_suroot Repository root is set to : /var/new_suroot/
Note: When changing repository root directory : 1. Old repository content will be copied into the new repository. 2. A package in the new location will be overwritten by a package in the old
Change the current repository root ? [y/n] : y
The new repository directory does not exist. Create it ? [y/n] : y
Repository root was set to : /var/new_suroot
Notice : To complete the setting of your directory, reboot the machine! |