$ $ sudo apt-get -o Acquire::http::proxy="http://user:password@host:port/" install PACKAGE_NAME;
Showing posts with label install. Show all posts
Showing posts with label install. 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...
-
To use custom TTF font on our own, there are similar posts up on the forums. However, none of them works for my case except this one. Here...
-
NetCDF ( Network Common Data Form ) is a set of software libraries and self-describing, machine-independent data formats that support the ...