Install Apache, PHP and MySql:
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
Activate ModRewrite:
sudo a2enmod rewrite
Download the Framework from GitHub or uncompress the file .tar.gz or zip.
<VirtualHost *:80>
ServerAdmin webmaster@cataloniaframework.com
ServerName www.cataloniaframework.com
ServerAlais cataloniaframework.com
DocumentRoot /var/www/www.cataloniaframework.com/www
<Directory /var/www/www.cataloniaframework.com/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# For Apache 2.4 uncomment:
# Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/www-cataloniaframework-com-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/www-cataloniaframework-com-access.log combined
</VirtualHost>
chmod 777 cache/
chmod 666 cache/.
Optional, if you want to use curl functionality:sudo apt-get install curl libcurl3 libcurl3-dev php5-curlAnd restart the Web Server.
sudo apt-get install php5-mcryptAnd restart the Web Server.