2024-10-31 07:50 AM - edited 2024-10-31 07:54 AM
I'm trying to install the distribution package but I'm at the point of the proxy issues and I don't know what to do.
sudo apt-get update
sudo apt-get install corkscrew
git config --replace-all --global core.gitproxy "$HOME/bin/git-proxy.sh"
git config --add --global core.gitproxy "none for <MyPrivateNetworkDomain>" (optional, for example .st.com or localhost)
echo 'exec corkscrew <MyProxyServerUrl> <MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh
chmod 700 $HOME/bin/git-proxy.sh
echo '<MyProxyLogin>:<MyProxyPassword>' > $HOME/.git-proxy.auth
chmod 600 $HOME/.git-proxy.auth
Use the command below to test the proxy settings:
git ls-remote git://git.openembedded.org/openembedded-core > /dev/null && echo OK || echo KO
I have absolutely zero idea of the proxy settings my VM. How can I move pass this step?
Also, after those steps it sends me to https://source.android.com/docs/setup/download#installing-repo to install some Android files??? which also gives me error on curl -I http://appgw.gnb.st.com:8080
Is that the correct link?
Thanks a lot in advance
Solved! Go to Solution.
2024-11-04 09:20 AM
I'm using oracle virtual box and the problem seems to be solved if its installed fresh
2024-11-04 01:12 AM
> I have absolutely zero idea of the proxy settings my VM. How can I move pass this step?
That depends on your VM settings as well.
Assuming VMWare, you can either set the network connection of the VM to "Bridged" or "NAT". Only with the former (Bridged), your VM would appear as separate node, and proxy settings might be necessary.
For NAT, the host proxy settings would apply.
In general, it sounds like you talk about your employer's network. Proxies are a usual way to block access to certain sites. I think you would need to check with your IT guys what happens in your case.
2024-11-04 09:20 AM
I'm using oracle virtual box and the problem seems to be solved if its installed fresh