2.8.1 Introduction
Info |
---|
|
Since the present version you can configure the software repositories by User Interface! |
Since the current version you can update the appliance by user interface (please refer to PSAM 3.2 Software Updates). The update process works like this: the software builds a dependency tree in which all the available software are listed and netted in family by their mutual dependency. In this way each new version or new software to be installed is checked against the tree to understand if its installation involves other software packages. Then the update system checks about the availability of each involved software package and at last it actually downloads it and install it in the proper and expected order.
This job can be completed because of the repositories. A repository is a sort of web site exposing its packages plus dependency informations for each of them. So in order to create the dependency tree, the update software must connect to at least one repository.
Tip |
---|
Usually each repository contains a family of package, i.e. "security update", "base system packages", "third party add-ons" |
2.8.2 Accessing the repository list
To access to the actual repository list you have to click on the "Software repository" left menu entry, under the section "SERVER CONFIGURATION".
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | List of repositories |
---|
AnchorName | repo_list |
---|
|
![](/docs/download/attachments/7472251/repo_list.png?version=1&modificationDate=1352294285200&api=v2&effects=drop-shadow)
|
Please note the "Enabled" column which shows you the usable repositories.
Warning |
---|
Please consider that a value of "False" in the "Enabled" column means that the involved repository won't be used to check for updates and to build the dependency tree! |
Each entry in the list can be accessed by clicking on its "Name" (first column as in
).
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | Configuration of the single repository |
---|
AnchorName | repo_show |
---|
|
![](/docs/download/attachments/7472251/repo_show.png?version=1&modificationDate=1352294285427&api=v2&effects=drop-shadow)
|
2.8.3 Create a new repository
You can create a new repository using the "New Repository" button above the list shown in
.
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | The "New Repository" button |
---|
AnchorName | repo_create_new |
---|
|
![](/docs/download/attachments/7472251/repo_create_new.png?version=1&modificationDate=1352299262529&api=v2&effects=drop-shadow)
|
You better have some data noted on paper before starting with the creation, because the form for a new repository will need:
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | Create one new repository |
---|
AnchorName | repo_new |
---|
|
![](/docs/download/attachments/7472251/repo_create.png?version=1&modificationDate=1352299116869&api=v2&effects=drop-shadow)
|
- Name: the name you give to this repository and the one that will be shown in the list of repositories
- Text: this is where you define all the options to make your repository work fine. Please refer to the official guide to get the necessary background information about setting up a new repository: http://yum.baseurl.org/wiki/RepoCreate
- File Name: The name of the file to be written on the filesystem. This file will contain all the information provided and will be used by the update software
Note |
---|
title | multiple entries are possible! |
---|
|
Please note that is perfectly normal to have multiple repositories in the same file! To join together more than one repository, just specify the same file name and the entry will be concatenated to it. |
Tip |
---|
Even if not mandatory, it's a good practice to name the repository files as something.repo. The ".repo" extensions isn't used by the system, still it can be useful for maintenance purposes. |
- Enabled: This is a flag which points out if the system is going to either use this repository or not.
When you are fine with the new entry just press the "Create" button in order to create it:
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | The new repository has been created |
---|
AnchorName | repo_created |
---|
|
![](/docs/download/attachments/7472251/repo_created.png?version=1&modificationDate=1352305120754&api=v2&effects=drop-shadow)
|
2.8.4 Update one repository
If you need to update one of yours repositories, then start from the
. You can see the "
Edit" button at the bottom of the form.
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | Edit one repository |
---|
AnchorName | repo_edit |
---|
|
![](/docs/download/attachments/7472251/repo_edit.png?version=1&modificationDate=1352294285337&api=v2&effects=drop-shadow)
|
The "Edit Repository" form will appear as in
. Change anything you need and then press the "
Update" button at the bottom of the form.
Subtitle |
---|
Prefix | figure |
---|
SubtitleText | Your repository has been updated! |
---|
AnchorName | repo_updated |
---|
|
![](/docs/download/attachments/7472251/repo_updated.png?version=1&modificationDate=1352294285492&api=v2&effects=drop-shadow)
|
You are going to read the "Show repository" form (as in
) with a message informing you that the update has been performed (please refer to
)
Tip |
---|
If you want to remove one repository from the system consideration, then just edit it and uncheck the "Enabled" option in the lower part of the form. This will prevent any use by the update software. |
2.8.5 Delete one repository
You can't delete any repository from the User Interface. Instead you can disable any of them at your wish. In order to wipe out any reference to any repository you need to access to the appliance by ssh remote console and manually change the file to delete the interested entry.
Warning |
---|
You can also delete the file itself, but in this case every entry contained in that file will be deleted as well |