StatusNet installation

Download 1.0.1.

Needs PHP 5.2.3+, MySQL, various extensions.

apt-get install php5-cli mysql-server php5-curl php5-mysql php5-gd php5-gmp

Would be nice to shift to Debianised versions of the external libraries.

MySQL password with a c.

Use spawn-fcgi.

PHP_FCGI_CHILDREN=1 PHP_FCGI_MAX_REQUESTS=1000 spawn-fcgi -p 11000 -n – /usr/bin/php5-cgi

Need to set: fastcgi_param SCRIPT_FILENAME (document_root)fastcgi_script_name

Run install.php from the commandline.

Does a redirect loop.

Going to /status/index.php?p=main/login is reasonably right. Rewrite must be breaking.

Need PATH_INFO else it hits a redirect loop.

Can login!

Pull the database off the existing site.

Getting a DB Error: no such table error probably due to a new feature between versions.

Run scripts/upgrade.php? Yip!

Pull in the avatars etc.

Set the theme using config.php: $config[‘site’][’theme’] = ‘yourthemename’;

Michael Hope
Software Engineer