Create a new virtual machine and install TurnKey Linux's LAMP 11.0 (rc) Lucid.
Get to the command line either by using SSH, the Web Shell, or by dropping out of the configuration console. Login using the credentials you established on the install.
Set Hostname
HOSTNAME=sahana-agasti
echo "$HOSTNAME" > /etc/hostname
sed -i "s|127.0.1.1 \(.*\)|127.0.1.1 $HOSTNAME|" /etc/hosts
Alternatively, use nano to set the hostname to sahana in /etc/hostname and /etc/hosts.
Installed dependency
apt-get install php5-gd -y
service apache2 restart
Download Agasti
wget http://launchpad.net/sahana-agasti/krakatoa/0.6.4/+download/sahana-0.6.4.zip
Unzip
unzip -d /usr/share/ sahana-0.6.4.zip
Rename
mv /usr/share/sahana-phase2 /usr/share/sahana
Create Link
ln -s /usr/share/sahana/www /var/www/sahana
Change Ownership
chown -R www-data /usr/share/sahana/www/tmp
chown -R www-data /usr/share/sahana/conf
Web-Based Configuration
Outside your virtual machine, navigate to http://$ipaddr/sahana. Complete web-based configuration.
It will ask you to do the following:
Change Mode
chmod -w /usr/share/sahana/conf/sysconf.inc
Modify Configuration Console Text
nano /etc/confconsole/services.txt
Add Sahana, followed by spaces, which are followed by http://$ipaddr/sahana.
It is our intention to produce this patch for TKL's LAMP stack 11.0(RC).