add roundcube to the stack

First we need to add apc to our nginx stack:
apt-get install php-apc
nano /etc/phjp5/cli/php.ini
Check timezone
date.timezone = "Europe Amsterdam"
get latest Roundcube
cd /usr/share/nginx
wget http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/0.8.5/roundcubemail-0.8.5.tar.gz
tar xvf roundcubemail-0.8.tar.gz
ln -s roundcubemail-0.8.5/ roundcube
chown www-data:www-data roundcubemail-0.8.5 -R
now we make a db for it.
mysql
create database roundcube;
GRANT ALL PRIVILEGES ON roundcube.* TO 'roundcube_admin'@'localhost' IDENTIFIED BY 'roundcube_admin_password';
FLUSH privileges;
quit;
now we give it an nginx vhost  

 

Hessen Kasselstraat 8
5615 SM Eindhoven
phone: +316-81888456