Below are the instruction I have to follow for setting up cloudera. I am confused about the below on ubuntu 12.04.

On Debian/Ubuntu systems, add the following property to /etc/apt/apt.conf:
Acquire::http::Proxy "http://server:port/";

Here is the contents of /etc/apt

/etc/apt# ls
apt.conf.d  preferences.d  sources.list  sources.list~  sources.list.d  trustdb.gpg  trusted.gpg  trusted.gpg~  trusted.gpg.d

There is no apt.conf file. Do I create one?

Also...do I place this line exact in the file?

  Acquire::http::Proxy "http://server:port/";

Or do I have to fill in the blanks e.g. Acquire::http::Proxy "";


Simply create the file and add your content in it. See this. Use gksudo gedit /etc/apt/apt.conf for graphical edit, or sudoedit /etc/apt/apt.conf for console edit.

Regarding what you have to put in the configuration, you have to put the proxy address and its port (so fill in the blanks). If you do need a proxy, ofc.

protected by Tom O'Connor Jan 30 '14 at 8:41

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.