-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
-
Install the pecl HTTP module:
apt-get install php5-dev libcurl3 php-pear libcurl3-openssl-dev
pecl install pecl_http
echo extension=http.so >> /etc/php5/apache2/php.ini
-
Install Sunjava (ensure the non-free repository is enabled):
apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
update-java-alternatives -s java-6-sun
-
Install mysql:
sudo apt-get install mysql-server
sudo apt-get install php5-mysql
-
Install Utilities required for Nomus (Poppler Utils, Open Ofice, PHP5 (with xsl), and ImageMagick):
apt-get install poppler-utils openoffice.org xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
apache2 php5 libapache2-mod-php5 php5-cli imagemagick ant make php5-xsl
-
Enable cross-site requests and Drupal clean paths
ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load
a2enmod rewrite
[Add the following to apache2.conf] <Directory /var/www/drupal> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.)$ index.php?q=$1 [L,QSA] Header set Access-Control-Allow-Origin "" #Access-Control-Allow-Origin "*"
-
Grab the trunk from Git.
-
Load the MySQL starter database from /install-database
-
Configure drupal to point to this database just created (copy /drupal/sites/default/default.settings.php to settings.php and configure the db connection line appropriately).
-
Configure the path variables at the top of the /startServer.bsh script.
-
Setup startServer.bsh to run at startup (eg. put in a cron @reboot entry)
-
Rebuild the apache search index after logging on to Drupal (login: admin/admin; then go to Site configuration -> Apache solr)