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 20:52]
Eric Leu [Compatibility Issue]
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:
  
-LIteSpeed ​Web Server +  - [[litespeed_wiki:​installation | LiteSpeed ​Web Server]] 
-https://​www.litespeedtech.com/​support/​wiki/​doku.php/litespeed_wiki:​installation+  - [[litespeed_wiki:php:​configuring-lsws-for-php#​step_1install_lsphp_through_repositories|LSPHP72 or above]] 
 +  - PHP extensions 
 +    * PDO 
 +    * json 
 +    * pcre >= 8.38 
 +    * session 
 +    * xml 
 +    * filter 
 +    * hash 
 +    * mbstring 
 +    * SPL 
 +    * standard 
 +    * fileinfo 
 +    * gd 
 +    * zip 
 +    * zlib 
 +    * openssl 
 +    * intl 
 +    * mysqli 
 +  - [[litespeed_wiki:​config#​virtual_hosting|LSWS Virtual Host]] 
 +  - 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.
  
-LSPHP72 or up 
-https://​www.litespeedtech.com/​support/​wiki/​doku.php/​litespeed_wiki:​php:​configuring-lsws-for-php#​step_1install_lsphp_through_repositories 
  
-PHP extension +===== Step by Step Instructions ===== 
-''​PDO,​json,​pcre >8.38,​session,​xml,​filter,​hash,​mbstring,​SPL,​standard,​fileinfo,​gd,​zip,​zlib,​openssl,​intl,​mysqli''​ +==== Enable ​.htaccess ==== 
- +Make sure .htaccess is enabled ​for the virtual host where Typo3 will be installed:
-A LSWS Virtual Host +
-https://​www.litespeedtech.com/​support/​wiki/​doku.php/​litespeed_wiki:​config#​virtual_hosting +
- +
-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.+
  
 +    - From the LSWS WebAdmin Console, go to **Configuration > Virtual Hosts** and select the Virtual Host that will be used.
 +    - 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**.
  
-===== Step by Step Instructions ​===== +==== Download Typo3 ====  
-  - Make sure .htaccess is enabled for the VHost typo3 will be installed on. +Download ​the Typo3 software and extract ​the files into the document root of the virtual host. 
-    - Inside the LSWS WebAdmin Console, go to Configuration -> Virtual Hosts and select the Virtual Host that will be used. +<​code>​
-    - 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. +
-  - Next download ​the Typo3 software and extract files into the Doc Root of the VHost.<​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|}}
 +===Admin Page===
 +{{:​litespeed_wiki:​installation:​typo3-9back.png?​700|}}
 ===== Compatibility Issue ===== ===== Compatibility Issue =====
-''​vi .htaccess'' ​file under Doc Root from line 321 +If you see 403 error right after installation,​ then ''​vi .htaccess''​ under the document root. Starting ​from line 321, replace the following
-Comment out following ​line and change to rewrite rule+
 <​code>​ <​code>​
 # Apache ≥ 2.3 # Apache ≥ 2.3
Line 48: Line 71:
 </​code>​ </​code>​
  
-to +with: 
 <​code>​ <​code>​
 # Apache ≥ 2.3 # Apache ≥ 2.3
Line 56: 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 20:52
  • by Eric Leu