I tried to install DNSCrypt on Centos 6.5. DNSCrypt is an encryption protocol/tool which makes dns queries encrypted. There are some dns servers which understand DNSCrypt eg. OpenDNS.com who innovated this protocol.
The download page is http://download.dnscrypt.org/dnscrypt-proxy/ . You download source files. One needs gcc to compile them. But they do depend on another library libsodium which is included in Centos repos. Unfortunately the one in Centos repos is older, and the compilation of DNSCrypt fails.
To resolve this issue, one needs to install libsodium from scratch. Download a recent tar ball from https://download.libsodium.org/libsodium/releases/ , then compile. Compilation is smooth. And after libsodium, compile DNSCrypt.
To start DNSCrypt daemon, a command like this
dnscrypt-proxy --daemonize -R opendns
is sufficient. You also need to change /etc/resolv.conf file to include
nameserver 127.0.0.1.
Then to test if daemon is working, one can give
dig debug.opendns.com txt
command.
Then you are done.
Pazar, Eylül 21, 2014
Pazar, Ağustos 03, 2014
Centos 7 disable desktop environment
Centos has changed a lot by the newcoming member 7 of it. It is ideal to use for server environments. When installed by live cd, graphical desktop environment is installed and loaded default when booting.
Because the system is changed a lot tutorials found on internet for Centos 5 or 6 are not valid for this new edition. Instead a very simple way is documented on official documentation.
By the following command you find default target which is presumably graphical.target after installation
And then it is easily changed to console login by
Because the system is changed a lot tutorials found on internet for Centos 5 or 6 are not valid for this new edition. Instead a very simple way is documented on official documentation.
By the following command you find default target which is presumably graphical.target after installation
$ systemctl get-default
And then it is easily changed to console login by
$ systemctl set-default multi-user.target
Kaydol:
Yorumlar (Atom)