StatusNet: Difference between revisions

From Alpine Linux
(Created page with '== What is StatusNet? == StatusNet is the open source microblogging platform that helps you share and connect in real-time within your own domain. With StatusNet you can encour...')
 
No edit summary
Line 7: Line 7:
== Set up StatusNet on Alpine Linux ==
== Set up StatusNet on Alpine Linux ==


This document will be a quick c/p guide to setup MediaWiki on Alpine linux. What we will setup is the following:
This document will be a quick c/p guide to setup StatusNet on Alpine linux. What we will setup is the following:


* Lighttpd with PHP
* Lighttpd with PHP

Revision as of 13:39, 6 August 2010

What is StatusNet?

StatusNet is the open source microblogging platform that helps you share and connect in real-time within your own domain.

With StatusNet you can encourage collaboration, build and engage your community, and be in command of your brand.

Set up StatusNet on Alpine Linux

This document will be a quick c/p guide to setup StatusNet on Alpine linux. What we will setup is the following:

  • Lighttpd with PHP
  • PCRE
  • Mysql
  • StatusNet


Install lighttpd, PHP and MySql

apk add pcre -f -U -X http://build.alpinelinux.org:8009/backports/1.10/ --allow-untrusted

apk add lighttpd mysql mysql-client php-mysql php-mysqli php php-xml php-json php-gettext php-gd curl php-curl

Configuring Lighttpd

Edit lighttpd.conf

nano +46 /etc/lighttpd/lighttpd.conf

Uncomment lines:

uncoment    include "mod_fastcgi.conf", save and exit


Starting http service and adding to boot

 /etc/init.d/lighttpd start && rc-update add lighttpd default

Configuring MySql

/usr/bin/mysql_install_db --user=mysql
/etc/init.d/mysql start && rc-update add mysql default
/usr/bin/mysqladmin -u root password 'password'

Create the StatusNet database

mysql -u root -p
CREATE DATABASE statusnet;
GRANT ALL PRIVILEGES ON statusnet.* TO "root";
FLUSH PRIVILEGES;
EXIT

Installing StatusNet

Install StatusNet

Download

cd /tmp
wget http://status.net/statusnet-0.9.3.tar.gz

Unpack

tar zxvf statusnet-0.9.3.tar.gz 

Change Folder Name

mv statusnet-0.9.3/ /etc/statusnet

Creating httaccess file
 cp /etc/statusnet/htaccess.sample .htaccess

Change Folder Persmissions

 chmod -R 777 /etc/statusnet/

Make Symlink to the StatusNet folder

  ln -s /etc/statusnet/ /var/www/localhost/htdocs/statusnet

Configuring StatusNet

Browse to: http://WEBSERVER_IP_ADDRESS/statusnet/install.php and Install StatusNet completing the information as appropriate from the web browser.

StatusNet Installation steps:

Install StatusNet

  • Site settings
Site name
The name of your site

Fancy URLsenable
 disable
Fancy URL support detection failed, disabling this option. Make sure you renamed htaccess.sample to .htaccess.

  • Database settings
Hostname: localhost
Database hostname

TypeMySQL
Database type
Name: statusnet
Database name
DB username: root
Database username
DB password: password
Database password (optional)

  • Administrator settings
Administrator nickname
Nickname for the initial StatusNet user (administrator)

Administrator password
Password for the initial StatusNet user (administrator)

Confirm passwordAdministrator e-mail
Optional email address for the initial StatusNet user (administrator)
Subscribe to announcements
Release and security feed from update@status.net (recommended)

After click on Submit button, you will see:

Install StatusNet

Starting installation...
Checking database...
Changing to database...
Running database script...
Adding SMS carrier data to database...
Adding notice source data to database...
Adding foreign service data to database...
Writing config file...
Could not set up subscription to update@status.net.
An initial user with the administrator role has been created.
StatusNet has been installed at http://10.69.64.11/statusnet
DONE! You can visit your new StatusNet site (login as 'danieloc'). If this is your first StatusNet install, you may want to poke around our Getting Started guide.


You have StatusNet microblogin working, to access go to http://WEBSERVER_IP_ADDRESS/statusnet and enjoy!