top of page
Search
Writer's picturedayal nigam

How to add proxy in raspbian operating system

Step 1: Open the terminal

Step 2: Write sudo nano or leafpad /etc/environment then enter

Step 3: One blank window gets open

Step 4: Write the following commands:

export http_proxy="http://yourusername:yourpassword@proxyipaddress:proxyport"

export https_proxy="http://yourusername:yourpassword@proxyipaddress:proxyport"

export no_proxy="localhost,127.0.0.1"



Step 5: Press control+X and then press Y

Step 6: Write sudo visudo

Step 7: One window gets opened now just add the line below the defaults

Defaults env_keep+="http_proxy https_proxy no_proxy"



Step 8: Press control+X and then press Y

Step 9: Write sudo reboot and then enter


9 views0 comments

Recent Posts

See All

Comments


bottom of page