Mainos / Advertisement:


From Taisto
Jump to navigation Jump to search
This page is a translated version of the page Drupal and the translation is 100% complete.

Other languages:
English • ‎suomi


First we need to have a LAMP server

aptitude install apache2 mysql-server

We will still install some additional packages

apt-get install php5 php5-mysql php5-gd libapache2-mod-php5

Modify the /etc/apache2/apache2.conf file by adding some text in the end

nano /etc/apache2/apache2.conf

Add this function to the end:

  AddType application/x-httpd-php .html


Now we will set up MySQL.

mysql -u root -p
CREATE USER [email protected];
SET PASSWORD FOR [email protected]= PASSWORD('typepasswordhere');
GRANT ALL PRIVILEGES ON drupal.* TO [email protected] IDENTIFIED BY 'password

At least for me drupaluser did not get proper elevation and rights, so I used phpmyadmin to set them. If you have the same problem then install phpmyadmin and set them there.


Fixing some privileges

cd /var/www
chmod a+w drupal-7.22/sites/default/

We make a copy of the settings file

cd drupal-7.22/sites/default/
cp default.settings.php settings.php

Again privileges...

chmod a+w settings.php

Make a new directory and fix privileges

mkdir files
chmod a+w files

You can now open it in your browser

And to top it all off

chmod go-w settings.php
chmod 757 files

Good links

To import Google calendar.

Mainos / Advertisement: