How to Set up a Residential Proxy on Linux
Linux proxy settings:
Linux offers a variety of distributions for people interested in alternative OS. Unfortunately, it would be impossible to cover the setup on all of them. The guide below should provide a good understanding of system-wide proxy setup.
Sign in as a root user.
Open /etc/environment file with nano.
You should now be presented with a text editor window. Configure your proxy: http_proxy="http://gate.smartproxy.com:7000" https_proxy="http://gate.smartproxy.com:7000" no_proxy="localhost"
You can select any other endpoint from the available list. If needed username:password authentication is also available via http://username:[email protected]:7000.
To finish editing selected file hit CTRL + X, then enter Y to save changes and confirm the file location by clicking ENTER.
Finish up by locking the file and rebooting your your computer. Proxy changes may disappear if you will skip this step. To lock the file, enter chattr +i /etc/environment. To unlock it later on, you can use the -i flag instead.