WSL 配置oh-my-zsh
In the past,I try to install oh my zsh in my wsl(windows sub-linux)
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Or
$ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
but I have the problem
OS% $ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
--2020-09-06 15:06:27-- https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh
Resolving raw.github.com (raw.github.com)... 151.101.228.133
Connecting to raw.github.com (raw.github.com)|151.101.228.133|:443... connected.
Unable to establish SSL connection.
I solve this problem by trying privoxy
apt install privoxy (yum install privoxy)
nano /etc/privoxy/config
forward-socks5 / 127.0.0.1:1080 .
sudo service privoxy restart
Next time,
export http_proxy=http://127.0.0.1:8118/
export https_proxy=http://127.0.0.1:8118/
test
curl https://google.com/