Tuesday, March 20, 2012

Setting up apt-get to use a http-proxy

This is a temporary method that you can manually use each time you want to use apt-get through a http-proxy. This method is useful if you only want to temporarily use a http-proxy. 

Enter this line in the terminal prior to using apt-get (substitute your details for yourproxyaddress and proxyport).
 
export http_proxy=http://yourproxyaddress:proxyport
 
 
Done!!! 
 
 
Option 2:
 
Type in Terminal

gedit /etc/apt/apt.conf


(root authentication is required)

Now type this two lines in the text file:

Acquire::http::Proxy "http://username:password@proxyaddress:port";
Acquire::ftp::Proxy "ftp://username:password@proxyproxyaddress:port";

Save and Done!

Try this in terminal now, 

sudo apt-get update


You will see your ubuntu getting updated!
 

Thursday, March 8, 2012

Error: Failed to fetch in Linux


Error:

Failed to fetch

Example:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.170 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.170 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.170 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.170 80]

W: Some index files failed to download. They have been ignored, or old ones used instead.


Solution:

Goto --> Setting --> Software Resources --> Under Ubuntu Software tab ---> Choose a Download Server --> Click on Select Best Server --> Wait for system to search for a best server  --> Click ok.

Check this in terminal:


sudo apt-get update


Done!!!

Running Ubuntu as Root


In Linux (and Unix in general), there is a SuperUser named Root. The Windows equivalent of Root is Administrators group. The SuperUser can do anything and everything, and thus doing daily work as the SuperUser can be dangerous. You could type a command incorrectly and destroy the system. Ideally, you run as a user that has only the privileges needed for the task at hand. In some cases, this is necessarily Root, but most of the time it is a regular user. 

By default, the Root account password is locked in Ubuntu. This means that you cannot login as Root directly or use the su command to become the Root user. 


To simulate yourself as root, use:

sudo -i
 

To enable the Root account (i.e. set a password) use:
 
sudo passwd root
 
 

Tuesday, April 6, 2010

3G Auction in India



All is set. The online mock 3G auction in India took place on 6th April 2010. Fifteen major telecom operators took part in it. 


The final 3G auction will be on 9th April 2010. Everybody is awaiting this to happen. Most importantly, government which is expecting 35000 Crore INR from this auction. The initial amount paid by all the companies altogether was 550 Crore INR. 






For more details about the auction, visit the following:

Information 1

Information 2

Information 3


Lets hope that soon India will be able to enjoy 3G services after military of India vacates the spectrum.

Monday, January 11, 2010

Thursday, January 7, 2010

Copenhagen Summit

Faced with the undoubted grandeur of climate change, a grand response seems in order. But, to the immediate disappointment to most of those participating and watching, the much anticipated UN climate conference held in Copenhagen in December led to no such thing.


Initial ambitions for a legally binding agreement with numerical targets for big emitters had already been abandoned in favour of a “politically binding” deal in which developed and developing countries would commit themselves to numerical targets to cut emissions. In the event a few countries produced a short “accord” that sets down no specific limits for future emissions beyond those that its signatories volunteer—and the commitments they have made so far do not look tough enough to limit the rise in temperature to 2°C above pre-industrial levels, the widely accepted boundary beyond which scientists do not recommend going.
Hardly a grand response. Yet the Copenhagen accord is not the disaster that it at first appears. On two issues in particular the Copenhagen conference may yet mark the beginning of a new way forward.
First, the UN’s climate process has for more than a decade been bedevilled by a binary split between developed and developing countries. Under the Kyoto protocol, only developed countries committed themselves to cutting emissions; developing countries made no such promises. That was the main reason why Kyoto failed, because America would not accept a treaty that required nothing of countries such as China, and China insisted that the rich world should bear most of the necessary costs of constraining emissions. At Copenhagen developed countries were determined to move beyond this structure; many developing countries to hang on to it. That was the obstacle on which the conference foundered.
Yet the Copenhagen accord makes some progress towards closing this split. Developing, as well as developed, countries signed up to it, and have agreed to an international role in monitoring any cuts they commit themselves to. That is a crucial concession.


More Details here on official Website. and here.











Saturday, January 2, 2010

So What Does It All Mean: Happy New Year 2010

I was watching this video and found it interesting enough to be shared. Just watch interesting facts about how technology grows.