Line 62: |
Line 62: |
| Then download & install the packages | | Then download & install the packages |
| | | |
− | yum --enable-repo=dungog install dansguardian smeserver-dansguardian dungog-blacklists | + | yum --enablerepo=dungog install dansguardian smeserver-dansguardian dungog-blacklists pcre |
| | | |
| To view available updates | | To view available updates |
| | | |
− | yum --enable-repo=dungog list updates | + | yum --enablerepo=dungog list updates |
| | | |
| | | |
Line 72: |
Line 72: |
| '''Modifying Dansguardian configuration''' | | '''Modifying Dansguardian configuration''' |
| | | |
− | You need to manually modify configuration files /etc/dansguardian/dansguardian.conf and /etc/dansguardian/dansguardianf1.conf and /etc/dansguardian/dansguardianf2.conf and /etc/dansguardian/dansguardianfn.conf | + | You need to manually modify configuration files /etc/dansguardian/dansguardian.conf and /etc/dansguardian/dansguardianf1.conf and /etc/dansguardian/dansguardianf2.conf and /etc/dansguardian/dansguardianf3.conf and so on depending on the number of filter groups you wish to have. |
| | | |
| pico -w /etc/dansguardian/dansguardian.conf | | pico -w /etc/dansguardian/dansguardian.conf |
Line 103: |
Line 103: |
| | | |
| Ctrl o and Ctrl x | | Ctrl o and Ctrl x |
| + | |
| + | If you wish to use additional filter groups then edit further configuration files. |
| | | |
| pico -w /etc/dansguardian/dansguardianf2.conf | | pico -w /etc/dansguardian/dansguardianf2.conf |
Line 110: |
Line 112: |
| Ctrl o and Ctrl x | | Ctrl o and Ctrl x |
| | | |
− | pico -w /etc/dansguardian/dansguardianfn.conf | + | pico -w /etc/dansguardian/dansguardianf3.conf |
| | | |
| Make any required changes to suit your situation by carefully reviewing all the setting possibilities | | Make any required changes to suit your situation by carefully reviewing all the setting possibilities |
Line 123: |
Line 125: |
| You can read information in the beginning of each config file that explains usage & syntax | | You can read information in the beginning of each config file that explains usage & syntax |
| | | |
− | These are located in /etc/dansguardian/..... | + | These are located in /etc/dansguardian/lists... /etc/dansguardian/lists/f1/... /etc/dansguardian/lists/f2/... & so on and subfolders |
| | | |
| eg | | eg |
| | | |
− | pico -w /etc/dansguardian/bannedextensionlist | + | pico -w /etc/dansguardian/lists/f1/bannedextensionlist |
| | | |
| make the required changes | | make the required changes |
Line 135: |
Line 137: |
| Most users will need to change these 4 files as a minimum | | Most users will need to change these 4 files as a minimum |
| | | |
− | exceptionsitelist
| + | bannedextensionlist |
| | | |
| bannedsitelist | | bannedsitelist |
Line 141: |
Line 143: |
| bannedurllist | | bannedurllist |
| | | |
− | bannedextensionlist
| + | exceptionsitelist |
| | | |
− | You should review ALL the dansguardian config files in /etc/dansguardian as part of your initial Dansguardian setup. | + | You should review ALL the dansguardian config files in /etc/dansguardian/lists and subfolders as part of your initial Dansguardian setup. |
| | | |
| Some of the default settings in these files will prevent access to certain web sites and file types, which may conflict with your site requirements. See details in the "Further customisation" section at the end of this Howto or at http://dansguardian.org | | Some of the default settings in these files will prevent access to certain web sites and file types, which may conflict with your site requirements. See details in the "Further customisation" section at the end of this Howto or at http://dansguardian.org |
Line 280: |
Line 282: |
| The Group filter files are located in: | | The Group filter files are located in: |
| | | |
− | /etc/dansguardian/lists/fn/* | + | /etc/dansguardian/lists/f1/... |
| + | |
| + | /etc/dansguardian/lists/f2/... |
| + | |
| + | /etc/dansguardian/lists/f3/... |
| + | |
| + | and so on depending on the number of groups you set up |
| | | |
| Edit these to suit your site requirements | | Edit these to suit your site requirements |