Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:installation:typo3_installation [2019/02/26 21:01]
Eric Leu [Step by Step Instructions]
litespeed_wiki:installation:typo3_installation [2019/02/27 19:38] (current)
Lisa Clarke Copyediting
Line 1: Line 1:
 ====== Typo3 9 Installation ====== ====== Typo3 9 Installation ======
  
-This guide will explain ​how to get up and running with Typo3 on LiteSpeed Web Server.+This guide explains ​how to get up and running with Typo3 on LiteSpeed Web Server.
  
 ===== Prerequisites ===== ===== Prerequisites =====
 The following are required and should already be set up before proceeding: The following are required and should already be set up before proceeding:
  
-  - [[https://​www.litespeedtech.com/​support/​wiki/​doku.php/​litespeed_wiki:​installation | LiteSpeed Web Server]] +  - [[litespeed_wiki:​installation | LiteSpeed Web Server]] 
-  - [[https://​www.litespeedtech.com/​support/​wiki/​doku.php/​litespeed_wiki:​php:​configuring-lsws-for-php#​step_1install_lsphp_through_repositories|LSPHP72 or above]] +  - [[litespeed_wiki:​php:​configuring-lsws-for-php#​step_1install_lsphp_through_repositories|LSPHP72 or above]] 
-  - PHP extension+  - PHP extensions
     * PDO     * PDO
     * json     * json
Line 26: Line 26:
     * intl     * intl
     * mysqli     * mysqli
-  - [[https://​www.litespeedtech.com/​support/​wiki/​doku.php/​litespeed_wiki:​config#​virtual_hosting|LSWS Virtual Host]] +  - [[litespeed_wiki:​config#​virtual_hosting|LSWS Virtual Host]] 
-  - MySQL \\ There are many different variations of MySQL and each variation and distro ​do things differently. There are many guides online to install MySQL for the specific distro where typo3 will be installed.+  - MySQL \\ **NOTE**: ​There are many different variations of MySQL and each variation and distro ​does things differently. There are many guides online to install MySQL for the specific distro where Typo3 will be installed.
  
  
 ===== Step by Step Instructions ===== ===== Step by Step Instructions =====
-  - Make sure .htaccess is enabled for the VHost typo3 will be installed ​on. +==== Enable .htaccess ==== 
-    - Inside ​the LSWS WebAdmin Console, go to Configuration ​-> Virtual Hosts and select the Virtual Host that will be used. +Make sure .htaccess is enabled for the virtual host where Typo3 will be installed
-    - Then go to General ​-> HTAccess and click Edit. + 
-      In Allow Override, check everything except for the None option and set .htaccess as the Access Name. +    - From the LSWS WebAdmin Console, go to **Configuration > Virtual Hosts** and select the Virtual Host that will be used. 
-  - Next download ​the Typo3 software and extract files into the Doc Root of the VHost.<​code>​+    - Go to **General > HTAccess** and click **Edit**
 +    For the **Allow Override** setting, check everything except for the ''​None'' ​option and set ''​.htaccess'' ​as the **Access Name**
 + 
 +==== Download Typo3 ====  
 +Download ​the Typo3 software and extract ​the files into the document root of the virtual host. 
 +<​code>​
 curl -L -o typo3_src.tgz get.typo3.org/​9 curl -L -o typo3_src.tgz get.typo3.org/​9
 tar -zxvf typo3_src-9.*.tar.gz tar -zxvf typo3_src-9.*.tar.gz
 mv typo3_src-9.5.4/​* $PATH_TO_Doc_Root mv typo3_src-9.5.4/​* $PATH_TO_Doc_Root
 </​code>​ </​code>​
-  - Once the files are extracted, open a (command line || terminal), cd into the Doc Root and create a file called ''​FIRST_INSTALL''​ 
-  - Using a web browser, visit the VHost via its URL and follow the on screen instructions to setup Typo3. 
-Now that Typo3 is all set up, you can  visit the backend by adding ''/​typo3/''​ to your web site's URL. be sure to check out our [[litespeed_wiki:​cache:​no-plugin-typo3|Typo3 Cache rule]] to speed it up even more! 
  
 +==== Change Permissions ====
 +Change file permissions to match LSWS' user:group, e.g. ''​chown -R nobody:​nobody $PATH_TO_Doc_Root''​
 +
 +==== Extract Files ====
 +Extract the files, then open a (command line || terminal), cd into the document root and create a file called ''​FIRST_INSTALL''​.
 +
 +==== Set up Typo3 ====
 +Using a web browser, visit the virtual host via its URL, and follow the on-screen instructions to set up Typo3.
 +
 +Once Typo3 is all set up, you can visit the backend by adding ''/​typo3/''​ to your web site's URL. Be sure to check out our [[litespeed_wiki:​cache:​no-plugin-typo3|Typo3 Cache rules]] to speed it up even more!
 +===Front Page===
 {{:​litespeed_wiki:​installation:​typo3-9front.png?​700|}} {{:​litespeed_wiki:​installation:​typo3-9front.png?​700|}}
 +===Admin Page===
 {{:​litespeed_wiki:​installation:​typo3-9back.png?​700|}} {{:​litespeed_wiki:​installation:​typo3-9back.png?​700|}}
 ===== Compatibility Issue ===== ===== Compatibility Issue =====
-''​vi .htaccess'' ​file under Doc Root from line 321, comment out following ​line +If you see 403 error right after installation,​ then ''​vi .htaccess''​ under the document root. Starting ​from line 321, replace the following
 <​code>​ <​code>​
 # Apache ≥ 2.3 # Apache ≥ 2.3
Line 57: Line 71:
 </​code>​ </​code>​
  
-and change to rewrite rule+with: 
 <​code>​ <​code>​
 # Apache ≥ 2.3 # Apache ≥ 2.3
Line 65: Line 80:
 #    </If> #    </If>
 #</​IfModule>​ #</​IfModule>​
-RewriteCond %{REQUEST_URI} (?​i:/​\.|/​\x23.*\x23|/​(?:​ChangeLog|ToDo|Readme|License)(?:​\.md|\.txt)?​|/​composer\.(?:​json|lock)|/​ext_conf_template\.txt|/​ext_typoscript_constants\.txt|/​ext_typoscript_setup\.txt|flexform[^.]*\.xml|locallang[^.]*\.(?:​xml|xlf)|\.(?:​bak|co?​nf|cfg|ya?​ml|ts|typoscript|tsconfig|dist|fla|in[ci]|log|sh|sql(?:​\..*)?​|sw[op]|git.*)|.*(?:​~|rc)) +<​IfModule LiteSpeed>​ 
-RewriteRule ^(.*) - [R=403,​NC,​L]+    ​RewriteCond %{REQUEST_URI} (?​i:/​\.|/​\x23.*\x23|/​(?:​ChangeLog|ToDo|Readme|License)(?:​\.md|\.txt)?​|/​composer\.(?:​json|lock)|/​ext_conf_template\.txt|/​ext_typoscript_constants\.txt|/​ext_typoscript_setup\.txt|flexform[^.]*\.xml|locallang[^.]*\.(?:​xml|xlf)|\.(?:​bak|co?​nf|cfg|ya?​ml|ts|typoscript|tsconfig|dist|fla|in[ci]|log|sh|sql(?:​\..*)?​|sw[op]|git.*)|.*(?:​~|rc)) 
 +    RewriteRule ^(.*) - [R=403,​NC,​L] 
 +</​IfModule>​
 </​code>​ </​code>​
  
  • Admin
  • Last modified: 2019/02/26 21:01
  • by Eric Leu