Installing GNU social on FooPlug

Once Debian has finished installing log in to the plug over the console either as root or as the user you created and then become root using the su command:

su

(If you prefer to set up sudo or use su -c, do so.)

  • Disable the swap partition — swap will degrade the SD card quickly.
    • Edit /etc/fstab and comment out the swap line then type ‘mount’ to apply changes.
  • Ensure all the GNU social requirements are installed:
apt-get install apache2 mysql-server mysql-client \
git php5-mysql php5-gd php5-curl

Don’t forget to set a root password for MySQL when asked to during the install (write this down somewhere safe).

  • Next, let’s configure the web server:

    • Enable mod_rewrite:
a2enmod rewrite
/etc/init.d/apache2 restart
  • Edit /etc/apache2/sites-available/default and install minimal configuration.

ServerAdmin webmaster@localhost
DocumentRoot /var/www

Options Indexes FollowSymLinks MultiViews
AllowOverride All

  • Restart Apache
apache2ctl graceful
  • After you type “reset”, don’t forget to press a key to interupt booting again.

  • The disk partition layout confirmation screen defaults to “No”, so use the arrow keys to choose “Yes” before pressing return to go to the next screen.

Now that GNU social is ready to be installed, let’s point it at our database, and make the first user account.

Subscribe to our mailing list

Sign up today for occasional fun emails from Foo Communications about music, books, Libre.fm, GNU social and more...

Recent Entries

Announcing procoof
Ever wanted to do several things at the same time? Ever wanted to bill your employer for software you don’t…
Latest Foo Projects news...
### GNU social In 2010, we saw a huge amount of attention on the world of decentralized social networking. This…
Welcome to Foo Projects
Foo Projects is a new initiative for 2011, to do a better job of separating our core business from our…