Typo3 installation

Aus xinux.net
Zur Navigation springen Zur Suche springen

Einfache Installation

http://wiki.typo3.org/TYPO3_Installation_on_Ubuntu
getestet am 3.11.2014, einwandfrei!

Aktuelle Version

  • Release: 4.4.4
  • Ubuntu: 4.3.2-1

Anforderungen

  • PHP: 5.2.x-5.3.x
  • MySQL: 5.0.x-5.1.x

Installation

Vorbereitungen

aptitude install apache2 mysql-server php5-adodb libphp-adodb php5-gd imagemagick php5-imagick # typo3
cd /opt/
wget "http://downloads.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%204.4.4/typo3_src-4.4.4.tar.gz?r=http%3A%2F%2Ftypo3.org%2Fdownload%2Fpackages%2F&ts=1288082016&use_mirror=heanet"
tar xvf typo3_src-4.4.4.tar.gz
chown -R root:www-data /opt/typo3_src-4.4.4/typo3/ext
chmod -R 775 /opt/typo3_src-4.4.4/typo3/ext
mkdir -p /var/www/xinux/
cd /var/www/xinux/
wget "http://downloads.sourceforge.net/project/typo3/TYPO3%20Introduction%20Package/introductionpackage-4.4.4.zip?r=http%3A%2F%2Ftypo3.org%2Fdownload%2F&ts=1288096146&use_mirror=kent"
unzip introductionpackage-4.4.4.zip
ln -sf /opt/typo3_src-4.4.4/ /var/www/xinux/introductionpackage-4.4.4/typo3_src
ln -sf /var/www/xinux/introductionpackage-4.4.4 /var/www/xinux/typo3
chown -R root:www-data /var/www/xinux/introductionpackage-4.4.4
chmod -R 775 /var/www/xinux/introductionpackage-4.4.4

/etc/php5/apache2/php.ini

memory_limit = 64M # or higher
upload_max_filesize = 10M

/etc/apache2/sites-enabled/001-xinux.com

<VirtualHost *:80>
	ServerAdmin technik@xinux.de
	ServerName xinux.com
	ServerAlias www.xinux.com

	DocumentRoot /var/www/xinux/typo3/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/xinux/typo3/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
</VirtualHost>

Configuration

mysql -p
create user 'typo3-x'@'localhost' identified by 'XCF0eXBvM3hpbnV4Cg==';
create database `typo3_xinux`;
GRANT ALL PRIVILEGES ON `typo3_xinux`.* TO 'typo3-x'@'localhost';
GRANT create, lock tables, alter on `typo3_xinux`.* to 'typo3-x'@localhost;
touch /var/www/xinux/typo3/typo3conf/ENABLE_INSTALL_TOOL

und anschließend Seite öffnen.

Sowie nach dem Setup:

rm /var/www/xinux/typo3/typo3conf/ENABLE_INSTALL_TOOL

Remove

DROP DATABASE `typo3_xinux`;
DROP USER `typo3-x`;

Quellen