This is an old revision of the document!
Table of Contents
Drupal 7.0
Installazione
Creazione database
CREATE USER "drupal_test" PASSWORD 'SuperSecret'; CREATE DATABASE "drupal_test" OWNER drupal_test;
Installazione Drupal
cd /var/www tar zxvf /usr/local/download/druapl_7.0/drupal-7.0.tar.gz mv drupal-7.0 drupal.rigacci.org chown -R root.drupal drupal.rigacci.org chmod -R g+w drupal.rigacci.org cd drupal.rigacci.org chmod a+w sites/default cp sites/default/default.settings.php sites/default/settings.php chmod 666 sites/default/settings.php
La directory sites/default/files
(scrivibile da Apache) verrà creata dalla procedura di setup.
Configurazione
Puntare il browser su http://drupal.rigacci.org/.
Durante l'installazione viene chiesta la lingua. Come suggerito è possibile in quel momento scaricare la traduzione preferita da localize.drupal.org, copiare il relativo file in profiles/standard/translations/
e ricaricare l'elenco delle traduzioni disponibili prima di procedere.
Select an installation profile Standard Site information Site name: rigacci.org :: Geographic Information Systems :: Web Site e-mail address: info@rigacci.org Site maintenance account Username: Admin E-mail address: info@rigacci.org Password: SuperSecret Server settings Default country: Italy Default time zone: Europe/Rome
chmod 664 sites/default/settings.php chmod 775 sites/default
Aggiunto il cronjob /etc/cron.d/drupal
:
09 * * * * root /usr/bin/wget -O - -q -t 1 http://drupal.rigacci.org/cron.php
Attivazione moduli e configurazione per il multilingual
Home » Administration » Modules
- Core
- Content translation
- Locale
- PHP filter
Home » Administration » Configuration » Regional and language
- French
- Italia
- Portuguese, Portugal (edit: Path prefix: “pt” invece di pt-pt)
Home » Administration » Configuration » Languages » Detection and selection
- Determine the language from the URL
- Part of the URL that determines language: Path prefix
- Follow the user's language preference
- Determine the language from the browser's language settings
Home » Administration » Structure » Content types
Impostare la traducibilità di Basic page e Article cliccando su edit:
- Publishing options
- Multilingual support
- Enabled, with translation