Is it possible to run a Yum upgrade on Airwave via a proxy sever?
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
# The account details for yum connections
- 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.