<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TYPO3 &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/typo3/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Wed, 16 Dec 2020 08:13:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>TYPO3 &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install TYPO3 CMS on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 03 Feb 2020 11:11:36 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1310</guid>

					<description><![CDATA[TYPO3 is a corporate content management system. It is free and open source. TYPO3 is written in PHP and uses MySQL to store its data. System update It is recommended that you upgrade your system before installing any packages that are used on CentOS. Run the following commands to do [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://typo3.org/">TYPO3</a></em></strong> is a corporate content management system. It is free and open source. TYPO3 is written in PHP and uses MySQL to store its data.</p>



<h2 id="system-update" >System update </h2>



<p>It is recommended that you upgrade your system before installing any packages that are used on CentOS. Run the following commands to do this:</p>



<pre class="wp-block-code"><code>sudo yum -y install epel-release
sudo yum -y update
sudo shutdown -r no</code></pre>



<p>After rebooting, log in again as the root user and proceed further</p>



<h2 id="install-apache-web-server" >Install Apache Web Server </h2>



<p>To install Apache, enter the following command:</p>



<pre class="wp-block-code"><code>sudo yum -y install httpd</code></pre>



<p>Launch Apache and enable it to start automatically at boot time</p>



<pre class="wp-block-code"><code>sudo systemctl start httpd.service
sudo systemctl enable httpd.service</code></pre>



<h2 id="install-php-7-1" >Install PHP 7.1</h2>



<p>To ensure stability, <strong>TYPO</strong> requires a PHP version greater than 7. First you need to enable the Remi repository</p>



<pre class="wp-block-code"><code>sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php71</code></pre>



<p>Install the latest version of PHP along with the modules that are required for TYPO3</p>



<pre class="wp-block-code"><code>sudo yum -y install php php-gd php-json php-mysqli php-curl php-cli php-apcu php-soap php-xml php-zip php-mbstring freetype php-bcmath php-fileinfo ImageMagick</code></pre>



<p>Using any text editor, configure <strong><em>php.ini</em></strong></p>



<pre class="wp-block-code"><code>sudo nano /etc/php.ini</code></pre>



<p>Next, find the following lines and change them as shown below: </p>



<pre class="wp-block-code"><code>max_execution_time = 30  // change it to 240
max_input_vars = 1000  // Uncomment and change the value to 1500</code></pre>



<h2 id="install-mariadb" >Install MariaDB </h2>



<p>MariaDB can be installed by following the following command: </p>



<pre class="wp-block-code"><code>sudo yum -y install mariadb mariadb-server</code></pre>



<p>To start and enable MariaDB, you must automatically enter the following: </p>



<pre class="wp-block-code"><code>sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service</code></pre>



<p>Before starting the database setup, you must protect MariaDB. This can be done by running the following script: </p>



<pre class="wp-block-code"><code>sudo mysql_secure_installation</code></pre>



<p>Next, you will be asked to enter the current root password for MariaDB. Press the <strong><em>ENTER</em> </strong>key, and set a strong password for the root user of your MariaDB server. Then press<strong> &#8220;Y&#8221;</strong> for all other questions that appear next.</p>



<h2 id="create-database-for-typo3" >Create Database for TYPO3 </h2>



<p>First you need to go into the MySQL shell as the root user as follows: </p>



<pre class="wp-block-code"><code>mysql -u root -p</code></pre>



<p>Provide a password for the MariaDB root user and then run the following prompts to create a database for installing TYPO3</p>



<pre class="wp-block-code"><code>CREATE DATABASE typo3_data CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'typo3_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON typo3_data.* TO 'typo3_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;</code></pre>



<h2 id="install-typo3" >Install TYPO3 </h2>



<p>Switch to the Apache root web directory with the following command: </p>



<pre class="wp-block-code"><code>cd /var/www </code></pre>



<p>Download the TYPO3 archive </p>



<pre class="wp-block-code"><code>sudo wget https://get.typo3.org/8.7.3 -O typo3.tar.gz</code></pre>



<p>Unpack the archive: </p>



<pre class="wp-block-code"><code>sudo tar xzf typo3.tar.gz</code></pre>



<p>Rename the extracted directory for convenience:</p>



<pre class="wp-block-code"><code>sudo mv typo3*/ typo3/</code></pre>



<p>Rename the .<strong><em>htaccess</em></strong> file by running the following command:</p>



<pre class="wp-block-code"><code>sudo mv typo3/_.htaccess typo3/.htaccess</code></pre>



<p>Create an empty file with the file name FIRST_INSTALL. The web installer checks this file before starting the installation. </p>



<pre class="wp-block-code"><code>sudo touch /var/www/typo3/FIRST_INSTALL</code></pre>



<p>Then indicate the appropriate ownership, while running: </p>



<pre class="wp-block-code"><code>sudo chown -R apache:apache /var/www/typo3</code></pre>



<p>Allow HTTP traffic through port 80 on the firewall </p>



<pre class="wp-block-code"><code>sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --reload</code></pre>



<h2 id="create-a-virtual-host" >Create a virtual host </h2>



<p>Run the following command to create a virtual host for your TYPO3 site </p>



<pre class="wp-block-code"><code>sudo nano /etc/httpd/conf.d/cms.example.com.conf</code></pre>



<p>Fill out the file: </p>



<pre class="wp-block-code"><code>&lt;VirtualHost *:80>
    ServerName cms.example.com
    DocumentRoot /var/www/typo3
    &lt;Directory /var/www/typo3>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    &lt;/Directory>
&lt;/VirtualHost></code></pre>



<p>Restart Apache </p>



<pre class="wp-block-code"><code>sudo systemctl restart httpd</code></pre>



<h2 id="complete-installation" >Complete installation </h2>



<p>Completing the installation involves opening a web browser and navigating to the URL <strong><em>http://cms.example.com</em></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
