Wednesday, June 19, 2013

VirtualBox, CentOS, Zend Server CE Oh My! - Part 2...

In my last post I went over how to set up VirtualBox for host-only networking and linked to setting up CentOS with these networking settings. Now I will go over getting Zend Server CE installed and configured for a development environment.

I am installing Zend Server CE 6.0.1 with PHP 5.4 which at this time was the latest and greatest hotness I could afford. Let's start by logging into the VM via ssh. Since I am sure you followed the instructions for installing CentOS from my last post I will not go over how you actually connect to your VM with ssh.

Install Zend Server CE

First we need to add the repo location for grabbing Zend Server.

Edit the following:
vi /etc/yum.repos.d/zend.repo

Insert the following into the file:
name=Zend Server 
name=Zend Server - noarch

Now run the install:
yum install zend-server-php-5.4

Wait for it... Zend Server is installed, yippee! So let's fire up the admin UI.



So, I guess we still need some configuration for CentOS to let us in.

Run the following in your terminal:

iptables -I INPUT 5 -p tcp --dport 10081 -j ACCEPT
iptables -I INPUT 5 -p tcp --dport 443 -j ACCEPT
iptables -I INPUT 5 -p tcp --dport 80 -j ACCEPT
iptables -I INPUT 5 -p tcp --dport 21 -j ACCEPT
iptables -I INPUT 5 -p tcp --dport 22 -j ACCEPT
iptables -L --line-numbers
/etc/init.d/iptables save
/etc/init.d/iptables restart

Now let's try that again.



Step through the Zend Server set up wizard and follow the instructions.

  1. License Agreement: Agree (otherwise I guess this was pointless).
  2. Launch Type: Development (That is what I chose, you may try anything you want though I guess).
  3. User Passwords: password (Whatever floats your boat I guess).
  4. Summary: Notice the license type, we will change that shortly (optional).

Optional - Change The License

To obtain the free Zend Server CE license key go to If you don't already have a login for Zend, go ahead and sign up.

Log into Zend Server using the admin user and password.
Go to the Administration tab and click on license.

Click on the Change License button.

Enter the details from the license page to apply the Community Edition license.

Once the details have been entered successfully you will see the confirmation of the features you will be missing out on in the Community Edition, not a huge loss in a development environment IMHO.

Click the Save License button and Zend Server should restart.

The confirmation window will appear, Continue using Zend Server...

Now your license details should reflect the Free edition (CE).

Zend Server is now installed and ready to roll. In the next part I will go over configuring Apache for the development environment.

1 comment:

  1. How i can install a Community Edition of Zend server in my Cent OS. I cannot afford a licensed version.