Line 27: |
Line 27: |
| 2. If you already enabled Dungog repo, skip down to 6, if your'e unsure, go to 5. | | 2. If you already enabled Dungog repo, skip down to 6, if your'e unsure, go to 5. |
| | | |
− | 3. Add dungog repository to your yum-repositories database: | + | 3. Add dungog repository to your yum-repositories database, write/paste all code: |
− | | + | <br><code>/sbin/e-smith/db yum_repositories set dungog repository \ |
− | <code>/sbin/e-smith/db yum_repositories set dungog repository \ | + | <br>Name 'SME Server 7 - dungog' \ |
− | | + | <br>BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \ |
− | Name 'SME Server 7 - dungog' \ | + | <br>EnableGroups yes \ |
− | | |
− | BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \ | |
− | | |
− | EnableGroups yes \ | |
| <br>GPGCheck no \ | | <br>GPGCheck no \ |
− | | + | <br>Visible yes \ |
− | Visible yes \ | + | <br>status disabled</code> |
− | | |
− | status disabled | |
− | </code> | |
| | | |
| 4. Do this for the changes to take effect: | | 4. Do this for the changes to take effect: |
− | <code># /sbin/e-smith/expand-template /etc/yum.conf</code> | + | <br><code>/sbin/e-smith/expand-template /etc/yum.conf</code> |
| | | |
| 5. Check correct input with | | 5. Check correct input with |
| + | <br><code>db yum_repositories show dungog</code> |
| + | <br>It should contain the lines in step 3. If you get nothing in return, go back to 3. |
| + | |
| + | 6. Download and install scuttle and smeserver-scuttle |
| + | <br><code>yum install --enablerepo=dungog smeserver-scuttle</code> |
| + | <br>I don't install this from smedev because it may contain an older version. |
| + | <br>You will get a y/n-question, answer y if it looks fine. |
| | | |
− | <code># db yum_repositories show dungog</code>
| + | Step 7 are not necessary |
− | <br>; It should contain the lines in step 3. If you get nothing in return, go back to 3.
| |
− | <br>
| |
− | <br>; 6. Download and install scuttle and smeserver-scuttle
| |
− | <br><code># yum install --enablerepo=dungog smeserver-scuttle</code>
| |
− | <br>; I don't install this from smedev because it may contain an older version.
| |
− | <br>; You will get a y/n-question, answer y if it looks fine.
| |
− | <br>
| |
− | <br>Step 7 are not necessary
| |
| <br>---------------------------------------------------------------------- | | <br>---------------------------------------------------------------------- |
| <br>; 7. WARNING..........: | | <br>; 7. WARNING..........: |
− | <br><code># signal-event post-upgrade</code> | + | <br><code>signal-event post-upgrade</code> |
| <br>; And: | | <br>; And: |
− | <br><code># signal-event reboot</code> | + | <br><code>signal-event reboot</code> |
| <br>---------------------------------------------------------------------- | | <br>---------------------------------------------------------------------- |
− | <br>
| + | |
− | <br>; 8. create database structure
| + | 8. create database structure |
− | <br><code># /usr/bin/mysql scuttle < /opt/scuttle/tables.sql</code> | + | <br><code>/usr/bin/mysql scuttle < /opt/scuttle/tables.sql</code> |
− | <br>
| + | |
− | <br>; 9. Copy and rename the config file
| + | 9. Copy and rename the config file |
− | <br><code># cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php</code> | + | <br><code>cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php</code> |
− | <br>
| + | |
− | <br>; 10. Find scuttle mysql password (DbPassword=) with
| + | 10. Find scuttle mysql password (DbPassword=) with |
− | <br><code># config show scuttle</code> | + | <br><code>config show scuttle</code> |
− | <br>; Copy the string, it should be similar to this: | + | <br>Copy the string, it should be similar to this: |
| <br> 2zvEiYibIewQOsQ07KAtObnh5FcOhUhaq+dtSAdXBjuOBsbSoPt5Bty8PEPfjhfHmL0wejMAmUMO | | <br> 2zvEiYibIewQOsQ07KAtObnh5FcOhUhaq+dtSAdXBjuOBsbSoPt5Bty8PEPfjhfHmL0wejMAmUMO |
− | <br>
| + | |
− | <br>; 11. Open config file with text editor Pico (^-sign means ctrl-button)
| + | 11. Open config file with text editor Pico (^-sign means ctrl-button) |
− | <br><code># pico -w /opt/scuttle/config.inc.php</code> | + | <br><code>pico -w /opt/scuttle/config.inc.php</code> |
| <br>; Edit the following lines with these values (special for dbpass): | | <br>; Edit the following lines with these values (special for dbpass): |
| <br> $dbtype = 'mysql'; | | <br> $dbtype = 'mysql'; |
Line 84: |
Line 76: |
| <br> $dbpass = 'paste copied password here'; | | <br> $dbpass = 'paste copied password here'; |
| <br> $dbname = 'scuttle'; | | <br> $dbname = 'scuttle'; |
− | <br>; Exit Pico, save to file, choose config.inc.php | + | <br>Exit Pico, save to file, choose config.inc.php |
− | <br>
| + | |
− | <br>; 12. Open http://yourserver/scuttle/ and register a user.
| + | 12. Open http://yourserver/scuttle/ and register a user. |
− | <br>
| + | |
− | <br>Step 13-14 are optional, not necessary for Scuttle to function.
| + | Step 13-14 are optional, not necessary for Scuttle to function. |
| <br>-------------------------------------------------------------- | | <br>-------------------------------------------------------------- |
− | <br>; 13. [http://scuttle.org/wiki/firefox_extension Firefox plugin] | + | <br>13. [http://scuttle.org/wiki/firefox_extension Firefox plugin] |
− | <br>
| + | |
− | <br>; 14. Restrict usage with PublicAccess db, (global-pw are default):
| + | 14. Restrict usage with PublicAccess db, (global-pw are default): |
− | <br><code># config setprop scuttle PublicAccess global-pw</code> | + | <br><code>config setprop scuttle PublicAccess global-pw</code> |
− | <br>; Fore more options: [http://www.dungog.net/sme/webapp.php#scuttle Dungog HowTo] | + | <br>Fore more options: [http://www.dungog.net/sme/webapp.php#scuttle Dungog HowTo] |
− | <br> Scroll to: "to limit access to the web app." | + | <br>Scroll to: "to limit access to the web app." |
| | | |
| === Additional information === | | === Additional information === |