From SME Server
Revision as of 14:34, 11 May 2010 by Timn (talk | contribs) (categorisation)


PythonIcon.png Skill level: medium
The instructions on this page require a basic knowledge of linux.



Scuttle is a web-based social bookmarks manager that enables you to:

  • Store all your favourite links in one place, accessible from anywhere.
  • Share your bookmarks with everyone, with friends or just keep them private.
  • Tag your bookmarks with as many labels, instead of wrestling with folders.


This contrib can be found in the smecontribs repository.

Download and install scuttle and smeserver-scuttle

yum install --enablerepo=smecontribs smeserver-scuttle

No need to reboot.

Create database structure

/usr/bin/mysql scuttle < /opt/scuttle/tables.sql

Copy and rename the config file

cp /opt/scuttle/ /opt/scuttle/

Find scuttle mysql password (DbPassword=) with

config show scuttle

Copy the string, it should be similar to this: 2zvEiYibIewQOsQ07KAtObnh5FcOhUhaq+dtSAdXBjuOBsbSoPt5Bty8PEPfjhfHmL0wejMAmUMO

and add the password and edit these line in the config file

nano -w /opt/scuttle/

$dbtype = 'mysql';             <----------
$dbhost = 'localhost';         <----------
$dbport = '3306';
$dbuser = 'scuttle';           <----------
$dbpass = 'your-new-password'; <----------
$dbname = 'scuttle';

Open http://yourserver/scuttle/ and register a user.


To remove the package from your server issue the following command on the SME Server shell:

rpm -e scuttle smeserver-scuttle

To remove mysql database and user, both are scuttle, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.


  • Restrict usage with PublicAccess db, (global-pw are default):
config setprop scuttle PublicAccess global-pw


Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-scuttle component or use this link .


a simple one is to allow https usage (https fix)

nano -w /opt/scuttle/

-    $root = 'http://'. $_SERVER['HTTP_HOST'] . $root;
+    $protocol = ($_SERVER["HTTPS"] == 'on') ? 'https://' : 'http://';
+    $root = $protocol . $_SERVER['HTTP_HOST'] . $root;