Statusnet, sort of like twitter.

Statusnet is now known as  GNU social.



The install seems to be about the same (wget  https://github.com/foocorp/gnu-social/archive/master.zip)


To install Statusnet, you need to go download the latest version. Once completing that, you can transfer the file to the server. (of course, you can download the file direct to the server.) We do everything from the command line to the server when we can.

$ scp statusnet-1.1.1.tar.gz  oeorgan1:~/.
statusnet-1.1.1.tar.gz                        100% 8869KB   4.3MB/s   00:02

$

Now to go to the server to do the install.

eddie@oelt02:~$ ssh oeorgan1
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-41-generic i686)
* Documentation:  https://help.ubuntu.com/
New release ‘14.04.1 LTS’ available.
Run ‘do-release-upgrade’ to upgrade to it.
Last login: Sat Aug 16 10:34:43 2014 from oelt02.local

$
Is it there?

$ ls statusnet-1.1.1.tar.gz
statusnet-1.1.1.tar.gz

$
Make a directory to work in .

$ makedir statusnet

$ cd statusnet

Expand the archive

/statusnet$  tar zxvf ~/statusnet-1.1.1.tar.gz


statusnet-1.1.1/theme/neo/images/lightbox_bg.png
statusnet-1.1.1/theme/neo/images/lock.png
statusnet-1.1.1/theme/neo/images/lock_open.png
statusnet-1.1.1/theme/neo/images/magnifier.png
statusnet-1.1.1/theme/neo/images/resultset_next.png
statusnet-1.1.1/theme/neo/images/rosette.png
statusnet-1.1.1/theme/neo/images/tick.png
statusnet-1.1.1/theme/neo/logo.png
statusnet-1.1.1/theme/neo/mobilelogo.png
statusnet-1.1.1/theme/neo/theme.ini
/
statusnet$

/statusnet$ cd statusnet-1.1.1/

/statusnet/statusnet-1.1.1$ ls
actions               doc-src          install.php            plugins
apple-touch-icon.png  EVENTS.txt       js                     PLUGINS.txt
avatar                extlib           lib                    README
background            favicon.ico      lighttpd.conf.example  scripts
classes               file             local                  tests
CONFIGURE             htaccess.sample  locale                 theme
COPYING               index.php        mail-src               UPGRADE
db                    INSTALL          Makefile

Get the instructions to follow

/statusnet/statusnet-1.1.1$ Vim README

Move the extracted directory to the web directory area.

$ sudo mv statusnet-1.1.1/ /var/www/sn
$ sudo apt-get install php5-curl
$ sudo service apache2 restart

Set ownership

chgrp www-data /var/www/sn/

or

$ sudo chown -R www-data:www-data sn

Set file permissions

$ sudo chmod a+w /var/www/sn/
$ sudo  chmod a+w /var/www/statusnet/avatar
$ sudo  chmod a+w /var/www/statusnet/background
$ sudo  chmod a+w /var/www/statusnet/file

or

$ sudo chmod -R 755 sn

Via command line set up mysql

Create a database to hold your microblog data. Something like this
should work:

mysqladmin -u “username” –password=”password” create statusnet

Note that StatusNet must have its own database; you can’t share the
database with another program. You can name it whatever you want,
though.

(If you don’t have shell access to your server, you may need to use
a tool like PHPAdmin to create a database. Check your hosting
service’s documentation for how to create a new MySQL database.)

Create a new database account that StatusNet will use to access the
database. If you have shell access, this will probably work from the
MySQL shell:

GRANT ALL on statusnet.*
TO ‘statusnetuser’@’localhost’
IDENTIFIED BY ‘statusnetpassword';or use phpmyadmin
or use phpmyadmin (requires superuser power)


Be sure to reload privileges before exiting.

Go to the web site and then install setup


Follow instructions:


Log in as an admin and setup the site. Would not hurt to set up a pointer on the menu to the site from your main page.

Have fun!

Comments

Popular posts from this blog

Guiless?

Web.com and Network Solutions, the Walmart of the internet.

MSOffice vs Libreoffice