Print Download PDF Send Feedback

Previous

Next

cppkg setroot

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:

The repository root directory should have at least 200 Mbyte of free disk space.

Syntax

> cppkg setroot <repository>

Parameter

Description

<repository>

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
location, if the packages have the same name.

 

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!