This is a very simple procedure to set up proxy in Lubuntu taken from here:
edit /etc/bash.bashrc by the following command
<code>
sudo vim /etc/bash.bashrc
export http_proxy="http://rushadf:0302@127.0.01:3128/"
export ftp_proxy="http://rushadf:0302@127.0.01:3128/"
</code>
To keep the value for http_proxy,you need to edit /etc/sudoers
<code>
visudo
</code>
Then find a line that states:
Defaults env_reset
and add this after it:
Defaults env_keep="http_proxy ftp_proxy"
for chromium:
sudo vim /etc/chromium-browser/default
#Add proxy server detais in the following form
export http_proxy="http://rushadf:0302@127.0.01:3128/"
It seems this is all there it is. Too good to be true?
Then what are those gsettings command?
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy.http port '3128'
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy mode 'manual'
gsettings set org.gonome.system.proxy mode 'none'
# I also don't quite understand the difference between ~/.bashrc and /etc/bash.bashrc. But they have different line numbers.
Here I review some the proxy commands in Lubuntu that needs to be remembered:
cat /etc/environment
# The above command gives what is in environment variable
env | grep -i proxy
# This is anothe useful command to to look at which give all the proxy
# environment.
export http_proxy=
#Above command sets a null value for http_proxy.We can check whether that worked by the following command.
echo $http_proxy
#It should return a blank line.
edit /etc/bash.bashrc by the following command
<code>
sudo vim /etc/bash.bashrc
export http_proxy="http://rushadf:0302@127.0.01:3128/"
export ftp_proxy="http://rushadf:0302@127.0.01:3128/"
</code>
To keep the value for http_proxy,you need to edit /etc/sudoers
<code>
visudo
</code>
Then find a line that states:
Defaults env_reset
and add this after it:
Defaults env_keep="http_proxy ftp_proxy"
for chromium:
sudo vim /etc/chromium-browser/default
#Add proxy server detais in the following form
export http_proxy="http://rushadf:0302@127.0.01:3128/"
It seems this is all there it is. Too good to be true?
Then what are those gsettings command?
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy.http port '3128'
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy.http host '172.16.4.84'
gsettings set org.gonome.system.proxy mode 'manual'
gsettings set org.gonome.system.proxy mode 'none'
# I also don't quite understand the difference between ~/.bashrc and /etc/bash.bashrc. But they have different line numbers.
Here I review some the proxy commands in Lubuntu that needs to be remembered:
cat /etc/environment
# The above command gives what is in environment variable
env | grep -i proxy
# This is anothe useful command to to look at which give all the proxy
# environment.
export http_proxy=
#Above command sets a null value for http_proxy.We can check whether that worked by the following command.
echo $http_proxy
#It should return a blank line.
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন