[Tutorial] Configurando proxy para update do XCP-ng
-
Por vezes operamos em ambientes protegidos por um proxy, o que torna necessária uma configuração para que as atualizações de patches seja realizada com sucesso, se este é seu caso, abaixo trarei uma forma de como fazer isso.
Será consiredado neste artigo: ip do proxy 192.168.0.1 e porta 3128 com proxy transparente, usaremos aqui o editor "vi".
Edite o arquivo /etc/yum.conf
vi /etc/yum.confInsira no final do arquivo as seuintes linhas, salve e saia
# The proxy server - proxy server:port number proxy=http://192.168.0.1:3128Insira no final do arquivo .bash_profile as seguintes linhas. Salve e saia.
vi /root/.bash_profileexport http_proxy=http://192.168.0.1:3128 export https_proxy=http://192.168.0.1:3128Insira no final do arquivo wgetrc as seguintes inhas. Salve e saia.
vi /etc/wgetrc#proxy configuratios http_proxy= http://192.168.0.1:3128 https_proxy= http://192.168.0.1:3128 ftp_proxy= http://192.168.0.1:3128Insira no final do arquivo profile as seguintes inhas. Salve e saia.
vi /etc/profileexport http_proxy=http://192.168.0.1:3128 export https_proxy=http://192.168.0.1:3128Linhas para o arquivo profile /etc/environment. Salve e saia.
vi /etc/environmenthttp_proxy="http://192.168.0.1:3128" https_proxy="http://1192.168.0.1:3128" ftp_proxy="ftp://192.168.0.1:3128" no_proxy=localhost,127.0.0.1/8 export http_proxy https_proxy ftp_proxyyum updateSe tudo correu como esperado o update será executado. Lembre-se de fazer as devidas liberações no seu servidor proxy e configurar corretamente o DNS de seu XCP-ng.
Nosso grupo no Telegram: https://t.me/xcpng
Fonte: http://oinformata.eti.br/wp/configurando-proxy-no-centos7-com-o-xcp-ng-embarcado/ -
e porque é que tem http e https na mesma porta?
pode funcionar, mas está errado. não é essa a abordagem correcta.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login