Changes

From SME Server
Jump to navigationJump to search
9 bytes added ,  19:31, 8 December 2013
m
Line 222: Line 222:     
If you have just run the above database connection commands in the same putty session, you can correct your moodle settings using:
 
If you have just run the above database connection commands in the same putty session, you can correct your moodle settings using:
  <nowiki>sed -i  s/dbname.*/dbname\ \ \ \ \=\ \'$DBNAME\'\;/  /home/e-smith/files/ibays/moodle/html/config.php
+
  <nowiki>IBAY=moodle
sed -i  s/dbuser.*/dbuser\ \ \ \ \=\ \'$DBUSER\'\;/  /home/e-smith/files/ibays/moodle/html/config.php
+
sed -i  s/dbname.*/dbname\ \ \ \ \=\ \'$DBNAME\'\;/  /home/e-smith/files/ibays/$IBAY/html/config.php
sed -i  s/dbpass.*/dbpass\ \ \ \ \=\ \'$DBPASS\'\;/  /home/e-smith/files/ibays/moodle/html/config.php</nowiki>
+
sed -i  s/dbuser.*/dbuser\ \ \ \ \=\ \'$DBUSER\'\;/  /home/e-smith/files/ibays/$IBAY/html/config.php
 +
sed -i  s/dbpass.*/dbpass\ \ \ \ \=\ \'$DBPASS\'\;/  /home/e-smith/files/ibays/$IBAY/html/config.php</nowiki>
    
==Notes on check_earlytalker==
 
==Notes on check_earlytalker==

Navigation menu