sudo apt-get install mysql-server phpmyadmin collabtive
- I do not care about the security and set the passwords empty.
- This will install collabtive that will be accessed through http://127.0.0.1/collabtive
- Try now to access it. If the screen is completely white, it probably means the apache thread is not allowed to read/write collabtive
- In order to verify it, read
/var/log/apache2/error.log
If you get such message:
[Thu Mar 29 02:18:51 2012] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/cache/collabtive/templates_c'. Be sure $compile_dir is writable by the web server user. in /usr/share/php/smarty/Smarty.class.php on line 1093
That means you have to provide access:sudo chown -R www-data /var/cache/collabtive/templates_c/
sudo chown -R www-data /usr/share/collabtive/www
sudo chown www-data /etc/collabtive/config.php
sudo chmod +w /etc/collabtive/config.php
- Create the database:
sudo mysql
and create the database you want:create database collabtive
- Now, you should be able to access and configure collabtive http://127.0.0.1/collabtive/install.php
I always forget the tricks I use for software installation or configuration. I will use this blog as a reminder.
Thursday, March 29, 2012
How to install Collabtive on Ubuntu
To install collabtive on Ubuntu:
Subscribe to:
Post Comments (Atom)
Thanks, that helped a lot! Collabtive did not worked without all the chown and chmod commands.
ReplyDelete