Xterm change look

use file ~/.Xresources as follow

xterm*faceName: Monospace
xterm*faceSize: 12
xterm*renderFont: true
xterm*vt100*geometry: 125x25
xterm*saveLines: 16384
XTerm*foreground: white
XTerm*background: black

to reload config restart X session or use

$ xrdb -merge ~/.Xresources

Config docker behind proxy on CentOS 7

After install docker need to add ca certificate to CentOS 7 copy ca certificates into



after than use follow command to update certificates

# update-ca-trust


now add proxy settings into docker config file /etc/sysconfig/docker as follow



if use docker community edition (docker-ce) can use a conf file to set proxy, es /etc/systemd/system/docker.service.d/http-proxy.conf:

Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,,docker-registry.example.com,.corp"


can see documentation here: https://docs.docker.com/config/daemon/systemd/#httphttps-proxy


for sudo without password add row indo /etc/sudoers

[USER] ALL=(ALL) NOPASSWD: /usr/bin/docker


configure docker engine to start at boot:

systemctl enable docker
systemctl restart docker