How to enable Proxy Settings for Yum

To be able to access to Ithe internet to update the system trogth proxy use: Option 1. Add to /etc/yum.conf these lines: proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port> proxy_username=<Proxy-User-Name> proxy_password=<Proxy-Password>   Option 2: Export the variables in the shell: export http_proxy=http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export https_proxy= http://{Proxy-User-Name}:{Proxy-Password}@<Proxy-Server-IP-Address>:<Proxy-Port> export ftp_proxy= Leer más

Install wmi in CentOS

Problem: It is necessary to query Windows servers from Linux using Windows Management Instrumentation (WMI). Solution:   Install the wmi client in Linux, follow these steps 1. Download wmi from  www.atomicorp.com wget http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm –2019-02-06 18:36:16– http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm Connecting to 10.64.114.5:3128… connected. Leer más