Wednesday, February 11, 2015

Proxy for apt-get in Ubuntu Server 14.04


  1. Download and Install NTLMAPS manually from https://packages.debian.org/sid/all/ntlmaps/download 
  2. Then, follows the steps

Configure it: domain, username, password, proxyserver.net, port
  1. Files: /etc/bash.bashrc
    export http_proxy=http://127.0.0.1:5865
    export https_proxy=http://127.0.0.1:5865
    export ftp_proxy=http://127.0.0.1:5865
    
    /etc/environment
    http_proxy=http://127.0.0.1:5865
    https_proxy=http://127.0.0.1:5865
    ftp_proxy=http://127.0.0.1:5865
    
    /etc/apt/apt.conf (create the file if it does not exist)
    Acquire::http::Proxy "http://127.0.0.1:5865";
    Acquire::https::Proxy "http://127.0.0.1:5865";
    Acquire::ftp::Proxy "http://127.0.0.1:5865";

No comments:

Post a Comment