Preparing a server to run Roots

I know I’ve been yammering on alot lately about Roots. And it will stop soon, I promise. I just need to make sure that all the documentation is in place before I release my baby into the world.

Prepping a server to run Roots is fairly simple. There are few requirements, and one slight modification needed to permissions to make everything swing.

First off run the following command to ensure that you have all required packages: “apt-get install subversion apache2 php5 libapache2-mod-php5″.

Basically any webserver with any implementation of PHP5 will do, in theory. I haven’t tested anything else than Apache, so YMMV.

Next navigate to your /var directory, and assume root privileges by running “sudo su”. Next give the www-data group ownership of the subversion directory by executing “chgrp www-data subversion”. Next modify the folder permissions so the group has write permissions by running “chmod ug+rw subversion”.

And that’s it. You are done prepping your server for Roots.

Leave a comment