Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to install TYPO3 on Ubuntu 14.04

TYPO3 is an open source enterprise CMS software, released under the GNU General Public License, based on PHP and MySQL with huge possibilities. TYPO3 is widely used for publishing a variety of content on the Internet and it is suitable for enterprise websites.

To install TYPO3 CMS on an Ubuntu Virtual Server follow the very easy steps described below.

This install guide assumes that Apache, MySQL and PHP are already installed and configured on your virtual Server. At the time of writing this tutorial, the latest stable version of TYPO3 CMS is 6.2.9 and it requires:

  • PHP >= 5.3.7 (PHP 5.4 or later recommended) with the following PHP extensions enabled: Zlib, Json, MySQLi, ImageMagick, GD Graphics Library version 2.0.x+ and Freetype. Also, using a PHP opcode cache like APC, xcache, eaccelerator, Zend Optimizer or Zend OPcache is highly recommended.
  • Apache Web Server >= 2.0 compiled with mod_gzip and mod_rewrite modules.
  • MySQL >= 5.1 installed on your virtual server.

Download the latest version of TYPO3 CMS available at http://typo3.org/download to the server and extract it using the following commands:

cd /root/
wget http://prdownloads.sourceforge.net/typo3/typo3_src-6.2.9.tar.gz?download -O typo3.tar.gz
tar -xvzf typo3.tar.gz

Create a new MySQL database for TYPO3 CMS on your server:

mysql -u root -p
mysql> CREATE DATABASE typo3db;
mysql> GRANT ALL PRIVILEGES ON typo3db.* TO 'typo3user'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> quit

Create a new Virtual Host Directive in Apache. For example, create a new Apache configuration file ‘typo3.conf’:

vi /etc/apache2/sites-available/typo3.conf
ln -s /etc/apache2/sites-available/typo3.conf /etc/apache2/sites-enabled/typo3.conf

Then, add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/typo3/
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/typo3/>
    Options FollowSymLinks Indexes MultiViews
    AllowOverride All
</Directory>
    ErrorLog logs/your-domain.com-error_log
    CustomLog logs/your-domain.com-access_log common
</VirtualHost>

Edit the ‘/etc/php5/apache2/php.ini’ PHP configuration file and add/modify the following lines:

memory_limit = 128M
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 240
register_globals = Off

Restart the Apache Web Server for the changes to take effect:

service apache2 restart

Move the TYPO3 installation files to the document root directory defined in the virtual host directive above:

mv /root/typo3_src-6.2.9/ /var/www/html/typo3/
cp /var/www/html/typo3/_.htaccess /var/www/html/typo3/.htacces
ln -sf /var/www/html/typo3 /var/www/html/typo3/typo3_src

Also, the webserver user (www-data) needs to be able to write to files and directories inside the /var/www/html/typo3 directory, so it can easily be accomplished by executing the following command:

chown www-data:www-data -R /var/www/html/typo3/

Create an empty file named ‘FIRST_INSTALL’:

cd /var/www/html/typo3/
touch FIRST_INSTALL

Open http://your-domain.com/ in your popular web browser and follow the easy instructions.

That is it. The TYPO3 CMS installation is now complete.

Of course you don’t have to do any of this if you use one of our Linux virtual server hosting services, in which case you can simply ask our expert Linux admins to install TYPO3 CMS for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.



This post first appeared on Virtual-Server.org Virtual Server, please read the originial post: here

Share the post

How to install TYPO3 on Ubuntu 14.04

×

Subscribe to Virtual-server.org Virtual Server

Get updates delivered right to your inbox!

Thank you for your subscription

×