Adicionando repositórios do SUSE Linux no Vcenter Server Appliance

Com o uso do VCSA (Vcenter Server Appliance), algumas ferramentas Linux podem ser uteis em um troubleshooting, como por exemplo o htop que é uma ferramenta muito útil para análise de performance em servidores Linux, para podermos instalar no Vcenter precisamos adicionar os repositórios do SUSE Linux nele, vamos lá:

Vamos adicionar o repositório com o comando abaixo:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
**# sudo zypper --gpg-auto-import-keys ar http://download.opensuse.org/distribution/11.1/repo/oss/ 11.1
**

_Adding repository '11.1' [done]
_

_Repository '11.1' successfully added
_

_Enabled: Yes
_

_Autorefresh: No
_

_GPG check: Yes
_

_URI: [http://download.opensuse.org/distribution/11.1/repo/oss/](http://download.opensuse.org/distribution/11.1/repo/oss/)
_

**#sudo zypper --gpg-auto-import-keys ar http://download.opensuse.org/update/11.1/ Update-11**.1


_Adding repository 'Update-11.1' [done]
_

_Repository 'Update-11.1' successfully added
_

_Enabled: Yes
_

_Autorefresh: No
_

_GPG check: Yes
_

_URI: [http://download.opensuse.org/update/11.1/](http://download.opensuse.org/update/11.1/)
_

Validando se os repositórios foram adicionados:


**#zypper lr
**

_# | Alias | Name | Enabled | Refresh
_

_--+-------------+-------------+---------+--------
_

_1 | 11.1 | 11.1 | Yes | No
_

_2 | Update-11.1 | Update-11.1 | Yes | No
_

_Após adicionarmos os repositórios precisamos dar um refresh para que a lista de pacotes disponíveis possam ser atualizadas:
_

**#sudo zypper refresh
**

_Retrieving repository '11.1' metadata [-]
_

_New repository or package signing key received:
_

_Key ID: B88B2FD43DBDC284
_

_Key Name: openSUSE Project Signing Key <opensuse@opensuse.org>
_

_Key Fingerprint: 22C07BA534178CD02EFE22AAB88B2FD43DBDC284
_

_Key Created: Fri Nov 7 14:10:07 2008
_

_Key Expires: Sun Nov 7 14:10:07 2010 (EXPIRED)
_

_Repository: 11.1
_

_Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
_

_Retrieving repo Retrieving repository '11.1' metadata [done]
_

_Building repository '11.1' cache [done]
_

_Retrieving repo sitory 'Update- Retrieving repository 'Update-11.1' metadata [done]
_

_Building repository 'Update-11.1' cache [done]
_

_All repositories have been refreshed.
_

_Instalando o Htop:
_

**sudo zypper install htop
**

_Loading repository data...
_

_Warning: Repository 'Update-11.1' appears to outdated. Consider using a different mirror or server.
_

_Reading installed packages...
_

_Resolving package dependencies...
_

_The following NEW package is going to be installed:
_

_ htop
_

_1 new package to install.
_

_Overall download size: 56.0 KiB. After the operation, additional 123.0 KiB will be used.
_

_Continue? [y/n/?] (y): y
_

_Retrieving package htop-0.8.1-2.5.x86_64 (1/1), 56.0 KiB (123.0 KiB unpacked)
_

_Retrieving: htop-0.8.1-2.5.x86_64.rpm [done (10.6 KiB/s)]
_

_Installing: htop-0.8.1-2.5 [done]
_

_
_