RHEL7/Proxy for Linux global system or git

1. Gnome GUI 


RHEL7/Proxy for Linux global system or git

2.  Same 

[email protected]:~$ export  |grep htt
declare -x HTTP_PROXY="http://10.24.1.1:8080/"
declare -x http_proxy="http://10.24.1.1:8080/"
[email protected]:~$ export  |grep   proxy
declare -x http_proxy="http://10.24.1.1:8080/"
declare -x no_proxy="localhost,127.0.0.0/8,::1"


3. Git proxy 

[email protected]:~$ cat .gitconfig 
[user]
email = [email protected]
name = Lake
[core]
editor = vim
[color]
ui = auto
[alias]
        logall = log --graph  --pretty=oneline  --all    --abbrev-commit    --decorate
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit


[push]
default = matching
 
[https]
proxy = 10.24.1.1:8080
[http]
proxy = 10.24.1.1:8080
[email protected]:~$