个人工具

UbuntuHelp:Servers/DansGuardian

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 11:27的版本 (New page: {{From|https://help.ubuntu.com/community/Servers/DansGuardian}} {{Languages|php5}} DansGuardian Internet Content Filter Installation == Introduction == This document describes the step...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


DansGuardian Internet Content Filter Installation

Introduction

This document describes the steps necessary to install and configure the DansGuardian Internet Content Filter system on Ubuntu Linux. The goal of this document is to use GUI tools wherever possible.

Install Tinyproxy

DansGuardian relies on a separate web proxy server such as squid or tinyproxy to fetch webpages. First we need to install the proxy.

Launch the Synaptic Package Manager from the "System" -> "Administration" menu.

We need to make sure that community open source packages are available. To do that under the menu "Settings" select "Repositories". Make sure "Community maintained Open Source software (universe)" is selected.

Now on the tool menu click Search and type "tinyproxy". Right-click on "tinyproxy" and select "Mark for Installation". Now click Apply on the tool menu.

Tinyproxy should now be installed.

Install DansGuardian

Now we can install DansGuardian, again click "Search" from the tool menu and type "dansguardian". Right-click on "dansguardian" and select "Mark for Installation". Now click "Apply" on the tool menu. The installation will error because DansGuardian is not yet configured.

To configure DansGuardian, open a Terminal and type:

gksudo gedit /etc/dansguardian/dansguardian.conf
</code>

Now comment out the line that says "UNCONFIGURED" by placing a '#' at the beginning of that line.  Save the file and exit.

Right-click on dansguardian in the Synaptic Package Manager again and select "Mark for Reinstallation".  Click "Apply".

Congratulations!  Your machine should now be running a fully functional Internet Content Filter or port 8080.  To test your filter, open your web browser and tell it to use localhost port 8080 as its HTTP proxy.

----

CategoryDocumentation

[[category:UbuntuHelp]]