在 Ubuntu 上从源代码安装 Dante
我在使用 dante 身份验证时遇到了问题,因此我尝试根据该用户所说的内容从源代码进行安装:
https://serverfault.com/questions/611537/danted-socks-proxy-with-authentication
我表演了./configure
,make,
并且make install
。
我的安装日志是这里。
我不知道从哪里开始启动服务。我试过“/etc/init.d/danted start”,但它不起作用/缺失。我漏掉了什么步骤?
我的 bin 文件夹中现在有以下内容:
Makefile Makefile.am Makefile.in socksify socksify.in
这是我第一次尝试不使用 apt-get 来安装某些东西。如有任何建议,我将不胜感激。我想我需要将文件移动到不同的目录并创建启动项?但我不确定如何一步一步地执行此操作。
答案1
未在/etc/init.d/
或其他任何地方安装脚本。
以下是已安装文件的列表:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/dante
/usr/share/doc/dante/BUGS
/usr/share/doc/dante/VERSION
/usr/share/doc/dante/NEWS
/usr/share/doc/dante/README
/usr/share/doc/dante/LICENSE
/usr/share/doc/dante/CREDITS
/usr/share/doc/dante/README.ldap
/usr/share/doc/dante/INSTALL
/usr/share/doc/dante/doc
/usr/share/doc/dante/doc/SOCKS4.protocol
/usr/share/doc/dante/doc/README.survey
/usr/share/doc/dante/doc/Makefile.in
/usr/share/doc/dante/doc/README.usage
/usr/share/doc/dante/doc/socks.conf.5
/usr/share/doc/dante/doc/README.socksify
/usr/share/doc/dante/doc/Makefile.am
/usr/share/doc/dante/doc/rfc1929.txt
/usr/share/doc/dante/doc/SOCKS4A.protocol
/usr/share/doc/dante/doc/socksify.1
/usr/share/doc/dante/doc/sockd.8
/usr/share/doc/dante/doc/sockd.conf.5
/usr/share/doc/dante/doc/rfc1928.txt
/usr/share/doc/dante/doc/rfc1961.txt
/usr/share/doc/dante/doc/Makefile
/usr/local
/usr/local/bin
/usr/local/bin/socksify
/usr/local/include
/usr/local/include/socks.h
/usr/local/sbin
/usr/local/sbin/sockd
/usr/local/lib
/usr/local/lib/libsocks.a
/usr/local/lib/libdsocks.so
/usr/local/lib/libdsocks.la
/usr/local/lib/libsocks.la
/usr/local/lib/libsocks.so.0.1.1
/usr/local/share
/usr/local/share/man
/usr/local/share/man/man5
/usr/local/share/man/man5/socks.conf.5.gz
/usr/local/share/man/man5/sockd.conf.5.gz
/usr/local/share/man/man8
/usr/local/share/man/man8/sockd.8.gz
/usr/local/share/man/man1
/usr/local/share/man/man1/socksify.1.gz
/usr/local/lib/libsocks.so
/usr/local/lib/libsocks.so.0
您必须自己编写启动脚本。或者,您可以在 中创建配置后,在终端中启动 socks 服务器/etc/sockd.conf
。阅读man 5 socks.conf
。
/usr/local/sbin/sockd