Joomla: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 22: Zeile 22:
 
=Installation über webinterface=
 
=Installation über webinterface=
 
http://localhost
 
http://localhost
 +
 
Daten entsprechend eintragen. Falls configuration.php nicht geschrieben werden kann, den Text kopieren und Datei von Hand erstellen.
 
Daten entsprechend eintragen. Falls configuration.php nicht geschrieben werden kann, den Text kopieren und Datei von Hand erstellen.
  

Version vom 3. September 2009, 11:48 Uhr

Installation

Ubuntu Pakete

apt-get install mysql-server php5-mysql php5  

Joomla Core

wget http://www.jgerman.de/download/Joomla_1.5.14-Stable-Full_Package_German.zip
unzip   /usr/src/Joomla_1.5.14-Stable-Full_Package_German.zip
cp -r * /var/www/
chown -R www-data.www-data /var/www/ 

bzw.

chwon -R apache.apache /var/www/ bei CentOS

Datenbank angelegen

Konsole mit Passwortabfrage aufrufen

mysql -p 

Datenbank erstellen

mysql> CREATE DATABASE xinux;

User mit dem Passwort suxer anlegen

mysql> CREATE USER 'xinux'@'localhost' IDENTIFIED BY 'suxer';

Privilegien zuordnen

mysql> GRANT ALL PRIVILEGES on xinux.* to 'xinux'@'localhost'

Installation über webinterface

http://localhost

Daten entsprechend eintragen. Falls configuration.php nicht geschrieben werden kann, den Text kopieren und Datei von Hand erstellen.

Anpassungen

PHP für PDF export

Bei Fehlermeldung

Fatal error: Allowed memory size of 16777216 bytes exhausted ...

Damit Seiten als PDF Dateien exportiert werden können, muss unter Umständen in /etc/php5/apache/php.ini der Wert memory_limit hochgesetzt werden.

...
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 32M      ; Maximum amount of memory a script may consume (16MB)
...