求 DNScrypt ubuntu 安装教程,搜了半天都是你抄我,我抄你的文章

2014-11-20 14:38:30 +08:00
 xarrow
4888 次点击
所在节点    问与答
22 条回复
Blask
2014-11-20 16:39:02 +08:00
"你抄我, 我抄你"的文章解决不了你的问题吗?
lemontv
2014-11-20 17:10:10 +08:00
官方文档不好使么
Showfom
2014-11-20 17:18:40 +08:00
http://ttt.tt/153/

我自己写的,不好用吗?
xarrow
2014-11-20 17:19:11 +08:00
@lemontv 官方文档,前提是网站显示完整
thinker3
2014-11-20 21:25:41 +08:00
{ install dnscrypt
-------------------------------------------------------------------------------
http://download.libsodium.org/libsodium/releases/libsodium-0.4.2.tar.gz
./configure && make
sudo make install
sudo ldconfig

http://download.dnscrypt.org/dnscrypt-proxy/
http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.3.3.tar.gz
./configure && make
sudo make install
dnscrypt-proxy --daemonize --pidfile=/run/dnscrypt-proxy.pid --edns-payload-size=4096

On the IPv4 Settings tab, set Method to "Automatic (DHCP) addresses only" and set DNS servers to "127.0.0.1"
sudo restart network-manager

test:
http://www.opendns.com/welcome/
-------------------------------------------------------------------------------
install dnscrypt }
xarrow
2014-11-22 20:12:53 +08:00
@Showfom 请问 未发现nscrypt-proxy和sniproxy,是不是需要 update下?
Showfom
2014-11-22 20:14:47 +08:00
@xarrow

apt-get install python-software-properties
add-apt-repository ppa:dlundquist/sniproxy
apt-get update && apt-get install sniproxy

apt-get install python-software-properties
add-apt-repository ppa:shnatsel/dnscrypt
apt-get update && apt-get install dnsmasq && apt-get install dnscrypt-proxy


你需要先导入 ppa
xarrow
2014-11-22 21:44:20 +08:00
@Showfom 求大牛科普下 ppa ^_^
Showfom
2014-11-22 21:50:35 +08:00
@xarrow 就是帮你编译好的,不需要自己再去编译,所以增加 ppa 以后就可以直接 apt-get 装了
xarrow
2014-11-22 22:02:31 +08:00
@Showfom 怎么增加?
Showfom
2014-11-22 22:03:04 +08:00
@xarrow 。。。。。。。
Showfom
2014-11-22 22:03:23 +08:00
@xarrow


apt-get install python-software-properties
add-apt-repository ppa:dlundquist/sniproxy
xarrow
2014-11-22 22:09:17 +08:00
@Showfom 解压包./configure && make?
xarrow
2014-11-22 22:11:32 +08:00
@xarrow You are about to add the following PPA to your system:

More info: https://launchpad.net/~dlundquist/+archive/ubuntu/sniproxy
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 160, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
self.reload_sourceslist()
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
xarrow
2014-11-22 22:13:54 +08:00
@Showfom
You are about to add the following PPA to your system:

More info: https://launchpad.net/~dlundquist/+archive/ubuntu/sniproxy
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 160, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
self.reload_sourceslist()
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
Showfom
2014-11-22 22:15:53 +08:00
@xarrow 忘了说,要 Ubuntu 12.04
Showfom
2014-11-22 22:16:12 +08:00
@xarrow 然后直接按 回车!
xarrow
2014-11-22 22:18:59 +08:00
@Showfom Ubuntu 12才行? 我再试试,谢谢!
xarrow
2014-11-25 17:53:29 +08:00
@Showfom 那其他坂本的 linux 就不行了么?ubuntu 14好像也不行~
holajamc
2015-10-10 15:51:09 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/148004

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX