$OpenBSD: README,v 1.2 2012/02/18 00:50:10 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running nedi-1.0.7p0 on OpenBSD
+-----------------------------------------------------------------------

Basic installation
==================

Initialize MySQL and PHP Apache modules (if not already done):
	/usr/local/bin/mysql_install_db
	/etc/rc.d/mysqld start
	/usr/local/bin/mysqladmin -u root password 'changeme'

	ln -fs /var/www/conf/modules.sample/php-5.3.conf \
	    /var/www/conf/modules/php.conf
	ln -fs /etc/php-5.3.sample/mysql.ini \
	    /etc/php-5.3/mysql.ini
	ln -fs /etc/php-5.3.sample/snmp.ini \
	    /etc/php-5.3/snmp.ini

Initialize the NeDi MySQL database with the 'root' database user:
	/var/www/nedi/nedi.pl -i

Create a symbolic link in the Apache DocumentRoot:
	ln -fs ../nedi/html /var/www/htdocs/nedi

Enable short tags in PHP:
	vi /etc/php-5.3.ini
	'short_open_tag = Off' -> 'short_open_tag = On'

Startup Apache in non-chroot mode:
	vi /etc/rc.conf.local
	'httpd_flags="-u"'
	/etc/rc.d/httpd restart

Login to NeDi with user 'admin' and password 'admin':
	http://localhost/nedi/
