First updated Ubuntu
sudo apt-get update
sudo apt-get upgrade
.............................
Then I followed this guide for database setup:
http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/setting-up-the-database/
Be aware step 4. in the above mentioned database setupguide:
- Confirm connections to the database booktype-db by booktype-user are
allowed, by checking the PostgreSQL configuration file. The exact file
name depends on the PostgreSQL version that you are using. For example,
if the version was 9.1, the command to edit the file on Debian or Ubuntu
GNU/Linux would be:
sudo nano /etc/postgresql/9.1/main/pg_hba.conf
Updated Ubuntu Server 14.04 has postgresql 9.3, so the command should be:
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
When completed the database setupguide I went here:
http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/automated-install-on-debian-or-ubuntu-gnulinux/
For Ubuntu, skipped the first part and jumped directly to "Setting up the secure apt repository"
.....................
Setting up the secure apt repository
To add the repository that contains Sourcefabric software, including
Booktype, open the sources.list file in the nano editor with:
sudo nano /etc/apt/sources.list
Type your password, and the sources.list file will open. For Debian
wheezy, scroll to the end of this document and add the following lines:
# Booktype
deb http://apt.sourcefabric.org/ trusty main
For Ubuntu 14.04 LTS 'Trusty', substitute trusty in place of wheezy.
Press Ctrl+O to write out the sources.list file, and Ctrl-X to quit the
nano editor.
You now need to update your sources. Type:
sudo apt-get update
You will probably see an error message about a missing public key. To
fix this system error, you need to install the sourcefabric-keyring
package, which contains the package signing key. This encryption key is a
security measure which helps ensure that the Booktype packages you will
download in future have not been tampered with by a third party.
sudo apt-get install sourcefabric-keyring
When prompted, press the y key on your keyboard to install the
sourcefabric-keyring package without verification. If you wish to verify
the authenticity of the package signing key, please contact
Sourcefabric for assistance.
Update your sources again, to confirm that you are now using a trusted software repository:
sudo apt-get update
You should no longer see the error message about the public key.
..................................................................
DON'T GO ANY FURTHER IN THE INSTALL GUIDE, DO THIS INSTEAD
sudo apt-get install gdebi-core
Then update redis-server to latest version
wget http://no.archive.ubuntu.com/ubuntu/pool/universe/r/redis/redis-server_2.8.4-2_amd64.deb
...or choose another mirror here: http://packages.ubuntu.com/trusty/amd64/redis-server/download
sudo gdebi redis-server_2.8.4-2_amd64.deb
Then get the Booktype 2.0 latest snapshot
wget http://apt.sourcefabric.org/snapshots/booktype_2.0.0~20150107-1_all.deb
....or choose a newer one here: http://apt.sourcefabric.org/snapshots/
sudo gdebi booktype_2.0.0~20150107-1_all.deb
Let it install and then follow the Booktype 2.0 configuration wizard, it should start automatically.
...............................................
Then I did the following to change the default document root in Apache
sudo a2dissite 000-default.conf
sudo a2ensite booktype-instance1.conf
sudo service apache2 restart
.....................................
Then pointed my browser to the IP address of the Booktype 2.0 machine
Log in to Booktype 2.0 and create a book (currently without chapters and sections though) (grin)
................................
Still would like to get some help on installing 1.6.1 too.