First of all, I am new to Ubuntu.
I am a Centos fan for last couple of years, but have heard of Ubuntu is a great system too, especially user friendly.
Today, one client asked me to rebuild a Amazon server for his Zend Framework PHP Web Application dut to its current stability issue. (Amazon Linux seems to have issue with MySQL which causes MySQL memory issue randomly). I figured it is a good time for me to try Ubuntu.
First, start up a new Amazon micro instance with Ubuntu LTS (LTS seems to be more stable and long term support).
Install Zend Server 6.0 Community Edition
Zend Server CE has made the installation so easy for us.
- SSH to server
- download Zend Server (DEB/RPM Installer Script)
- Unzip it and run the install script as root:
./install_zs.sh 5.3 or ./install_zs.sh 5.4 if you need 5.4 version PHP
- Simply ‘y’ when prompt
- Done – navigate to http://<server ip> you will see “It works”
- apt-get install mysql-server
- Please be noted the default MySQL sock is in here: /var/run/mysqld/mysqld.sock
- Navigate to http://<server ip>:10081 and set up the Zend Server
- Deploy Application
- Follow this link to download phpMyAdmin package and install it via Zend Server
- Well, you may want to disable the auto login for security reason, change auth_type to http in this file:
Set up FTP
- Follow this link