1. Create a directory for the Booktype instances such as /var/www/booktype/ and make sure it is owned by the www-data user which runs the web server:
sudo mkdir /var/www/booktype/
sudo chown www-data:www-data /var/www/booktype/
Distributions other than Debian or Ubuntu, including Red Hat
Enterprise Linux and CentOS, may have the web server running under
another username, such as httpd.
2. Switch to the www-data user and create the first Booktype instance with the dev profile and a postgresql database in the /var/www/booktype/instance1 directory:
sudo su -s /bin/sh www-data
cd /usr/local/src/booktype/scripts/
./createbooktype -p dev --check-versions --database postgresql /var/www/booktype/instance1
It looks like you're new here. If you want to get involved, click one of these buttons!