$ $ sudo apt-get -o Acquire::http::proxy="http://user:password@host:port/" install PACKAGE_NAME;
Showing posts with label proxy. Show all posts
Showing posts with label proxy. Show all posts
apt install through corporate proxy
Assuming proxy service like CNTLM is up and running on Ubuntu machine, one can use apt-get to install package with specifying http proxy information as follow:
Pip install via local proxy server behind secured firewall
Just found that PIP install works so well at home but not in office. One of the restriction is the firewall security to prevent non-http traffic passing through during package installation. Here's a trick:
Changing from this:
to this:
Most firewall won't block http/https traffic which is supposed to be categorized as web traffic.
Changing from this:
$ $ pip install --upgrade git+git://github.com/XXXXX/YYYYY.git
to this:
$ # x.y.z.s is IP address $ # port is port number $ pip --proxy=x.y.z.s:port install --upgrade git+https://github.com/XXXXX/YYYYY.git
Most firewall won't block http/https traffic which is supposed to be categorized as web traffic.
Subscribe to:
Posts (Atom)
apt install through corporate proxy
Assuming proxy service like CNTLM is up and running on Ubuntu machine, one can use apt-get to install package with specifying http proxy inf...
-
While using remote SSH client MobaXTerm to open up X-11 forwarded GUI app with root privileges, an error message pops up: MobaXterm X11 pr...
-
While I was trying to load up some GUI apps from remote SSH server with X11 forwarding and the error pops up: libGL error: failed to load ...
-
I was trying to test a PHP webapp up on commodity server. Some PHP extensions are not in place while Apache's config files are out of to...