[SOLVED] Do you know how to set the proxy in deepin?
Tofloor
poster avatar
Blogghete
deepin
2017-04-13 01:02
Author
Edited by Blogghete at 2017-5-11 12:14

Hi to all, deepin 15.4 RC2 lovers,I have executed the following commands in terminal to set a proxy with no success.
Do you know how can I set the proxy successfully?

  1. [Run in terminal..]
  2. export http_proxy="http://\:@:"
  3. export https_proxy=$http_proxy
  4. export ftp_proxy=$http_proxy
  5. export HTTP_PROXY=$http_proxy
  6. export HTTPS_PROXY=$http_proxy
  7. export FTP_PROXY=$http_proxy

  8. su -
  9. [enter the root password]
  10. export http_proxy="http://\:@:"
  11. export https_proxy=$http_proxy
  12. export ftp_proxy=$http_proxy
  13. export HTTP_PROXY=$http_proxy
  14. export HTTPS_PROXY=$http_proxy
  15. export FTP_PROXY=$http_proxy

  16. cd /etc/profile.d/
  17. gedit proxy.sh

  18. export http_proxy=http://\:@:

  19. cd /etc/apt/apt.conf.d/
  20. gedit 99HttpProxy

  21. Acquire::http::Proxy "http://\:@:";

  22. cd /etc/
  23. gedit wgetrc

  24. http_proxy = http://\:@:


  25. cd /etc/apt/
  26. gedit apt.conf

  27. Acquire::http::proxy "http://\:@:";

  28. cd /etc/
  29. gedit environment

  30. http_proxy=http://\:@: apt-get update

  31. cd /etc/
  32. gedit profile

  33. export http_proxy=http://\:@:
  34. export ftp_proxy=http://\:@:

  35. sudo apt-get update
Copy the Code






What I'm missing to do?
Any idea?
Reply Favorite View the author
All Replies
michaeljayt
deepin
2017-04-13 01:31
#1
Hi, what are you trying to do with the proxy settings?
Reply View the author
Blogghete
deepin
2017-04-13 01:36
#2
I'm in a Company, so I need to set a proxy to access the Internet.
The proxy settings that you can set by the graphical user interface of the DDE Control Center doesn't work for APT and for the Apps Store and Microsoft Skype Beta for linux.
Reply View the author
Blogghete
deepin
2017-05-06 03:54
#3
Edited by Blogghete at 2017-5-8 11:27

Is there someone out there that know how to set the proxy successfully?
Debian and Ubuntu methods don't work properly (APT is too slow - 23Kb/s also with Germany mirrors selected).
Many thanks in advance man.
Reply View the author
A·S·M·X·T 😏😜
deepin
2017-05-06 04:19
#4
Edited by liululin at 2017-5-5 20:20

The system proxy settings are not valid for some commands, maybe you need tsocks or proxychains。
tsocks :socks5 proxy
proxychains : socks4/5 or http proxy


google  tsocksproxychains。
Reply View the author
Blogghete
deepin
2017-05-10 08:30
#5
Hi @liululin,
I have used this guide and it works!
https://bbs.deepin.org/post/139198#=1##pid326674

Now it downloads at about 15.000 Kb/s.
Reply View the author
marxxx
deepin
2018-02-21 13:35
#6
Hi Blogghete;
Reply View the author
marxxx
deepin
2018-02-21 13:42
#7
Blogghete replied at 2017-5-10 00:30
Hi @liululin,
I have used this guide and it works!
https://bbs.deepin.org/forum.php?mod=viewthread&t ...

Hi Blogghete;
Can you explain what did you do to resolve this problem?
I  saw the link that you post here, but don't understund It.
I have the same problem and i can't resolve It.
Thanks.
Regards.
Reply View the author
Blogghete
deepin
2018-02-22 00:57
#8
https://bbs.deepin.org/post/137520
Hi Blogghete;
Can you explain what did you do to resolve this problem?
I  saw the link that you po ...

Hi @marxxx

download this batch file:
https://bbs.deepin.org/

You can download it from this page:
https://bbs.deepin.org/post/139198

Run the batch following the instructions

After run these commands in the terminal:
https://codepoets.co.uk/2014/debian-http_proxy-setting/

After run these commands in the terminal:
https://askubuntu.com/questions/ ... proxy-from-terminal

Reboot the operating system and it works.
Reply View the author