$OpenBSD: README,v 1.3 2012/08/06 08:47:00 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running nedi-1.0.8p5 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.4.conf \
	    /var/www/conf/modules/php.conf
	ln -fs /etc/php-5.4.sample/mysql.ini \
	    /etc/php-5.4/mysql.ini
	ln -fs /etc/php-5.4.sample/snmp.ini \
	    /etc/php-5.4/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.4.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/
