when you first install Ubuntu you will need to set up the system proxy in order to acceess Internet through command line..For that " How to set-up system proxy " just follow these steps !!
- first of all go to Dash-home and type "Network" a new window will be opened here now you can see the network proxy tab just click it and select [Manual] mode
- enter your desired proxy here and hit apply system-wide..
- you will be asked for User-account password provide it!!
Now Second part you need to provide authentication for your proxy [ only if your Internet is password protected ]
- Open a new Terminal
- Type the following command
sudo su
3. You will be asked for User-Account password provide it.
4. Then type this command
cd /etc/apt
5. Then type this command
gedit apt.conf
6. Hit enter and a new file will be opened in Gedit:
7. Now in this file replace proxy:port with the proxy and port given by your Internet provider
e.g. for COEP its 10.1.101.150:3128
and replace username:password by your own username and password that you generally use for accessing net and save the file
8. and you are DONE!! now you can access Internet without specifying proxy everytime :D
9. ENJOY
No comments:
Post a Comment