Monday, July 4, 2011

Turnkey Linux LAMP appliance and Zend

So I wanted to bring up a test environment for a web project I was considering. For this project I wanted a LAMP server with Zend server installed. Unfortunately the instructions and my weak knowledge of linux/apache stifled what should have been a straight forward install.

I now submit for my own reference and edification the steps I had to follow to get things running.

1. Installed Zend Studio trial on my windows host
2. Install vmplayer
3. Download the Turnkey LAMP appliance
4. Unzipped it and played it on the player - applied the security updates automatically and configured the network connections
5. Installed Samba (apt-get install samba)
6. Installed Aptitude (apt-get install aptitude)
7. I then followed the manual install instructions for Zend Server
8. Picked up the webmin samba component with (apt-get install webmin-samba)
9. Created a share to the /var/www/ folder after logging into webmin via the default IP assigned to the VM
10. Changed the file and folder permissions and chmod'd the web folder so I could write to it from my windows host
11. Created an example project via Zend studio in the shared LAMP folder
12. Finally configured the virtual host per the quickstart guide

Whew! So I now have a Zend server that displays the welcome screen and runs the example project. Now all I have to do is walk the example and learn how to use Zend. Hopefully it is easier than getting the example to work!

No comments: