Difference between revisions of "StatusNet"

From Alpine Linux
Jump to: navigation, search
m (Statusnet moved to StatusNet: fix case)
Line 50: Line 50:
{{Cmd|cd /usr/share/webapps/
{{Cmd|cd /usr/share/webapps/
wget http://status.net/statusnet-0.9.5.tar.gz}}
{{Cmd|tar zxvf statusnet-0.9.5.tar.gz}}
{{Cmd|tar zxvf statusnet-1.0.1.tar.gz}}
Creating httaccess file
Creating httaccess file
{{Cmd|cp /usr/share/webapps/statusnet-0.9.5/htaccess.sample .htaccess}}
{{Cmd|cp /usr/share/webapps/statusnet-1.0.1/htaccess.sample .htaccess}}
Change Folder Persmissions
Change Folder Persmissions
{{Cmd|chmod -R 777 /usr/share/webapps/statusnet-0.9.5/}}
{{Cmd|chmod a+w /var/www/localhost/htdocs/statusnet/avatar/
chmod a+w /var/www/localhost/htdocs/statusnet/background/
chmod a+w /var/www/localhost/htdocs/statusnet/file/
Make Symlink to the StatusNet folder
Make Symlink to the StatusNet folder
{{Cmd|ln -s /usr/share/webapps/statusnet-0.9.5/ /var/www/localhost/htdocs/statusnet}}
{{Cmd|ln -s /usr/share/webapps/statusnet-1.0.1/ /var/www/localhost/htdocs/statusnet}}
== Configuring StatusNet ==
== Configuring StatusNet ==

Revision as of 10:10, 7 May 2012

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 and PHP

For installing the additional packages first activate community packages:

vi /etc/apk/repositories

Uncomment the following:


Update the packagelist:

apk update

Install the additional packages:

apk add lighttpd php7-common php7-session php7-iconv php7-json php7-gd php7-curl php7-xml php7-mysqli php7-imap php7-cgi fcgi php7-pdo php7-pdo_mysql php7-soap php7-xmlrpc php7-posix php7-mcrypt php7-gettext php7-ldap php7-ctype php7-dom php7-simplexml

Configure Lighttpd

Edit lighttpd.conf

vi /etc/lighttpd/lighttpd.conf

Uncomment line:

include "mod_fastcgi.conf"

Start lighttpd service and add to needed runlevel

rc-service lighttpd start && rc-update add lighttpd default

MySql and pcre

apk add pcre

apk add mysql mysql-client php-mysql php-mysqli

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


Installing StatusNet

Install StatusNet

Make webapps folder

mkdir /usr/share/webapps/ -p


cd /usr/share/webapps/ http://status.net/statusnet-1.0.1.tar.gz


tar zxvf statusnet-1.0.1.tar.gz

Creating httaccess file

cp /usr/share/webapps/statusnet-1.0.1/htaccess.sample .htaccess

Change Folder Persmissions

chmod a+w /var/www/localhost/htdocs/statusnet/avatar/ chmod a+w /var/www/localhost/htdocs/statusnet/background/ chmod a+w /var/www/localhost/htdocs/statusnet/file/

Make Symlink to the StatusNet folder

ln -s /usr/share/webapps/statusnet-1.0.1/ /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
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
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!