Monday, November 22, 2010

Connection problem when run apt-get behind proxy server

Error when running apt-get update command behind the proxy server:

> Cannot initiate the connection

Solution as below:
1) Edit the configuration:
nano /etc/apt/apt.conf

2) Insert the proxy URL & port number, example:
Acquire::http::Proxy "http://ip-address:port/";

Change cm to Inches format in Windows

Windows users (that using Ms. Excel & Word) encounter a problem when Edit to Resize pictures. They do not know how to change the default Format from cm to Inches".

I found this is NOT a problem in Microsoft Office. And it can be easily fixed by doing these steps:

For Windows 7 OS:
1) goto Control Panel
2) double click on "Region & Language"
3) Click on "Additional settings" button
4) At "Numbers" tab
5) Measurement system: change "Metric" to "US"
6) Click OK to Save the settings, DONE !

For Windows XP:

1) goto Control Panel
2) double click on "Regional & Language options"
3) At "Regional options" tab
4) Click at "Customize..." button
5) At "Numbers" tab
6) Measurement system: change "Metric" to "US"
7) Click OK to Save the settings, DONE !