User:TTown/goals: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(→‎Status: update)
Line 31: Line 31:
The rpm for fc7 is downloadable from http://dries.ulyssis.org/apt/packages/dansguardian/info.html. Installing it (yum localinstall ....rpm) leads to an unsigned rpm error. A work around for now is to (in /etc/yum.conf) turn the gpgcheck=1 to gpgcheck=0 to get the rpm installed and then set it back to gpgcheck=1.<br>
The rpm for fc7 is downloadable from http://dries.ulyssis.org/apt/packages/dansguardian/info.html. Installing it (yum localinstall ....rpm) leads to an unsigned rpm error. A work around for now is to (in /etc/yum.conf) turn the gpgcheck=1 to gpgcheck=0 to get the rpm installed and then set it back to gpgcheck=1.<br>
Now DansGuardian is installed, but it still won't start (--> service dansguardian start) because there is a port conflict: Lighttpd has port 8080 already occupied...<br>
Now DansGuardian is installed, but it still won't start (--> service dansguardian start) because there is a port conflict: Lighttpd has port 8080 already occupied...<br>
Hopefully I'll find ways around this. Maybe with a little help??
Hopefully I'll find ways around this. Maybe with a little help?? Marten Vijn helped!

/etc/lighttpd/lighttpd.conf

check these changes<br>
/* server.document-root = "/var/www/idmgr/"<br>
server.document-root = "/home/idmgr/"

and later<br>
/* server.port = 8080<br>
server.port = 8081

and voila - dansguardian starts

next enter a crontab as root to do the logrotation:
crontab -e
59 23 * * sat /etc/dansguardian/logrotation (taken from: http://linsec.ca/bin/view/Main/DansGuardian)

Next I'll have to learn to administrate dansguardian...

Revision as of 22:56, 25 February 2008

My aim is to help making the XS Server setup less geeky

First I'll try to get a setup running that provides the minimum functionality for a deployment in Alabama.
Then I'll try to take what I've learned in the process and use it to reduce the steps to getting this deployable setup.
I focus less on how the XOs interact with the XS but on what the teachers and local admins will encounter.


Neccessities for a Deployment in Alabama

  • Support for access points - mesh is for low infra structure / low student count environment
  • Squid
  • moodle
  • DansGuardian


Status

  • If you use just one access point - like for a trial setup - and connect it straight to the eth2 port, don't forget to use a cross-over cable. And set the access point up as follows:
  1. You do NOT want to enable DHCP on that access point.
  2. Make sure that the access point is NOT running in "gateway" mode.
  3. You can assign it a fixed address in the range 172.18.1.32 - 172.18.1.254
  4. gateway 172.18.0.1
  5. netmask 255.255.254.0

These remarks were taken from an email from wad and helped getting me unstuck.


  • Squid runs out of the box! (Build150)


  • moodle installs to /var/www/moodle but is inaccessible. Sort of sits there and does nothing.


  • DansGuardian installs a little tricky.

The rpm for fc7 is downloadable from http://dries.ulyssis.org/apt/packages/dansguardian/info.html. Installing it (yum localinstall ....rpm) leads to an unsigned rpm error. A work around for now is to (in /etc/yum.conf) turn the gpgcheck=1 to gpgcheck=0 to get the rpm installed and then set it back to gpgcheck=1.
Now DansGuardian is installed, but it still won't start (--> service dansguardian start) because there is a port conflict: Lighttpd has port 8080 already occupied...
Hopefully I'll find ways around this. Maybe with a little help?? Marten Vijn helped!

/etc/lighttpd/lighttpd.conf

check these changes
/* server.document-root = "/var/www/idmgr/"
server.document-root = "/home/idmgr/"

and later
/* server.port = 8080
server.port = 8081

and voila - dansguardian starts

next enter a crontab as root to do the logrotation: crontab -e 59 23 * * sat /etc/dansguardian/logrotation (taken from: http://linsec.ca/bin/view/Main/DansGuardian)

Next I'll have to learn to administrate dansguardian...