Typo3
Contents
Installation
v4.2.14
For some reason I wanted to install this exact (yet old) version of Typo3. This is how it went:
wget "http://sourceforge.net/projects/typo3/files/TYPO3 Source and Dummy/TYPO3 4.2.14/typo3_src-4.2.14.tar.gz" wget "http://sourceforge.net/projects/typo3/files/TYPO3 Source and Dummy/TYPO3 4.2.14/dummy-4.2.14.tar.gz" wget "http://sourceforge.net/projects/typo3/files/TYPO3 Source and Dummy/TYPO3 4.2.14/md5sums.txt"
The checksums should match too:
$ md5sum -c md5sums.txt 2>&1 | grep OK dummy-4.2.14.tar.gz: OK typo3_src-4.2.14.tar.gz: OK
Unpack & prepare:
cd /opt tar -xzf ~/typo3_src-4.2.14.tar.gz tar -xzf ~/dummy-4.2.14.tar.gz mv dummy-4.2.14 typo3_example && cd typo3_example chown -R www-data:www-data typo3temp/ typo3conf/ uploads/ fileadmin/
Before we continue, we had to apply a two patches:
- typo3-src-4.2.14_php_sapi_name-FPM.diff - See #15241 ("Recognize php-fpm sapi for path generation"), because we were using php-fpm.
- typo3-src-4.2.14_t3lib_userauth.diff - See #30055 ("t3lib_userAuthGroup::checkLogFailures() gives PHP notice"), to get rid of these nasty messages.
- There's also #3800 ("Empty reference index table"), but for this test-installation here we shall ignore this.
With all that in place, we could start the 1-2-3 installer:
http://www.example.org/typo3_example/typo3/install/index.php?mode=123&step=1&password=joh316
The password is initially set to "joh316". Somehow the database could no be created with this installer, so we helped a little:
$ cat typo3conf/localconf.php [...] $typo_db_username = "admin"; $typo_db_password = "s3cr3t"; $typo_db_host = "localhost";
Note: this was only done for a test installation! For a production site one would of course use a current version of Typo3 and follow their security guide to finish this installation!
Usage
With that in place (and lots of fiddling through the GUI), we could finally log on to the backend:
http://www.example.org/typo3_example/typo3/backend.php
After a page has been created in the backend, it should be visible in the frontend:
http://www.example.org/typo3_example/
Links
- TYPO3 Installation Basics (outdated, from 2004)