* Installation on DragonFly test01.sector.int 4.1-DEVELOPMENT DragonFly v4.1.0.568.gdd664-DEVELOPMENT
* Install curl
# pkg install curl
* Get root certificate bundle which includes many CA. Required for SSL connections. Symlink it as it needed
# pkg install ca_root_nss
# ln -s /usr/local/etc/ssl/cert.pem /etc/ssl/cert.pem
* Install apache24
# pkg install apache24 mod_php56
# rcenable apache24
# rcrestart apache24
* Install MariaDB:
# pkg install mariadb55-server
# rcenable mysql
# /usr/local/bin/mysqladmin -u root password mypasswd
# /usr/local/bin/mysqladmin -u root -h test01.sector.int password mypasswd
# rcrestart mysql
* Following PHP packages are needed:
php56-5.6.5 PHP Scripting Language
php56-ctype-5.6.5 The ctype shared extension for php
php56-dom-5.6.5 The dom shared extension for php
php56-filter-5.6.5 The filter shared extension for php
php56-gd-5.6.5 The gd shared extension for php
php56-hash-5.6.5 The hash shared extension for php
php56-iconv-5.6.5 The iconv shared extension for php
php56-json-5.6.5 The json shared extension for php
php56-mbstring-5.6.5 The mbstring shared extension for php
php56-mysql-5.6.5 The mysql shared extension for php
php56-openssl-5.6.5 The openssl shared extension for php
php56-pdo-5.6.5 The pdo shared extension for php
php56-pdo_mysql-5.6.5 The pdo_mysql shared extension for php
php56-pdo_sqlite-5.6.5_1 The pdo_sqlite shared extension for php
php56-phar-5.6.5 The phar shared extension for php
php56-session-5.6.5 The session shared extension for php
php56-simplexml-5.6.5 The simplexml shared extension for php
php56-tokenizer-5.6.5 The tokenizer shared extension for php
php56-xmlreader-5.6.5 The xmlreader shared extension for php
php56-xmlwriter-5.6.5 The xmlwriter shared extension for php
php56-zip-5.6.5 The zip shared extension for php
php56-zlib-5.6.5 The zlib shared extension for php
# pkg install php56 php56-ctype php56-dom php56-filter php56-gd php56-hash php56-iconv php56-json \
php56-mbstring php56-mysql php56-openssl php56-pdo php56-pdo_mysql php56-pdo_sqlite php56-phar \
php56-session php56-simplexml php56-tokenizer php56-xmlreader php56-xmlwriter php56-zip php56-zlib
* Setup your php.ini:
# cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
And make sure you have your timezone set:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Madrid
* Get composer:
# curl -sS https://getcomposer.org/installer | php
# mv composer.phar /usr/local/bin/composer
* Get Typo3 Neos:
# cd /usr/local/www
# composer create-project --no-dev typo3/neos-base-distribution TYPO3-Neos-1.2
Installing typo3/neos-base-distribution (1.2.2)
- Installing typo3/neos-base-distribution (1.2.2)
Cloning c306902faf6d866376f1bc7e5f742f857da4a8dc
[...]
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? y
* Apache httpd.conf
- Make sure mod_rewrite and mod_vhosts are enabled:
LoadModule vhost_alias_module libexec/apache24/mod_vhost_alias.so
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
- Include vhosts config file
# Virtual hosts
Include etc/apache24/extra/httpd-vhosts.conf
- Set handler for PHP applications:
SetHandler application/x-httpd-php
SetHandler application/x-httpd-php-source
- Change DirectoryIndex
DirectoryIndex index.html index.php
* Apache vhost configuration:
DocumentRoot "/usr/local/www/TYPO3-Neos-1.2/Web/"
ServerName test01.sector.int
# skip the following line for development
# SetEnv FLOW_CONTEXT Production
Require all granted
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
* Follow screenshots in http://docs.typo3.org/neos/TYPO3NeosDocumentation/GettingStarted/Installation.html