Typo3 - Installation
TYPO3 Version 9
In 9 wird der Composer als bevorzugte Methode angegeben. Das hat bei mir mehr oder weniger schlecht funktioniert.
Manuell funktioniert nach wie vor.
intl Modul nachinstallieren
KLAPPT BEI MIR UNTER XAMPP IM MOMENT NICHT
https://stackoverflow.com/questions/46652968/install-intl-php-extension-osx-high-sierra https://stackoverflow.com/questions/27886117/php-intl-installation-on-xampp
Dieses Modul ist in der XAMPP 7.2 und im lokalen PHP von MacOs nicht dabei. Ein Test mit
php -m | grep intl
sollte intl zurückgeben wenn doch.
In aktuellen Homebrew Versionen wird es mit php mit installiert. Generell ist man mit Homebrew auf dem Mac gut bedient, wenn es ein bisschen komplexer mit den Konfigurationen wird. Super funktioniert hat bei mir dies:
Mac - Apache MySql PHP Server mit Homebrew
Installation und Struktur der Files
Symlinks
/typo3_src-xyz /typo3_src -> /typo3_src-xyz /typo3 -> typo3_src/typo3 index.php -> /typo3_src/index.php
Symlinks auf all-inkl
- s.u.
ImageMagick auf all-inkl Server
ImageMagick rechnet die Bilder zu dunkel
http://blog.joergboesche.de/typo3-cms-dunkle-bilder-lange-ladezeiten-mit-imagemagick-version-6-7-5-5
oder (klappt nicht immer)
Seit IM6.7 wird ein anderer Farbraum benutzt. Deshalb in TYPO3 den richtigen Farbraum einstellen:
[GFX][colorspace] = sRGB
Standardmäßig steht hier nur RGB
Performance Hinweis: Besser GraphicsMagick als ImageMagick nehmen
ImageMagick hat oftmals Katastrophale Performance deshalb besser GraphicsMagick nehmen. Sonst gilt alles wie bei IM. Beispiel Konfiguration für all-inkl:
localconf.php
[GFX][im] = 1 [GFX][im_path] = /usr/bin/ [GFX][im_path_lzw] = /usr/bin/ [GFX][im_version_5] = gm [GFX][im_no_effects] = 1 [GFX][im_v5effects] = -1
ImageMagick läuft nur im CGI Modus
Zitat Support:
Um Image Magick verwenden zu können benötigen Sie den aktivierten CGI Modus, weil darin erst exec als Befehl verfügbar ist.
Bitte hinterlegen Sie folgende Zeile in der .htaccess Datei Ihrer Typo3 Software:
AddHandler php5-cgi .php
Nun ist es noch erforderlich über das KAS (kas.all-inkl.com) über Tools die Besitzrechte rekursiv des Typo3 Ordners auf den FTP Benutzer umzustellen.
Update auf all-inkl Server
- Download über php Skript (sehr schnell)
- Auspacken über Web FTP
- Symlinks und Rechte über Web FTP
- Download Tool und Archiv-Datei löschen
Hinweis: bei Upload über das Web FTP Tool kann auch gleichzeitig ausgepackt werden.
Verzeichnisstruktur
(neue Symlinks ab ?)
t3lib fällt weg
(alte Symlinks):
typo3_src -> typo3_src-x.x.x t3lib -> typo3_src/t3lib typo3 -> typo3_src/typo3 index.php -> typo3_src/index.php
Rechte:
755 Gruppe des Webservers
fileadmin typo3conf typo3temp uploads
Fileadmin kann auf kasserver auch 777 sein, damit man besser mit ftp arbeiten kann
Rest 755 FTP User
Quick Update
Release Notes lesen
http://wiki.typo3.org/Category:ReleaseNotes aller Zwischenversionen checken
Datenbank sichern
mysqldump -u meinDBUser -pGEHEIM db_name > backup.sql
im Notfall wieder einspielen mit:
shell> mysql db_name < backup.sql
Download Source
wget http://prdownloads.sourceforge.net/typo3/typo3_src-4.0.4.tar.gz?download
(aktuelle Version auf http://typo3.org/download/packages/ nachschauen und im Zweifel Link kopieren.)
Auspacken
tar xzf typo3_src-4.0.2.tar.gz
Symlink anpassen
Es gibt einen Symlink typo3_src, der auf die Source verweist.
typo3_src -> ../NameDesTypo3SourceOrdners
Dieser muß angepasst werden.
ln -s typo3_src-4.0.2 typo3_src
Wenn überschreiben nicht möglich ist mit -f (force) Option testen oder Link löschen und neu anlegen.
Aufräumen
Wenn man den typo3_src Symlink auf eine andere Source umbiegt kann man ganz schnell ein Update ausprobieren oder eine neue source testen
- Die Archive löschen:
rm dummy-4.0.3.tar.gz rm typo3_src-4.0.2.tar.gz
Typo3 Autoinstallation
Typo3 - automatische Installation (Linux)
Wünschenswert wäre ein Script, welches eine Typo3 Grundinstallation vollautomatisch durchführt. Als ersten Schritt einige Vorüberlegungen: Die Installation sollte nach Angabe einer Datenbank die Typo3 Verzeichnisse hochladen, auspacken und das Konfigurationsfile mit den Datenbankwerten belegen. Weiterhin sollte die Datenbank bereits einen Admin-User einige Seiten und einige Grundtemplates enthalten. Typo3 enthält ja die Möglichkeit im DB Teil der installation ein eigenes .sql File zu benutzen, welches bereits die nötigen Werte enthält.
W-Manager
OBSOLETE
- Datenbank und Benutzer installieren
- Dump einspielen (am besten auf webspace legen und mit wget runterziehen, oder über Plesk>phpmyadmin einspielen)
shell> mysql db_name < backup-file.sql
- Im Webverzeichnis (oder darunter) neueste Source downloaden und auspacken
wget http://prdownloads.sourceforge.net/typo3/typo3_src-4.0.4.tar.gz?download wget http://prdownloads.sourceforge.net/typo3/dummy-4.0.4.tar.gz?download
- Im Stammverzeichnis dummy downloaden und auspacken
- dummy Inhalt in Stammverzeichnis kopieren und typo3_src symlink auf neue Source umbiegen.
- Datei-Rechte anpassen
755 Gruppe ist wwwserver - Gruppe chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads
- bei reinem ftp Zugriff Gruppe lassen und 777
- w-manager Dateien reinkopieren (upload, fileadmin, typo3conf) evtl als tar Paket vorhalten)
- localconf.php anpassen (neue Datenbank Daten eintragen)
- Installationstool: Compare und Update Manager
- Evtl. neues DB Image:
mysqldump -u benutzername -p -B --add-drop-table datenbank > typo3DBSicherung.sql
- Seitenbaum anpassen (Sitename)
- Assets anpassen (Bilder, Logo)
- CSS Anpassen (Schriften, Farben)
- Template Anpassen (Anschrift unten)
- Print Template anpassen (Copyright...)
ToDos
- Margins bei Überschriften
- Update auf aktuelle Version
- Kontaktformular
- Zielseite
- Felder gebrauchsfertig ;-)
- Extension metatags und tt_news vorkonfiguriert
- preconfiguration (als Extension für wichtige Features - siehe gbt3-tools)
GBT3-Tools
Siehe auch gbt3settings Vorkonfigurierte Bausteine für Typo3 Installation - Trennung HTML-Templates und TS Bausteine? - Gute Version in Party - Reutlingen und Lokal - modifiziertes yui - diverse Bausteine
Übersicht
- Einspielen DB
- Kopieren Typo3
- Anpassen localconf (Sitename, DB-Daten)
Wenn Typo3 schon installiert und die localconf schon angelegt:
So gehts:
- die sql Datei muß in den Ordner typo3Conf
- Im Installer (/typo3/install) in Database Analyzer wechseln und dort kann man die Daten Importieren
- Im Typo3-Backend (user: admin p: geheim) in den Extension Manager gehen und folgende Extensions installieren:
1. Die Extension aus dem Zip Ordner - in der habe ich schon mal alle Voreinstellungen gemacht die man braucht. 2. /rlmp_tmplselector/ - gibts im Online Repository 3. tt_news neueste Version
- Cache löschen und dann müßte eigentlich schon was im Frontend zu sehen sein.
Kurzversion
Uploaden
- Typo3 - Dummy auf den Server laden (Inhalt landet im Webverzeichnis)
- Typo3 - Source auf den Server laden (besser ein Level unterhalb webspace)
- evt. Symlinks anpassen
- Datei ENABLE_INSTALL_TOOL im typo3_conf Verzeichnis erstellen. Früher: (Aus dem Installscript /typo3/install/index.php die die() Funktion auskommentieren (veraltet))
- Install Skript im Browser aufrufen (Standard Passwort ist joh316)
- Passwort ändern !! und neu einloggen (evt. Schreibrecht für /typo3/typo3conf/localconf.php setzten)
Basic Configuration
- Schreibrechte für die rot markierten Ordner ändern und den den fileadmin Ordner ebenfalls schreibbar machen.
- Datenbank Zugangsdaten eingeben. Host ist in der Regel 'localhost'
- Update localconf.php klicken dann click to continue
- Jetzt die Datenbank im neuen Dropdownfeld. Auswählen
- Encryption key: Generate Knopf klicken
Database Analyser
- Benötigte Tabellen anlegen: Compare klicken - dann write to database
- Dump static data IMPORT
- (Notwendig?) Tabellen füllen mit statischen Templates typo3conf/database.sql (1.1 M) ebenfalls Compare und write to database
- admin User erstellen damit man sich im Backend einloggen kann.
Hinweis: wenn man eine gute leere Installation hat kann man diese Daten komplett in ein sql-Standardfile exportieren und bei einer frischen Typo3 Installation komplett einspielen.
All Configuration
- [gdlib_2] auf 1 stellen Wenn GDlib Version 2 Verwendet wird
- [TTFdpi] muß auf 96 stehen wenn die Schrift im Bild bei 'Basic Configuration' nicht vollständig angezeigt wird.
- [noEdit] auf 0 stellen dann kann man vom Backend-Bereich Text-Dateien (z.B. CSS-Files) verändern.
- [warning_email_addr] setzten dann bekommt man eine Email wenn sich jemand viermal falsch einloggt
Wichtige ToDos im Typo Backend
siehe auch Typo3 - Grundeinstellungen
- Passwort für Install Tool ändern
- Ab Typo4.x DB References Updaten
- Error Handler löschen und Deprecation Log abschalten (Install Tool)
Install Tool: productionExceptionHandler,debugExceptionHandler,errorHandler löschen und enableDeprecationLog löschen
- Deutsche Sprachpakete im Extension Manage laden (für 3.8 die CSH Files)
- Standard Templates TS-Templates evt. HTML Template und CSS (für TV und Automaketemplate die Extensions nicht vergessen)
- Benutzer Konfiguration bzw. Page Konfiguration (UserTS und PageTS)
- Standard Extensions installieren
- simulatestaticdocs oder realurl
Typo3 auf Unix installieren
Der ganz ausführliche Weg über die Shell:
Typo3 - Installation zu Fuß (Linux Shell)
Über Shell mit den Tar Paketen:
- Evt. Shell-Zugang erlauben (z.B. mit bash Terminal. Später wieder abschalten!)
- Remote Zugang z.B. mit Putty herstellen (Session > [IP], SSH /
- Tar Pakete holen:
wget http://prdownloads.sourceforge.net/typo3/typo3_src-4.0.4.tar.gz?download wget http://prdownloads.sourceforge.net/typo3/dummy-4.0.4.tar.gz?download
aktuelle Version auf http://typo3.org/download/packages/ nachschauen
- jetzt beide Pakete auspacken
tar xzf dummy-4.0.2.tar.gz tar xzf typo3_src-4.0.2.tar.gz
- Es entstehen die Verzeichnisse
typo3_src-4.0.2 dummy-4.0.2
der Inhalt des Dummy Paket liegt später direkt auf der Hauptebene. Deshalb verschieben wir den Inhalt des Dummy Paket eine Ebene nach unten in das Wurzelverzeichnis (die aktuelle Ebene).
mv dummy-4.0.2/* ./
Hinweis: Eine weitere Möglichkeit wäre die Dateien im Ordner zu belassen, ihn sinnvoll umzubenennen (z.B. cms/) und die Domain z.B. als virtual Host auf den Unterordner gehen zu lassen.
- Es gibt einen Symlink auf der Hauptebene (vorher im Dummy-Verzeichnis)
typo3_src -> ../NameDesTypo3SourceOrdners Damit der Symlink stimmt müssen wir Ihn ändern (d.h. löschen oder überschreiben)
ln -s typo3_src-4.0.2 typo3_src
Wenn man den typo3_src Symlink auf eine andere Source umbiegt kann man ganz schnell ein Update ausprobieren oder eine neue source testen
- Die Archive und den leeren Dummy Ordner kann man jetzt löschen:
rm -r dummy-4.0.2 rm dummy-4.0.3.tar.gz rm typo3_src-4.0.2.tar.gz
- Im Browser müßte jetzt schon was kommen (/typo3 oder /index.php)
- Ist auf dem Plesk in der Domain auch php aktiviert ?
- Wenn eine Fehlermeldung kommt bzgl. open_basedir dann eventuell Plesk dazu bringen die vhost.conf-Datei einzubinden [[1]]
- Mit dem vi Editor können wir die Die Funktion im Installer auskommentieren:
vi typo3_src-4.0.2/install/index.php
- Mit i kommt man in den Einfügemodus Esc verläßt ihn :wq! speichert und schließt den Editor.
Hinweis: ab Version 4.1 reicht es eine Datei mit dem Namen ENABLE_INSTALL_TOOL im Verzeichnis typo3conf anzulegen um das Install Tool freizuschalten.
- Jetzt kann man den Typo3 Installer starten
- Um die Rechte im Terminal anzupassen kann man den Befehl chmod benutzen
Rechte einstellen:(as root): There are at least two options. Diese Schritte setzen die Rechte für 4 Ordner:
- fileadmin/
- typo3conf/
- typo3temp/
- uploads/
a (am Besten)
Diese Kommandos als root ausführen:
chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads
wobei <wwwserver> der Name der Gruppe des Webservers ist
Hinweis: bei 1und1 (mit Plesk) ist die Gruppe i.d.R. www und der Benutzer wwwrun
b (nicht sicher aber einfach)
Nicht auf geteilten Servern nutzen:
Simply run this command:
$ chmod -R a+w fileadmin typo3conf typo3temp uploads
Beschreibung der Installation aus der Datei 'install.txt' der Typo3 4.0.2 Distribution
**************************
* UNIX ARCHIVES OF TYPO3 *
**************************
INTRODUCTION
============
As you have downloaded this package you seem to know already about TYPO3.
If you don't, visit http://typo3.org/ where you can find many useful
information.
This short guide lists the important steps to install this package.
By default TYPO3 installs into the folder:
http://[your.site.name]/<this_site_name>/
Read the additional instructions to install TYPO3 in the root folder:
http://[your.site.name]/
IMPORTANT NOTE
==============
Please be aware of the fact that the file transfer protocol (FTP) does not
support Symlinks. You cannot unpack these archives locally and copy them
to your server using FTP, even if the target server actually is a Unix
server.
So if you don't have shell access, try to use a terminal emulator instead.
(PHPshell to give you an example - Google knows all of them!)
If this doesn't work you'll have to stick back to the ZIP version :-(
NEWBIE INFORMATION ABOUT THE TYPO3 FILESYSTEM STRUCTURE
=======================================================
A Unix TYPO3 installation consists of two parts:
1) The "source" package
2) The "dummy" package
The dummy package contains the skeleton directory structure for a TYPO3
installation and a symlink ('typo3_src') to the location of the source
package which contains all the PHP files, images, JavaScript files, etc.
that TYPO3 needs to run.
In other words: You can have several TYPO3 installations with just one
source package. A typical directory structure looks like this:
/var/www/typo3_src-3.8.1/ # the untared 3.8.0 source package
/var/www/typo3_src-4.0/ # the untared 4.0 source package
/var/www/installation1/ # the untared dummy package of a TYPO3
# installation running on TYPO3 3.8.1
/typo3_src --> ../typo3_src-3.8.1/ # a symlink to the 3.8.1 source
/typo3conf/
/typo3temp/
/fileadmin/
/.../
/var/www/installation2/ # the untared dummy package of a TYPO3
# installation running on TYPO3 4.0
/typo3_src --> ../typo3_src-4.0/ # a symlink to the 4.0 source
/typo3conf/
/typo3temp/
/fileadmin/
/.../
As you see, the two TYPO3-installations (possibly with different domains)
can use the same TYPO3 source package. You can even change the source
package simply be changing the symlink inside the installation directory.
STEP BY STEP
============
1 Get the TYPO3 source package and the TYPO3 dummy package.
2 Copy the archives to the web root of your server.
(Debian default is /var/www/, SuSE default is /srv/www/)
3 Unpack the archives:
$ tar xzf typo3_src-<version>.tar.gz
$ tar xfz dummy-<version>.tar.gz
4 Rename the dummy-<version> directory to fit your needs and make sure it
is accessible by your webserver (for example by creating a virtual
host). We assume you rename the directory to cms:
$ mv dummy-<version> cms
5 Set permissions (as root): There are at least two options.
These steps will make four directories writable for the webserver:
- cms/fileadmin/
- cms/typo3conf/
- cms/typo3temp/
- cms/uploads/
5.a (recommended)
Run these commands as root in the cms/ directory:
# chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads
# chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads
... where <wwwserver> is the name of the group your webserver
is running as
5.b (insecure but easy to apply)
I repeat: This is insecure!
Do not use this method if you are working on a shared server!
Simply run this command:
$ chmod -R a+w fileadmin typo3conf typo3temp uploads
6 Check the symlink cms/typo3_src and make sure it points to the source
directory.
(See above: "Newbie information about the TYPO3 filesystem structure")
7 In your browser, visit
http://[your.site.name]/cms/
8 Follow the instructions in the 1-2-3 install tool
9 From this point, you can access the backend through
http://[your.site.name]/cms/typo3/
with the username "admin" and password "password".
That's it :-)
INSTALLING TYPO3 IN THE WEBROOT FOLDER
======================================
1 Follow the steps 1-6 above.
2 Move the files in the cms/ folder up one level.
$ cd cms
$ mv * ../
$ cd ../
3 Update the symlink
$ rm typo3_src
$ ln -s ./typo3_src-<version> typo3_src
4 Now TYPO3 runs in http://[your.site.name]/
That's it :-)
WHAT SHOULD YOU DO IF YOU HAVE A PROBLEM?
=========================================
TYPO3 is a powerful and complex professional application. When you start
out there will be many things you don´t understand, or that don't seem to
make sense. There is a widely used mailing list (more information on
typo3.com & typo3.org) where many experienced users and developers
lurk... they are always willing to help, provided you followed these steps
BEFORE you ask your question:
1 - Read all available documentation carefully
2 - Read the webserver error logfiles
(for example /var/log/apache/error.log)
3 - Read all available documentation again
4 - Search the mailing list archive carefully
5 - If you still can't figure it out - ask the list...:
- Newsgroup: news://news.netfielders.de/
- Mailing lists: http://lists.netfielders.de/
When posting to one of the lists, see the following guidelines...
- Be polite
Always include the version of used TYPO3 and server environment
(phpinfo())... note that this is available within the TYPO3
Install Tool
- Be as specific and clear as possible - questions like "my TYPO3
installation does not work - what can I do???" will be ignored.
Although English may not be your first language, if those reading
your posting can't understand it, you won't get the help you need
- If you are really having a tough time getting something working,
stay cool and don't criticise or flame. Problems are normally
caused by lack of research into the documentation, or
misunderstanding, not because of bugs. Be logical about your
troubleshooting, and you'll get there
6 - If you have identified a genuine new bug, report it at
http://bugs.typo3.org/ ...do not post to the list about it
Please be aware that if you ask questions that are answered in the
available documentation, you may not get a reply, or any help from the
developers or any experienced users!
We are aware that there is still some work to be done on the
documentation, and the platform for user support... please forgive us for
not having all these gaps filled. If you feel that some information is
missing, hard to find or just plain wrong, or you have a suggestion on
improving TYPO3 or the "support services", please let us know so that we
can do what is necessary. You could also volunteer to help with the work!
(c) Nigel Jackson, Ingmar Schlecht
Unix related additions made by Michael Stucki and some Wiki users:
http://wiki.typo3.org/index.php/Tgz-INSTALL.txt
-- Michael Stucki <michael@typo3.org> Sun, 26 Mar 2006 22:10:53 +0100
Probleme mit Plesk
siehe auch hier:
- The script whose uid is 10001 is not allowed to access /httpdocs/html/typo3temp/cs owned by uid 30 in /httpdocs/html/t3lib/class.t3lib_div.php on line 2420
Das deutet in der Regel darauf hin, dass was mit den User-Rechten der Files nicht passt. Bei Plesk sollten die Typo3 Sourcen, sowie "httpdocs" dem FTP-User aus der Gruppe "psaserv" gehören.
- Installer geht nicht, localconf not found
Die Webverzeichnisse auf die Apache zugreift sollten dagegen der Gruppe www gehören (web user ist übrigens meistens wwwrun)
ImageMagick installieren
Mit Yast installieren
http://wiki.zone30.info/wikizone/index.php/ImageMagick_installieren
ImageMagick auf Vserver global installieren
19 01 2007
Wenn man ImageMagick auf seinem Vserver global installieren möchte, um für alle Typo3 installationen ImageMagick nutzen zu können, kann man wie folgt vorgehen.
Auch hier eignet sich die Version 4.2.9., zu finden unter typo3.org, recht gut. http://typo3.sunsite.dk/software/linux/
Danach kopiert man am einfachsten mit winscp die Dateien auf den Server in das Verzeichnis:
/usr/bin. Hier ist nur der Ordner “bin” für diese Anwendung interessant. Im Ordner “bin” findet man folgende Dateien:
convert, combine, identify, convert.bin, combine.bin, identify.bin, wrapper.sh. Die Dateien ohne die Endung “.bin” sind nur Verknüpfungen, und erstmal nicht wichtig. Gebraucht werden nur convert.bin, combine.bin, identify.bin!
Die Entpackten Dateien liegen nur im usr/bin Verzeichnis. Typo3 fragt bei der Installation automatisch dieses Verzeichnis ab, und sucht nach der passenden Programmversion.
Das wars
Ergänzung (Steff) bei Einsatz von Plesk kann es sein das diese Vorgehensweise nicht funktioniert. Dort kann man aber die statisch kompilierte Version in das CGI-Verzeichnis der virtuellen Hosts legen. Etwa unter /srv/www/vhosts/meineDomain.de/cgi-bin
Auf den 1und1 Webhosting-Paketen läuft die Geschichte im Prinzip ziemlich einfach ab. Falls keine root -Rechte vorhanden, entpackt man IM erstmal lokal in ein Verzeichnis. Man erhält folgende Ordner Struktur.
Hier ist nur der Ordner “bin” für diese Anwendung interessant. Im Ordner “bin” findet man folgende Dateien:
convert, combine, identify, convert.bin, combine.bin, identify.bin, wrapper.sh. Die Dateien ohne die Endung “.bin” sind nur Verknüpfungen, und erstmal nicht wichtig. Gebraucht werden nur convert.bin, combine.bin, identify.bin!
Diese 3 Dateien kopiert man jetzt mit einem ftp Programm auf den Webspace in den Ordner cgi-bin, und vergibt diesem Ordner vorerst mal alle Rechte (chmod 777)
Im Ordner cgi-bin findet man nun die Dateien convert.bin, combine.bin, identify.bin Wichtig ist jetzt, das die Endung .bin entfernt wird.
Diesen 3 Dateien auch erstmal auf chmod 777
Ergänzung Steff: später die Gruppe und Besitzer auf php-user stellen und Rechte auf 755
Jetzt wechselt man ins Typo3 Install-tool auf den Punkt “All Configuration”
Jetzt muss nur noch IM aktiviert werden, und der absolute Pfad zu den Dateien angeben werden. Speichern nicht vergessen.
Zur Kontrolle wechselt man jetzt noch mal zum Punkt “Basic Configuration”.
Dort müsste jetzt IM aktiviert und erkannt werden.
Das war’s. Installation unter einem VPS folgt
Quelle (mit Bildern): http://www.webdesign-limburg.com/blog/?p=21 und http://www.webdesign-limburg.com/blog/?p=21
auf Virtuellem Server (Suse)
Ist es schon da?
convert -version
sollte dann die Version ausgeben Anleitung unter: http://www.imagemagick.org/script/install-source.php#unix Klassisch:
Image Magick über SSH Zugang auf VMWare
Quelle: http://www.4many.net/imagemagick_setup.html
ImageMagick Installation on Virtual Host Account with SSH Access
Situation: Customer got virtual host with ssh access
TYPO3 was installed
no ImageMagick
after installing static linked package imagemagick-4.2.9_i386-static-1.tar.gz
TYPO3 complained that no valid version could be found
Problem: It turned out that due to the virtual setup and the setup of the Apache the environment got lost and the ImageMagick.so.9 couldn't be found during the exec()
Challenge:
1. convince the provider to change the setup
Nice try!
2. convince the provider to install ImageMagick globally
No support for third party products
3. fix it in TYPO3 to pass environment
possible solution, just no time to do so
Solution: Fixed it on script level
1. move required executable to *.bin, i.e.
mv convert convert.bin
mv combine combine.bin
mv identify identify.bin
2. create script
pico convert
3. content of the script file
#!/usr/local/bin/bash
export PATH; PATH="/home/usr203227042/ImageMagick-4.2.9/bin:$PATH"
export MAGICK_HOME="/home/usr203227042/ImageMagick-4.2.9"
export LD_LIBRARY_PATH="/home/usr203227042/ImageMagick-4.2.9/lib"
/home/usr203227042/ImageMagick-4.2.9/bin/convert.bin $*
4. make script executable
chmod 755 convert
5. repeat steps 2.-4. for combine and identify and don't forget to change convert.bin to the appropriate value
Trennung von Produktions und Live-Server (Bearbeitung der Seiten und Darstellung)
Für den Website-Betrieb sind die Verzeichnisse TSLib und T3Lib notwendig um eine Website auszuliefern.
Für die Bearbeitung von Seiten sind die Dateien im Typo3 Verzeichnis zuständig. Ohne Typo3 Verzeichnis gibt es kein Backend aber die Seiten funktionieren trotzdem. Ein gutes Mittel um die Seiten vor Angreifern zu schützen.
siehe auch Typo3 - Update
Zentrale Typo3-Installation vs mehrere Typo3
Verschiedene Gründe: 1. Es gibt aus Sicherheitsgründen keinen Remote Zugang für unseren Server. Das macht es etwas umständlicher.
2. Von Version 3.7-3.8 gab es bei manchen Extensions Probleme mit Updates, bzw. es gab Extensions die das Typo auch mal aus dem Tritt brachten. Wenn wir alle Präsenzen auf einem Typo laufen lassen würden wären bei einem Fehler alle Homepages betroffen und Nebenwirkungen unter Umständen nicht so einfach zu sehen. Mit der getrennten Installation kann man auch bei sehr experimentellen Extensions relativ sicher updaten. Auch wenn wir verschiedene Datenbanken benutzen würden. Erst ab Version 4 gibt es außerdem die Möglichkeit Seiten vernünftig zu testen bevor Sie bei Änderungen Online gehen. Das war bisher nur mit einer ziemlich umständlichen Extension möglich.
Manche würden das vielleicht als Übervorsichtig auslegen. Im Endeffekt hat es nur den Nachteil der längeren Uploadzeiten. Speicherplatz spielt im Grunde kaum eine Rolle. Der Server wird auch nicht wesentlich mehr belastet. Weil die Skripte egal ob in einer oder in mehreren Typos ja immer für jede Anfrage abgearbeitet werden.
3. Wir haben den Kunden eine komplette Installation verkauft mit der Sie machen können was Sie wollen. Dafür bekommen Sie natürlich auch eine eigene Installation.
Für die Miettypos werden wir allerdings eine einzelne Installation benutzen. Für eine Agentur bietet sich ebenfalls eine eigene Installation an auf der die betreuten Präsenzen laufen.
4. Manche Typos laufen auf anderen Servern ;-) Z.T. mit Anpassungen im Quellcode vom Typo.
Weitere Pro und Kontra Argumente
- Zeitersparnis beim Update in zentraler Installation
- Ein Backend=>Admin Account unübersichtlich
automatische Installation
Überlegungen zum automatischen Installieren:
Ausgehend von einer fertigen Grundinstallation mit Benutzern und Rechten plus einigen Dummy-Seiten müßten sich per Knopfdruck Installationen anfertigen lassen.
Einzelschritte:
- Notwendige Dateien (Typo3 System, Filadmin Ordner)
- Datenbank (inkl. Benutzer und Dummy Inhalten)
- Config-Datei (automatisiert ?)
Vorstufen
1. Halbautomatisch
- komplettes DB Dump über phpMyAdmin o. mysqldump einspielen
- typo 3 Installieren
- fileadmin Ordner aufspielen
2. Automatisch:
- alle benötigten Dateien auf Server zum automatischen Download bereitstellen
- Batchdatei zum automatischen Ablauf
3. Anpassungen:
- neuer Header
- Maße, Farben und Schrift im CSS
- Copyright anpassen
- Printversion anpassen
- Email Adresse in Kontaktformular
Typo3 - Update
3.8 auf 4.0
Ordner typo3, t3lib ersetzen misc aufspielen index.php ersetzen (root)
Update Wizard im Install Tool ausführen
Im Database Analyzer Compare und danach die erforderlichen Updates der Datenbanktabellen ausführen.
Nicht benötigte Extensions entfernen und entsprechend Templates anpassen
Alte Sprachpakete löschen und mit dem Translation Handling im Extension Manager die benötigten Sprachen aktualisieren.
Kompatibilitätsmodus 3.8 für Version 4
Nach Update von 3.8.x auf 4.0 läuft das Typo zunächst im Kompatibilitätsmodus.
Folgendes sollte verändert werden damit die Ausgabe auch nach umschalten wieder geht. The following updates will be performed:
changeCompatibilityVersion TYPO3 output is currently compatible to version 3.8. To use all the new features in the current TYPO3 version, make sure you follow the guidelines below to upgrade without problems.
Follow the steps below carefully and confirm every step! You will see this list again after you performed the update. CMS Frontend
*
Word separator character for simulateStaticDocument is changed from underscore (_) to hyphen (-) to make URLs more friendly for search enginesURLs that are already existing (e.g. external links to your site) will still work like before.
You can set the separator character back to an underscore by putting the following line into the Setup section of your Page TypoScript template:
config.simulateStaticDocuments_replacementChar = _ *
CSS Stylesheets and JavaScript are put into an external file by default.
Technically, that means that the default value of "config.inlineStyle2TempFile" is now set to "1" and that of "config.removeDefaultJS" to "external"
Acknowledged
CSS Styled Content: Accessibility improvements
The rendering of the following elements will change:
* tt_content.menu (used f.e. for sitemaps): Instead of div-tags, lists are used now.
* tt_content.mailform: Mailforms do not use tables anymore, instead, they use the div-tag. Besides that, mailforms are accessible now.
* The p-tag has been removed from all table cells.
* CSS based "image" and "text with image"
As the extension cron_cssstyledimgtext has been merged into the core, rendering of the content elements "image" and "text with image" has been changed to be CSS instead of table based. Read the 4.0 release notes for further information.
You will have to update your stylesheets to comply with these changes.
Acknowledged
Check all (ignore selection above)
WARNING: this might break the output of your website. Show database queries performed