{"id":373,"date":"2008-08-13T23:20:39","date_gmt":"2008-08-13T15:20:39","guid":{"rendered":"http:\/\/www.liangliang.org.cn\/blog\/?p=373"},"modified":"2008-08-13T23:20:39","modified_gmt":"2008-08-13T15:20:39","slug":"debian%e4%b8%8bwebmin%e7%9a%84%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.liangliang.org.cn\/?p=373","title":{"rendered":"Debian\u4e0bwebmin\u7684\u5b89\u88c5\u548c\u4f7f\u7528"},"content":{"rendered":"<p>This how-to describs how to install, configure Dansguardian with NTLM auth and multi-group configurations on Debian Etch, and get around some hurdles along the way.<\/p>\n<p>Install Debian Etch with the base system only.<\/p>\n<p>Add the following line to your \/etc\/apt\/sources.lst:<\/p>\n<p>vi \/etc\/apt\/sources.list<\/p>\n<p>deb http:\/\/download.webmin.com\/download\/repository sarge contrib<br \/>\ndeb http:\/\/www.backports.org\/debian etch-backports main contrib non-free<\/p>\n<p>wget -O - http:\/\/backports.org\/debian\/archive.key | apt-key add -<\/p>\n<p>apt-get update<br \/>\napt-get install debian-backports-keyring<\/p>\n<p>Edit \/etc\/apt\/preferences and enter the following:<\/p>\n<p>vi \/etc\/apt\/preferencesPackage: clamav<br \/>\nPin: release a=etch-backports<br \/>\nPin-Priority: 999<br \/>\nPackage: clamav-base<br \/>\nPin: release a=etch-backports<br \/>\nPin-Priority: 999<br \/>\nPackage: clamav-freshclam<br \/>\nPin: release a=etch-backports<br \/>\nPin-Priority: 999<br \/>\nPackage: libclamav2<br \/>\nPin: release a=etch-backports<br \/>\nPin-Priority: 999<\/p>\n<p>apt-get update<br \/>\napt-get install squid dansguardian samba winbind \u2013y<\/p>\n<p>Edit \/etc\/dansguardian\/dansguardian.conf and comment out line 3.<\/p>\n<p>dpkg-reconfigure dansguardian<br \/>\napt-get install webmin libcompress-zlib-perl<\/p>\n<p>Run ifconfig and make note of the IP address listed for eth0.<\/p>\n<p>ifconfig<\/p>\n<p>Now open a web browser on another machine and goto https:\/\/IPRecordedEarlier:10000\/ and log on with root.<\/p>\n<p>On the left hand menu goto Webmin > Webmin Configuration > Webmin Modules.<\/p>\n<p>Select Third party module from and click Select.<\/p>\n<p>In the new window that opens search for Dansguardian.<\/p>\n<p>Click it and then click Install Module.<\/p>\n<p>Refresh the page after the module has been installed.<\/p>\n<p>Now on the left hand side of the page go to Servers > Dansguardian and click on View\/Edit Config. Enter 127.0.0.1 into the Filter IP dialog  and change the filter port to 3130.<\/p>\n<p>Make sure Username Identification (Proxy Auth) is checked and click Save.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This how-to describs how to install, configure Dansguardian with NTLM auth and multi-group configura&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-373","post","type-post","status-publish","format-standard","hentry","category-debian"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=373"}],"version-history":[{"count":0,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=\/wp\/v2\/posts\/373\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liangliang.org.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}