$ gnome-network-properties
Enjoy!
$ gnome-network-properties
lsb_release -aThen it will print out some messages like this:
No LSB modules are available.So I has already know what Ubuntu version used in server. It is Natty. Enjoy!
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
ssh-keygen -f "/home/hudan/.ssh/known_hosts" -R server_ip_addressEnjoy :).
sudo apt-get updateUnfortunately, when I upgrade my Maverick to Natty, those two don't work. Then I googled it and find simpler method. Here we go:
sudo apt-get dist-upgrade
echo $http_proxy# After choosing this option, close Terminal. Then try echoing again and you will get message like this
http://username:password@proxy_ip_address:port/It means you have applied proxy system-wide option. Enjoy!
export http_proxy="http://proxy_ip_address:port"
export http_proxy_user=username
export http_proxy_passwd=password