Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created October 2, 2014 09:42
Show Gist options
  • Save ABooooo/1d7eca8d3ca1dd734b17 to your computer and use it in GitHub Desktop.
Save ABooooo/1d7eca8d3ca1dd734b17 to your computer and use it in GitHub Desktop.
Terminal install Typo3
Open the terminal
Move downloaded typo3_src-6.2.4.zip to host's root
mv ~/Downloads/typo3_src-6.2.4.zip /Application/MAMP/htdocs/typo3/
Go to destination folder:
cd /Application/MAMP/htdocs/typo3/
Still in this location unzip downloaded package (you can remove zip file after that)
unzip typo3_src-6.2.4.zip
Still in this location create a symlink to that extracted directory with name typo3_src :
ln -s typo3_src-6.2.4 typo3_src
Still in this location create a symlink to index.php pointing file in created symlink:
ln -s typo3_src/index.php index.php
Still in this location create a symlink to typo3 folder pointing folder in created symlink:
ln -s typo3_src/typo3 typo3
Still in this location copy file _.htaccess from source folder to host's root:
cp typo3_src/_.htaccess ./
Still in this location copy file composer.json from source folder to host's root:
cp typo3_src/composer.json ./
Still in this location create file FIRST_INSTALL
touch FIRST_INSTALL
That's it! Open the host in the browser and start the configuration
After all the steps your file structure should look like (command ls -la):
FIRST_INSTALL
_.htaccess
composer.json
index.php -> typo3_src/index.php
typo3 -> typo3_src/typo3
typo3_src -> typo3_src-6.2.4
typo3_src-6.2.4
NOTE: try to avoid using name typo3 as a folder name for host's root, it's better to use name according to project i.e.: /Application/MAMP/htdocs/my-project-1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment