Recent Changes - Search:

General

Docs

Community

PmWiki

edit SideBar

Installation

1. Cleanup previous version of anemon server

If you were running a previous copy of anemon server, remove these directories :

 /usr/lib/python2.X/site-packages/anemon-server/
 /usr/lib/python2.X/site-packages/anemon-common/
 /usr/lib/python2.X/site-packages/anemon-webcenter/

And remove all tables in mysql database. Anemon dhcp server will now install himself in /usr/lib/python2.5/anemonserver/

2. Dependencies

  • Install pydhcplib 0.6.X (for dhcp server 0.4)
 http://pydhcplib.tuxfamily.org/
  • Install python-mysqldb (apt-get install python-mysqldb on debian)

3. Run "setup.py" script

  • exec "./setup.py install" script.
  • You can use the --prefix to change root installation directory.

4. Debian : Copy init.d files :

  • /server/script/rc.debian to /etc/init.d/anemon-server.sh

5. Mysql :

  • Create anemon database and anemon database user.
  • Create tables with "mysql anemondb -u anemonuser < scripts/mysql_schema.sql"

6. Configuration file

  • Modify /etc/anemon/server.conf (specialy the giaddr var and mysql settings)

7. Subnets and Scopes configuration

  • Configure your dhcp server, see doc/config_mysql_howto.txt

8. Running anemon dhcp server

  • Run anemon-dhcp-server (as root if port <1024 ) with "/etc/init.d/anemon-server.sh start" (on debian) or simply "/usr/sbin/anemon-d"

9. Any errors ?

  • Watch "/var/log/anemon/server.log" if you have an unknown problem while running anemon server.
Edit - History - Print - Recent Changes - Search
Page last modified on February 17, 2009, at 04:07 PM EST