Monitoring, Management & Location Tracking

Yum upgrade on Airwave via proxy server

Aruba Employee
Q:

Is it possible to run a Yum upgrade on Airwave via a proxy sever?



A:

We can define and use a proxy for Yum updates. Though there is no direct way of  defining a Proxy for it in GUI but it can be done by following the steps below.

 

We can configure proxy setting in the /etc/yum.conf file as below.

 

Configuring Proxy Server Access

To enable all yum operations to use a proxy server, specify the proxy server details in /etc/yum.conf. The proxy setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server requires a username and password, specify these by adding proxy_username and proxy_password settings.

The settings below enable yum to use the proxy server myairwave.mydomain.com, connecting to port 3128, with the username yum-user and the password qwerty.

# The proxy server - proxy server:port number

proxy=http://myairwave.mydomain.com:3128

# The account details for yum connections

proxy_username=yum-user

proxy_password=qwerty

 

 

Detailed Steps:

  •         Login to AMP’s CLI via SSH
  •         Run #  cd /etc –--- this will take to /etc directory.
  •         Run # cp yum.conf  yum.conf.original --- this creates a copy of the original file.
  •         Open editor and edit the file  --- # vi yum.conf
  •         Hit “I” to get into input/insert mode and add the above lines to the file.
  •         Hit ESC followed by ":wq! " to save and exit.
  •         Run the Yum update for specific packages..

 

Note: This proxy is only specific for YUM updates which is done via CentOS repository mirrors. The standard Airwave upgrade will not use this proxy.

Version history
Revision #:
2 of 2
Last update:
‎03-10-2016 02:02 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.