Firefox 16, a treat for developers http://t.co/cnd27CzT
How to update and add repository in Ubuntu 11.04 Natty and 11.10 oneiric ocelot behind a proxy | FAQs
Question: How to install , update packages and add PPA repository behind a proxy Server in Ubuntu 10.10, 11.04 Natty and 11.10 oneiric ocelot?
Answer:
Open terminal and add the following lines to /etc/apt/apt.conf.
gedit /etc/apt/apt.conf
And add these 2 line :
Acquire::http::Proxy "http://user:pass@proxy-host:port/";
Acquire::ftp::Proxy "http://user:pass@proxy-host:port/";
save and exit. Now apt-get update and should work behind a proxy, but you will notice that still something is not working, is the add-apt-repositoy command.
To be able to add repository behind a proxy, type the following commands:
# export https_proxy="http://192.168.1.5:8080"
# sed -i 's/"keyserver.ubuntu.com"/"hkp://keyserver.ubuntu.com:80"/' /usr/share/pyshared/softwareproperties/ppa.py
Now you can add repositories in Lucid and Natty using LANG=C add-apt-repository
Example:
root@ubuntu:~# LANG=C add-apt-repository ppa:motumedia/mplayer-daily
This method was tested under Ubuntu 11.04 and 10.10 and is working fine:)
Please feel free to ask any question by posting in the Forum.
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...1 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















Brandon Hawkins
| #
thanks
Nova
| #
I wonder if there is a way to create your own themes.
Red Adaya
| #
Thank you! This worked for me!!!
SK
| #
Andrew look into your httpd.conf file at line no 350. There might be a syntax error.
andrew
| #
hello I have this error
[root@cloud html]# /etc/init.d/httpd restart
then this appears
Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.
plz tell how to fix this.