Drupal

Download the Drupal code and install it to /var/www/drupal

All the prerequisite are the same as for OpenPublish.  Please see these before you start, this includes creating a database.

Just a note, once you have the system up and running, you will probably remove the login box, the URL to allow you to logon and administer the site is

The admin page is http://x.x.x.x/drupal/?q=user

Navigate to /var/www/drupal/sites/default

mkdir files

chmod o+rw files

cp default.settings.php settings.php

chmod o+rw default.settings.php

chmod o+rw  settings.php

http://x.x.x.x/drupal/setup

This will start the installation.

Once done you will have an empty web site.  One useful tool to have is a Wysywig creator for you content, I am lead to believe that

Wysiwyg with TinyMCE is a good bet

Download from the respective sites.

Copy or move the

cp -R wysiwyg /var/www/drupal/modules/wysiwyg

Copy or move the tinymce directory into the all/libraries

cp -R tinymce /var/www/drupal/sites/all/libraries/tinymce/

Go into the Drual configuration and enable the wysiwy module

Administer –> Site building –> Modules

Go to the bottom and enable the module.

To check if everything is OK

Administer –> Site Configuration

You should see the Wysiwig menu at the bottom, try logging out of the web site if this does not show.

Choose the Wysiwyg menu as you need to now enable the editors in the site, this area also allows you to download other editors.  The choice is entirely yours.

You should be up and running, I now just have to figure out how to use the bloody thing 🙂

Advertisements

Drupal – OpenPublish

OpenPublish is build on Drupal and is my first foray into the world of Drupal.

I have not started with the core Drupal product as I need to quickly evaluate a CMS for an intranet project.  This appears ideal for the this so here goes.

OpenPublish requires GD installed and configured

apt-get install php5-gd

Restart Apache

/etc/init.d/apache2 restart

You also need a MySql database configured before you can start the install, Install PHPMyAdmin and follow the instruction on getting it to work.

When it is on your system open the web site http://x.x.x.x//phpMyAdmin

logon on with your normal credetials and then choose database

Create new database

The download of OpenPublish at the time of writing was here.

Download and unzip and un-tar

copy the result into the /var/www forlder.

cp -r openpublish /var/www/openpublish

Some of the directories need write privileges for setup these are as follows:

cd /var/www/openpublish/sites/default

chmod -R o+rw files

chmod o+rw default.settings.php

chmod o+rw settings.php

Some of these will need reseting back to a more securesetting when finished

Open a web browser and navigate to http://x.x.x.x/openpublish/install.php

Keep pressing next, it will check various things, as long as you follow the steps above you should not get any errors

Once installed you need to remove the write permissions to the settings files

chmod o-rw default.settings.php

chmod o-rw settings.php