Kubla:Deployment: Difference between revisions

m
Line 36: Line 36:
* Create an sql database and give a user full permissions to it
* Create an sql database and give a user full permissions to it
* cp ''sites/default/settings.php-dist'' to ''sites/default/settings.php'', and give apache temporary write permissions
* cp ''sites/default/settings.php-dist'' to ''sites/default/settings.php'', and give apache temporary write permissions
* Load ''http://kubla.mozilla.com/'', choose the Mozilla Setup, and follow the directions. (mozilla.com uses mysqli)
* Load ''https://kubla.mozilla.com/'', choose the Mozilla Setup, and follow the directions. (mozilla.com uses mysqli)


* Add LDAP auth to apache.  Your vhost should look similar to:
* Add LDAP auth to apache.  Your vhost should look similar to:
Line 64: Line 64:
*** Fill in appropriate values.  Add a 'listenPort' value if you need to change the default port (8778)
*** Fill in appropriate values.  Add a 'listenPort' value if you need to change the default port (8778)
** run ''python scripts/kubald.py --verbose'' and make sure the daemon stays running (check the log file if it exits).  Please think through permissions at this stage and make sure this is running as the appropriate user!
** run ''python scripts/kubald.py --verbose'' and make sure the daemon stays running (check the log file if it exits).  Please think through permissions at this stage and make sure this is running as the appropriate user!
** Add ''http://hostname:port/heartbeat'' to nagios.  This will return a 200 normally, if the daemon detects something amiss, it will return a 500.
** Add ''https://hostname:port/heartbeat'' to nagios.  This will return a 200 normally, if the daemon detects something amiss, it will return a 500.
** Anytime you start kublad, make sure the trunk and prod paths are completely up to date.  kublad can keep them up to date, but it doesn't go back over time and update old files.
** Anytime you start kublad, make sure the trunk and prod paths are completely up to date.  kublad can keep them up to date, but it doesn't go back over time and update old files.


Confirmed users, Bureaucrats and Sysops emeriti
1,737

edits