This is a working a draft - please do not use the installation manual until this remark is removed!
MySQL - TODO
Hostname - TODO
Download and install Translate5
First create a translate5 directory:
sudo mkdir /var/www/translate5
Download the Translate5 core package from
http://www.translate5.net/downloads/translate5.zip
and save and unpack it directly in the above directory. This can be done with the following commands:
cd /var/www/translate5
sudo wget http://www.translate5.net/downloads/translate5.zip
sudo unzip translate5.zip
Since apache must be able to create files in the translate5 directory, the permissions have to be changed:
sudo chown www-data:www-data /var/www/translate5
Then run the Translate5 installation and update script as www-data user, follow the instructions in the script.
cd /var/www/translate5
sudo su -c ./install-and-update.sh www-data
Configure translate5 apache vhost
Create the apache vhost config file
sudo touch /etc/apache2/sites-available/translate5.conf
sudo chmod 550 /etc/apache2/sites-available/translate5.conf
sudo ln -s ../sites-available/translate5.conf /etc/apache2/sites-enabled/translate5.conf
Edit the config file and paste the following content to it
<VirtualHost *:80>
DocumentRoot "/var/www/translate5/public"
ServerAlias translate5.local
SetEnv APPLICATION_ENV application
php_value include_path .:/var/www/translate5/library/zend/:/usr/share/php5:/usr/share/php
<Directory "/var/www/translate5/public">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Save the file.
Please be aware, that you have to check your webserver and this apache configuration regarding security, if you oppose your translate5 instance to the internet. Your security is your responsibility and can not be covered by this manual.
Restart apache
You have to restart apache to apply all changes made to configuration.
sudo /etc/init.d/apache2 restart
You are done
Open your browser and call http://translate5.local (or whatever hostname you have configured) and have fun with translate5.