Difference between revisions of "Scuttle"

From SME Server
Jump to navigationJump to search
m
m (smecontribs)
Line 5: Line 5:
  
 
=== Description ===
 
=== Description ===
 +
http://scuttle.org
 +
 
Scuttle is a web-based social bookmarks manager that enables you to:  
 
Scuttle is a web-based social bookmarks manager that enables you to:  
 
*Store all your favourite links in one place, accessible from anywhere.  
 
*Store all your favourite links in one place, accessible from anywhere.  
Line 10: Line 12:
 
*Tag your bookmarks with as many labels, instead of wrestling with folders.  
 
*Tag your bookmarks with as many labels, instead of wrestling with folders.  
  
Orginates from [http://www.dungog.net/sme/webapp.php#scuttle Dungog HowTo] and some input from the forums.
 
  
 
=== Installation ===
 
=== Installation ===
This contrib can be found in the [http://www.dungog.net Dungog] repository.  
+
This contrib can be found in the [http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/index.html smecontribs] repository.  
  
1. Log in (with username root) to the SMEserver console.
+
Download and install scuttle and smeserver-scuttle
 +
yum install --enablerepo=smecontribs smeserver-scuttle
  
2. If you have already enabled Dungog repo, skip down.
+
No need to reboot.
  
3. {{Repository|Dungog}}
+
Create database structure
 
 
4. Check correct input with
 
db yum_repositories show dungog
 
It should contain the lines in step 3. If you get nothing in return, go back to 3.
 
 
 
5. Download and install scuttle and smeserver-scuttle
 
yum install --enablerepo=dungog smeserver-scuttle
 
I don't install this from smedev because it may contain an older version.
 
You will get a y/n-question, answer y if it looks fine.
 
 
 
Note: signal-event post-upgrade & signal-event reboot is not necessary for Scuttle install
 
 
 
6. Create database structure
 
 
  /usr/bin/mysql scuttle < /opt/scuttle/tables.sql
 
  /usr/bin/mysql scuttle < /opt/scuttle/tables.sql
  
7. Copy and rename the config file
+
Copy and rename the config file
 
  cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php
 
  cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php
  
8. Find scuttle mysql password (DbPassword=) with  
+
Find scuttle mysql password (DbPassword=) with  
 
  config show scuttle
 
  config show scuttle
 
Copy the string, it should be similar to this: 2zvEiYibIewQOsQ07KAtObnh5FcOhUhaq+dtSAdXBjuOBsbSoPt5Bty8PEPfjhfHmL0wejMAmUMO
 
Copy the string, it should be similar to this: 2zvEiYibIewQOsQ07KAtObnh5FcOhUhaq+dtSAdXBjuOBsbSoPt5Bty8PEPfjhfHmL0wejMAmUMO
  
9. Open config file with text editor Pico (^-sign means ctrl-button)
+
and add the password to the config file
  pico -w /opt/scuttle/config.inc.php
+
  nano -w /opt/scuttle/config.inc.php
Edit the following lines with these values (special for dbpass):
 
$dbtype = 'mysql';
 
$dbhost = 'localhost';
 
$dbport = '3306';
 
$dbuser = 'scuttle';
 
 
  $dbpass = 'paste copied password here';
 
  $dbpass = 'paste copied password here';
$dbname = 'scuttle';
 
Exit Pico, save to file, choose config.inc.php
 
  
10. Open http://yourserver/scuttle/ and register a user.
+
Open http://yourserver/scuttle/ and register a user.
  
Step 13-14 are optional, not necessary for Scuttle to function.
+
=== Options ===
  
11. [http://scuttle.org/wiki/firefox_extension Firefox plugin]  
+
* [http://scuttle.org/wiki/firefox_extension Firefox plugin]  
  
12. Restrict usage with PublicAccess db, (global-pw are default):
+
* Restrict usage with PublicAccess db, (global-pw are default):
 
  config setprop scuttle PublicAccess global-pw
 
  config setprop scuttle PublicAccess global-pw
Fore more options: [http://www.dungog.net/sme/webapp.php#scuttle Dungog HowTo]   
 
Scroll to: "to limit access to the web app."
 
 
==== Check installed version ====
 
yum info installed *scuttle*
 
That will show both packages.
 
  
 
==== Uninstall ====
 
==== Uninstall ====
  yum remove scuttle
+
  rpm -e scuttle smeserver-scuttle
This will also remove smeserver-scuttle.
 
 
 
=== Additional information ===
 
 
 
[http://scuttle.org/ Scuttle website] and [http://www.scuttle.org/wiki/ Wiki] (wiki page loads slowly).
 
 
 
[http://forums.contribs.org/index.php?topic=35530.0 Announcement: SME Server 7.x Contribs]
 
 
 
If you connect to the SMEserver console by Putty ssh-client (or similar) you can copy and paste the commands (very convenient).
 
 
 
Please note that this was written in april 2007, if the software change then this howto may be outdated.
 
 
 
Please do edit if you find errors or have improvements, but make sure that it works!
 
 
 
Good luck [http://wiki.contribs.org/User:Per /Per]
 
  
 
=== Bugs ===
 
=== Bugs ===
Line 101: Line 62:
  
 
   
 
   
 
=== Tested software versions ===
 
Host: SMEserver v7.2
 
 
Installed: smeserver-scuttle.noarch 0:0.9-2
 
 
Dependency Installed: scuttle.noarch 0:0.7.2-1
 
 
----
 
 
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Dungog]]
 
[[Category: Dungog]]

Revision as of 14:00, 17 January 2008

Scuttle

Maintainer

http://www.dungog.net

Description

http://scuttle.org

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.


Installation

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/config.inc.php.example /opt/scuttle/config.inc.php

Find scuttle mysql password (DbPassword=) with

config show scuttle

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

and add the password to the config file

nano -w /opt/scuttle/config.inc.php
$dbpass = 'paste copied password here';

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

Options

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

Uninstall

rpm -e scuttle smeserver-scuttle

Bugs

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

Patches

http://sourceforge.net/tracker/?group_id=134378&atid=729862

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

nano -w /opt/scuttle/header.inc.php

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