FuguHub Your Personal File Sharing Solution



Manage Data Your Way

FuguHub for the SheevaPlug

Note: Installing FuguHub on a SheevaPlug requires Linux experience. We suggest that you contact your local Linux user group if you do not have the required Linux skills. You can attend one of their meetings and have an experienced Linux user help you with the installation.

The SheevaPlug is about the size of a typical wall power converter, yet it is a full Linux-powered computer running on a 1.2GHz ARM9 processor.

A $99 SheevaPlug can be purchased via plugcomputer.org.

A pre-installed FuguHub for the SheevaPlug is available for purchase from Spinifex Ltd, our Australian and New Zealand distributor.

Installation Instructions:

  • Purchase one of the SheevaPlug versions such as the original SheevaPlug or the new GuruPlug.
  • Connect the plug computer to your local network.
  • Navigate to the web server interface in your router and locate the page listing the DHCP clients.
  • The plug computer's IP address will show up in this list some time after the plug computer is powered on. You may have to press the browser's refresh button a few times.
  • Install a SSH client such as Putty on your computer.
  • Login to the plug computer by using the SSH client. Enter the plug computer's IP address you got from your routers DHCP listing.
  • The plug computer's default username is root and the password is nosoup4u.

Since FuguHub is a combined application and web server, uninstall any other web server on the plug prior to installing FuguHub. Alternatively, configure FuguHub as a proxy for the other web server. Note: not all plug computers come pre-installed with a web server. You may also consider uninstalling Samba since the WebDAV server in FuguHub can be used similar to a Samba server -- i.e. as a NAS.

For example, the following can be uninstalled on a Guruplug:

# apt-get remove -y --purge lighttpd # apt-get remove -y --purge mysql-server # apt-get remove -y --purge samba-common # apt-get remove -y --purge php5-cgi php5-common php5-gd php5-mysql mysql-server-5.0 \ libdbd-mysql-perl libmysqlclient15off libsqlite3-0 mysql-client mysql-client-5.0 \ mysql-common apt-get remove -y --purge dbus-x11 libx11-6 libx11-data x11-common # apt-get autoremove -y

Create a new user for the server. The name should be 'bd'.

# useradd -G daemon -m -s /bin/bash bd

Change from user root to the new user and navigate to the home directory

# su bd # cd /home/bd/

Download and unpack FuguHub. Note: make sure you do this as user 'bd'

# wget http://FuguHub.com/FuguHub.sheeva.tar.gz # tar xvzf FuguHub.sheeva.tar.gz # rm FuguHub.sheeva.tar.gz

Change to user root

# exit # whoami #should be root

Install the FuguHub startup scripts as root

# cd /home/bd/InstallDaemon # ./install.sh

FuguHub will now start automatically when you power on the plug computer. You can manually start and stop the server by using the following two commands as user root.

# /etc/init.d/bdd start # Start FuguHub # /etc/init.d/bdd stop # Stop FuguHub

Using FuguHub as a Network Attached Storage (NAS)

The internal flash memory in the plug is not sufficient when using FuguHub as a NAS. You need to add an external USB hard drive.

Format the new hard drive as a Linux file system, mount the drive, create a new directory on this drive, and change the user to bd.

# mkdir bddisk # chown bd:daemon bddisk

Delete the FuguHub 'disk' directory (the NAS directory), and make 'disk' a link to your external drive.

# rm -rf /home/bd/disk # ln -s /my-new-disk-mount-point/bddisk /home/bd/disk

Installing the FuguHub Transmission BitTorrent plugin

FuguHub supports the concept of plugins. The FuguHub Transmission BitTorrent plugin is a separate component that you can download and install manually. The plugin requires that you have installed the Transmission BitTorrent daemon separately. Unfortunately, the Transmission daemon that can be installed with ' apt-get' is too old for the FuguHub Transmission BitTorrent plugin. A newer version of the Transmission daemon can be downloaded from FuguHub.com.

Download the Transmission daemon for FuguHub:

# su bd # cd /home/bd # wget http://FuguHub.com/unix/sheeva/transmission-daemon # chmod +x transmission-daemon # exit

The transmission daemon requires a few shared libraries such as curl

# apt-get install curl

You can now try to start the transmission daemon as follows:

# /home/bd/transmission-daemon --version

The Transmission daemon should load and print the version number if all required shared libraries are found.

Download and install the FuguHub Transmission BitTorrent plugin

# su bd # cd /home/bd/applications # wget http://FuguHub.com/unix/transmission.zip # exit

Navigate to the FuguHub's "load app" page in the integrated administrator application: http: your-server-address/rtl/protected/admin/appmgr/loadapp.lsp

Click the load button to load the plugin.

See the following tutorial for how to use the FuguHub Transmission BitTorrent plugin: FuguHub Transmission BitTorrent plugin

Installing the FuguHub SSL Certificate Wizard Plugin

Install the SSL wizard if you have your own domain name and if want to remove the SSL browser warning that pops up in your browser when accessing your FuguHub server in secure mode.

The openssl command line tool is needed by the BarraucdaDrive SSL certificate plugin

# apt-get install -y openssl

Download the FuguHub SSL certificate wizard plugin:

# su bd # cd /home/bd/applications # wget http://FuguHub.com/unix/sslcert.zip # exit

Navigate to the FuguHub's "load app" page in the integrated administrator application: http: your-server-address/rtl/protected/admin/appmgr/loadapp.lsp

Click the load button to load the plugin.