$OpenBSD: README,v 1.5 2016/06/27 19:36:50 sthen Exp $

+-----------------------------------------------------------------------
| Running nedi-1.0.8p10 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.6.conf \
	    /var/www/conf/modules/php.conf
	ln -fs /etc/php-5.6.sample/mysql.ini \
	    /etc/php-5.6/mysql.ini
	ln -fs /etc/php-5.6.sample/snmp.ini \
	    /etc/php-5.6/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.6.ini
	'short_open_tag = Off' -> 'short_open_tag = On'

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