$OpenBSD: README,v 1.10 2014/09/14 05:58:07 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
This document will briefly describe the steps needed before one can
complete the Status.net installation. After taking these steps you
should be able to browse to http://<hostname>/statusnet/install.php
and complete the installation.
Please refer to http://gitorious.org/statusnet/mainline/blobs/master/README
for a complete overview of how to setup Status.net with advanced features.
== Apache ==
You should point the Status.net installation directory to the
DocumentRoot of your web-server:
# ln -s ../statusnet /var/www/htdocs/statusnet
(make sure you use a relative symlink since Apache is chrooted)
== MariaDB ==
Please add the php-mysql package to enable MariaDB support in PHP.
Now connect to MariaDB and create a user and database for Status.net:
mysqladmin -u "adminuser" --password="adminpassword" create statusnet
mysqll -u "adminuser" --password="adminpassword" statusnet
MariaDB [(statusnet)]> GRANT ALL on statusnet.*
-> TO 'statusnet'@'localhost'
-> IDENTIFIED BY 'statusnetpassword';
== PostgreSQL ==
As of Status.net 1.1.0, the Status.net installation procedure fails if
PostgreSQL is used. The following information is for reference only.
Please add the php-pgsql package to enable PostgreSQL support in PHP.
Assuming you have an administrative account named `postgres',
you can create the 'statusnet' user and database like this:
createuser -U postgres --pwprompt --no-superuser \
--createdb --no-createrole statusnet
Now you can create the database for Status.net with:
psql -U statusnet
psql> create database statusnet
psql> \q