Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
Paulbooker (talk | contribs) |
No edit summary |
||
| Line 4: | Line 4: | ||
(Debian/Ubuntu package names in brackets) | (Debian/Ubuntu package names in brackets) | ||
====Compulsory==== | |||
* PHP 5.2 (php5) | * PHP 5.2 (php5) | ||
* Apache 2.x (apache2) | * Apache 2.x (apache2) | ||
* MySQL 5 (mysql-server) | * MySQL 5 (mysql-server) | ||
* ... any more? XXX | * ... any more? XXX php5-mysql? php5-gd? | ||
====Optional==== | |||
You only need memcache if you are running performance testing or debugging memcache problems. | |||
* memcached (memcached) | |||
* php5-memcache 2.2.5 (php5-memcache) - not 3.x, which Ubuntu 9.10 ships | |||
XXX Where do people get the older version of php5-memcache? | XXX Where do people get the older version of php5-memcache? | ||
| Line 21: | Line 25: | ||
=== PHP 5.2 === | === PHP 5.2 === | ||
Edit /etc/php5/apache2/php.ini and make the following changes: | |||
* memory_limit = 128M | |||
* max_execution_time = 300 | |||
* upload_max_filesize = 8M | |||
* libgd2 for image manipulation - (XXXphp5-gd module + dependencies?) | * libgd2 for image manipulation - (XXXphp5-gd module + dependencies?) | ||
* pecl module "uploadprogress" for enhanced ajax uploads (XXXwhere to find and how to install?) | * pecl module "uploadprogress" for enhanced ajax uploads (XXXwhere to find and how to install?) | ||
* sendmail support (XXXphp-mail module? Sendmail itself? Is this needed for everyone?) | * sendmail support (XXXphp-mail module? Sendmail itself? Is this needed for everyone?) | ||
currently i use postfix, easy to setup with sudo aptitude install postfix [booker] | |||
=== Apache 2 === | === Apache 2 === | ||
| Line 50: | Line 59: | ||
svn co http://svn.mozilla.org/projects/crm/trunk /var/www/drumbeat.org | svn co http://svn.mozilla.org/projects/crm/trunk /var/www/drumbeat.org | ||
or | |||
svn co https://svn.mozilla.org/projects/crm/trunk /var/www/drumbeat.org | |||
Or, if you have Mozilla SVN write access: | Or, if you have Mozilla SVN write access: | ||
svn co svn+ssh://svn.mozilla.org/projects/crm/trunk /var/www/drumbeat.org | svn co svn+ssh://svn.mozilla.org/projects/crm/trunk /var/www/drumbeat.org | ||
XXX Is this the right directory to check out into? Or do we say to put it elsewhere and use a symlink? perhaps instead of /var/www/drumbeat.org we could have [local directory] [booker] | XXX Is this the right directory to check out into? Or do we say to put it elsewhere and use a symlink? perhaps instead of /var/www/drumbeat.org we could have [local directory] [booker] Yes, but which would be better? - Gerv | ||
== Additional Configuration == | == Additional Configuration == | ||
| Line 68: | Line 78: | ||
Add the following line to /etc/crontab (XXX or is there a better way in modern OSes?) | Add the following line to /etc/crontab (XXX or is there a better way in modern OSes?) | ||
10 * * * * wget -q -O /dev/null http://{drumbeat_site_url}/cron.php | 10 * * * * wget -q -O /dev/null http://{drumbeat_site_url}/cron.php | ||
=== boost module === | === boost module === | ||
| Line 80: | Line 88: | ||
=== Drupal file upload folder === | === Drupal file upload folder === | ||
Set permissions on the $DRUPAL_ROOT/sites/default/files directory (replace $DRUPAL_ROOT and $USER with appropriate values): | |||
cd $DRUPAL_ROOT/sites/default/ | |||
sudo chown -R $USER:www-data files | |||
sudo chmod -R g+w files | |||
=== Web UI settings === | === Web UI settings === | ||
| Line 105: | Line 117: | ||
''To be added'' | ''To be added'' | ||
I'll be happy to assist anyone who wishes to help out with Drumbeat [booker] | |||
== Optional Pieces == | == Optional Pieces == | ||
| Line 113: | Line 125: | ||
* /usr/bin/memcached -m 2048 -p 11210 -u {apache user} -l 127.0.0.1 | * /usr/bin/memcached -m 2048 -p 11210 -u {apache user} -l 127.0.0.1 | ||
* Check settings in {Drupal root}/sites/default/settings.php match (port) | * Check settings in {Drupal root}/sites/default/settings.php match (port) | ||
* Make sure local services can access port 11210 on localhost XXX how? telnet test? | |||
=== Apache Solr === | === Apache Solr === | ||