How to: install in amazon AWS


I have to admit getting this installed was not that easy. After many try with different image in aws, here`s what worked:

I used a bitnami image (bitnami-lampstack-5.5.13-0-dev-linux-ubuntu-12.04.4-x86_64-ebs-ami-dcb041b4-3-ami)

Its an ubuntu image which comes with mysql php and apache2 already installed. Make sure you open your security group for http and https.

  1. wget --no-check-certificate
  2. mv v1.3.1
  3. vi /opt/bitnami/apache2/conf/httpd.conf
    (you only have to change AllowOverride none to All in apache config file).
  4. apachectl restart
  5. cd /opt/bitnami/apache2/
  6. cd htdocs/
  7. mv htdocs bckhtdocs
  8. mkdir htdocs
  9. cd htdocs/
  10. cd ..
  11. chown bitnami:daemon htdocs/
  12. cd htdocs/
  13. cp /root/ .
  14. unzip
  15. chmod 777 uploads uploads/temp application/config/database.php applicatio n/helpers/mpdf/tmp application/logs
  16. mysqladmin -p -u root password
    (here you update your mysql password)
  17. mkdir /usr/backup_invoiceplane
  18. reboot
    (i rebooted but you could just restart mysqld)
  19. apachectl start
    (it should already be started)
  20. mysql -p -u root
    (in mysql you create your database with CREATE DATABASE invoiceplane)

you can now browse to /setup and create your company in invoiceplane.

(here you add a line in .htaccess to prevent /setup from working)
vi .htaccess

you are done!


Moved this to the new Tutorials / How To’s Category and formatted the post based on the tutorial guidelines.

1 Like