Changes

From SME Server
Jump to navigationJump to search
46 bytes removed ,  18:24, 12 April 2007
Line 20: Line 20:  
=== Installation ===
 
=== Installation ===
 
This contrib can be found in the [http://www.dungog.net Dungog] repository.  
 
This contrib can be found in the [http://www.dungog.net Dungog] repository.  
Code
+
 
<br>USAGE
+
1. Log in (with username root) to the SMEserver console.
<br>; My comments
+
 
<br># "Command to be written or pasted into the console"
+
2. If you already enabled Dungog repo, skip down to 6, if your'e unsure, go to 5.
<br>
+
 
<br>COMMANDS
+
3. Add dungog repository to your yum-repositories database:
<br><br>; 1. Log in (with username root) to the SMEserver console.
+
 
<br>
+
<code>/sbin/e-smith/db yum_repositories set dungog repository \
<br>; 2. If you already enabled Dungog repo, skip down to 6, if your'e unsure, go to 5.
+
 
<br>
+
Name 'SME Server 7 - dungog' \
<br>; 3. Add dungog repository to your yum-repositories database:
+
 
<br>
+
BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
<br># /sbin/e-smith/db yum_repositories set dungog repository \
+
 
<br>Name 'SME Server 7 - dungog' \
+
EnableGroups yes \
<br>BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
  −
<br>EnableGroups yes \
   
<br>GPGCheck no \
 
<br>GPGCheck no \
<br>Visible yes \
+
 
<br>status disabled
+
Visible yes \
<br>
+
 
<br>; 4. Do this for the changes to take effect:
+
status disabled
<br># /sbin/e-smith/expand-template /etc/yum.conf
+
</code>
<br>
+
 
<br>; 5. Check correct input with
+
4. Do this for the changes to take effect:
<br># db yum_repositories show dungog
+
<code># /sbin/e-smith/expand-template /etc/yum.conf</code>
 +
 
 +
5. Check correct input with
 +
 
 +
<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.
 
<br>; It should contain the lines in step 3. If you get nothing in return, go back to 3.
 
<br>
 
<br>
 
<br>; 6. Download and install scuttle and smeserver-scuttle
 
<br>; 6. Download and install scuttle and smeserver-scuttle
<br># yum install --enablerepo=dungog 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>; 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>; You will get a y/n-question, answer y if it looks fine.
Line 55: Line 57:  
<br>----------------------------------------------------------------------
 
<br>----------------------------------------------------------------------
 
<br>; 7. WARNING..........:
 
<br>; 7. WARNING..........:
<br># signal-event post-upgrade
+
<br><code># signal-event post-upgrade</code>
 
<br>; And:
 
<br>; And:
<br># signal-event reboot
+
<br><code># signal-event reboot</code>
 
<br>----------------------------------------------------------------------
 
<br>----------------------------------------------------------------------
 
<br>
 
<br>
 
<br>; 8. create database structure
 
<br>; 8. create database structure
<br># /usr/bin/mysql scuttle < /opt/scuttle/tables.sql
+
<br><code># /usr/bin/mysql scuttle < /opt/scuttle/tables.sql</code>
 
<br>
 
<br>
 
<br>; 9. Copy and rename the config file
 
<br>; 9. Copy and rename the config file
<br># cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php
+
<br><code># cp /opt/scuttle/config.inc.php.example /opt/scuttle/config.inc.php</code>
 
<br>
 
<br>
 
<br>; 10. Find scuttle mysql password (DbPassword=) with  
 
<br>; 10. Find scuttle mysql password (DbPassword=) with  
<br># config show scuttle
+
<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>
 
<br>; 11. Open config file with text editor Pico (^-sign means ctrl-button)
 
<br>; 11. Open config file with text editor Pico (^-sign means ctrl-button)
<br># pico -w /opt/scuttle/config.inc.php
+
<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 89: Line 91:  
<br>
 
<br>
 
<br>; 14. Restrict usage with PublicAccess db, (global-pw are default):
 
<br>; 14. Restrict usage with PublicAccess db, (global-pw are default):
<br># config setprop scuttle PublicAccess global-pw
+
<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."
206

edits

Navigation menu