Joomla: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→PHP) |
|||
Zeile 3: | Zeile 3: | ||
apt-get install mysql-server php5-mysql php5 | apt-get install mysql-server php5-mysql php5 | ||
==Joomla Core== | ==Joomla Core== | ||
− | unzip /usr/src/Joomla_1.5.14-Stable-Full_Package_German.zip | + | 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== | ==Datenbank angelegen== | ||
Konsole mit Passwortabfrage aufrufen | Konsole mit Passwortabfrage aufrufen | ||
Zeile 13: | Zeile 19: | ||
Privilegien zuordnen | Privilegien zuordnen | ||
mysql> GRANT ALL PRIVILEGES on xinux.* to 'xinux'@'localhost' | 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= | =Anpassungen= |
Version vom 3. September 2009, 11:47 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) ...