|
|
| Zeile 59: |
Zeile 59: |
|
| |
|
| ```t3v6.domain.tld aufrufen``` (sollte automatisch auf https://t3v6.domain.tld umgeleitet werden) und die 1-2-3-4 Schritte durchgehen | | ```t3v6.domain.tld aufrufen``` (sollte automatisch auf https://t3v6.domain.tld umgeleitet werden) und die 1-2-3-4 Schritte durchgehen |
|
| |
| = typo3 Version 4 =
| |
|
| |
| * Archlinux [[arch_typo3]]
| |
| * Debian [[debian_squeeze_typo3]]
| |
|
| |
| == Installation ==
| |
| === Basis ===
| |
| apt-get install typo3
| |
|
| |
| === dummy ===
| |
|
| |
| # dummy kommt ins /home/dev, alternativ irgendwo anders hin
| |
| cd /home/dev/
| |
|
| |
| cp /var/lib/typo3-dummy . -r
| |
| rm typo3-dummy/typo3conf/localconf.php
| |
| cp /etc/typo3-dummy/localconf.php typo3-dummy/typo3conf/
| |
| chown devuser:www-data typo3-dummy/ -R
| |
| chmod g+rw typo3-dummy/typo3conf/localconf.php
| |
| ln -s typo3-dummy/ /var/www/typo3-dummy
| |
|
| |
| danach sollte im Browser mit der Url [http://localhost/typo3-dummy/ localhost/typo3-dummy] folgende Fehlermeldung erscheinen "No pages are found on the rootlevel!"
| |
|
| |
| == Konfiguration ==
| |
| ausgehend von der dummy Seite [http://localhost/typo3-dummy/ localhost/typo3-dummy] bzw im Beispiel Ordner /home/dev
| |
|
| |
|
| |
| bevor die ''Installationsseite:'' [http://localhost/typo3-dummy/typo3/install/index.php localhost/typo3-dummy/typo3/install] ohne Fehlermeldungen aufgerufen werden kann, muss noch folgendes gemacht werden:
| |
|
| |
| touch typo3-dummy/typo3conf/ENABLE_INSTALL_TOOL
| |
| chmod g+rw typo3-dummy/typo3temp/ -R
| |
| chmod g+rw typo3-dummy/typo3conf/ -R
| |
| chmod ug+rw typo3-dummy/uploads/ -R
| |
| chmod ug+rw typo3-dummy/fileadmin/ -R
| |
|
| |
| # Achtung außerhalb des typo3-dummy Verzeichnis, da typo3 ein Symbolischer Link ist
| |
| chmod ug+rw typo3-dummy/typo3/ext/
| |
|
| |
| nun kann mit dem default passwort joh316 sich auf der ''Installationsseite:'' [http://localhost/typo3-dummy/typo3/install/index.php localhost/typo3-dummy/typo3/install] angemeldet werden
| |
|
| |
| auch sollte jetzt die ''Basic Configuration'' Seite relativ viel grün sein
| |
|
| |
| folgende Einstellung unter ''All Configuration'' können interessant sein
| |
| * [im_noScaleUp] --- bilder werden nicht automatisch vergrößert als das original
| |
| * [enable_DLOG] -- für entwickler
| |
| * [SYS][enableDeprecationLog] -- für entwickler - falls alte funktionen benutzt werden
| |
| * [warning_email_addr] --- hier die admin mail addresse
| |
| * [fileCreateMask] ... [BE][createGroup] -- datei rechte ....
| |
| * [explicitADmode] --- default dürfen backend nutzer alles ... vllt besser anderrum
| |
|
| |
| == Backend ==
| |
| unter [http://localhost/typo3-dummy/typo3/index.php localhost/typo3-dummy/typo3] kann sich mit "admin" und "password" angemeldet werden
| |
|
| |
| == Probleme ==
| |
| === No authentication methods available. Please, contact your TYPO3 administrator. ===
| |
| Wahrscheinlich ist es eine ältere Typo3 Version oder bzw ein update zu einer neueren etc. Bei mir hatte ich über apt-get install typo3 die Version: 4.5.19+dfsg1-1 installiert. Default mäßig war als Authentifikation rsa ausgewählt, aber noch gar nicht als Erweiterun installiert.
| |
|
| |
| # ''Installationsseite:'' [http://localhost/typo3-dummy/typo3/install/index.php localhost/typo3-dummy/typo3/install] aufrufen und einloggen
| |
| ## Menupunkt ''All Configuration''
| |
| ## [loginSecurityLevel]=superchallenged setzen
| |
| ## unten speichern
| |
| # [http://localhost/typo3-dummy/typo3/index.php localhost/typo3-dummy/typo3] aufrufen und einloggen
| |
| ## Menupunkt Admin Werkzeuge >> Erweiterungen (Extension) aufrufen
| |
| ## Erweiterungen installieren
| |
| ## Erweiterung rsaauth unter Dienste installieren
| |
| # unter der ''Installationsseite:'' [http://localhost/typo3-dummy/typo3/install/index.php localhost/typo3-dummy/typo3/install] oder links im Menu Admin Werkzeuge >> Installation aufrufen und wieder unter
| |
| ## All Configuration
| |
| ## [loginSecurityLevel]=rsa setzen
| |
| ## unten speichern
| |
|
| |
|
| |
| * [loginSecurityLevel]=rsa -- konnte mich erstmal nicht ins backend einloggen (vorrübergehend gleich superchallenged gesetzt... evt später mal mit der extension rsaauth oder so schauen)
| |
| ** danach kann über den extensionmanager/erweiterungen im admin bereich die rsaauth installiert werden, danach sollte dann auch rsa gehen
| |
|
| |
|
| |
|
| |
| == Details zu Bestimmten Versionen von typo3 ==
| |
| * Version 4.7.2: Berechtigungsproblem beim anlegen von Content
| |
| => Lösung:
| |
| <source lang="bash">
| |
| ALTER TABLE `pages` ADD `t3ver_swapmode` TINYINT( 4 ) NOT NULL DEFAULT '0' AFTER `t3ver_tstamp`
| |
| </source>
| |
|
| |
| == Quellen ==
| |
| * [https://typo3.org typo3.org]
| |
| * [https://de.wikipedia.org/wiki/TYPO3 de.wikipedia.org/wiki/TYPO3]
| |
| * [http://wowa-webdesign.de/typo3-kurs/ Video Tutorial 2012]
| |
|
| |
| Vergleiche:
| |
| * [http://www.handelskraft.de/2011/12/joomla-drupal-wordpress-typo3-und-contao-im-kampf-um-die-spitze/]
| |
|
| |
|
| = Probleme = | | = Probleme = |
typo3 Version 6
conditions
apt-get install graphicsmagick
installation
- download neuste Version
- es gibt verschiedene Pakete ... wir nehmen hier mal Government Package, da gibts dann schon schön viele Beispiele
auf dem Server
Code Installation
cd /var/www/
wget http://switch.dl.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy
/TYPO3%206.1.1/introductionpackage-6.1.1.zip
unzip introductionpackage-6.1.1.zip
mv introductionpackage-6.1.1 t3V6
chown -R www-data:www-data t3V6/
chmod ugo-w t3V6/t3lib -R
chmod ugo-w t3V6/typo3 -R
cd t3V6
echo '' > typo3conf/ENABLE_INSTALL_TOOL
Apache Konfiguration
echo "
<VirtualHost *:80>
ServerName t3v6.domain.tld
ServerAlias www.t3v6.domain.tld
ServerAdmin kontakt@t3v6.domain.tld
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://t3v6.domain.tld/$1 [R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerAdmin kontakt@t3v6.domain.tld
DocumentRoot /var/www/t3V6
ServerName t3v6.domain.tld
ServerAlias www.t3v6.domain.tld
RewriteEngine on
<Directory /var/www/t3V6 >
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
SSLEngine On
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/apache2/ssl/multidomain.crt
SSLCertificateKeyFile /etc/apache2/ssl/multidomain-private.key
</VirtualHost>
" > /etc/apache2/sites-available/t3v6.domain.tld
a2ensite t3v6.domain.tld
/etc/init.d/apache2 reload
```t3v6.domain.tld aufrufen``` (sollte automatisch auf https://t3v6.domain.tld umgeleitet werden) und die 1-2-3-4 Schritte durchgehen
Probleme
admin Passwort vergessen
UPDATE be_users SET password=md5('your_new_password') WHERE username = 'admin';