«

»

How to install gnusocial ? ssh mode

Gnusocial is a twitter like software that you can install on your own server. The advantage of gnusocial over twitter is that it is federated. All gnusocial instance can communicate to each other. Like email or xmpp (jabber) you will have an Ostatus id like user@server.

First step is you don’t know what is gnusocial is to play with it. You have public

Installation :
Before going to the installation, let’s check the requirement
– php 5.4 at least
– ssh access is

Go to the directory where you will install gnusocial I will name the directory gnusocial
run this command
git clone git://gitorious.org/social/mainline.git .

Don’t forget the . (dot) at the end.

When it is done go to your new gnusocial
You should have a page like

No configuration file found.

I looked for configuration files in the following places:
/etc/statusnet/statusnet.php
/etc/statusnet/laconica.php
/etc/laconica/laconica.php
/etc/statusnet/localhost.php
/etc/laconica/localhost.php
/etc/statusnet/localhost_~cb/2/gnusocial.php
/etc/laconica/localhost_~cb/2/gnusocial.php
/home/../…/gnusocial/config.php

You may wish to run the installer to fix this.
Go to the installer.

click on Go to the installer.
You should have some permission to change just follow what is it mentioned
4 directories should have write access
chmod a+w gnusocial
chmod a+w gnusocial/avatar/
chmod a+w gnusocial/file/
chmod a+w gnusocial/background/

when it is done refresh the page (install.php)
A form will appear.
Just feel the form

  • Site name : what ever you want
  • Database Hostname : usualy it is localhost but not always
  • Database name (you have to create a database for that first or you should know the name of it
  • Database user
  • Database password
  • Administrator nickname that will be the admin account
  • Admin password
  • Type of site : Private : all will be hidden, single user (if you want only for you), community (ideal for a group, a class, a family etc..) , public (if you want a free registration for every body, that option need a strong server and administration care)

Choose community even if you will use it only for you. It is very easy to restrict registration. If you want to share you gnusocial with a friend, it will not be possible otherwise.

done

 

Starting deamons.sh
How to connect your GnuSocial with Twitter