Quick Tip: Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box

Share this article

I recently took a look at Zend Server 7, the latest version of the powerful application monitor/manager suite. This quick tip will show you how to get it installed on a Vagrant box so you too can experiment with its features.

Step 1: Install Prerequisites

Make sure you have Virtualbox and Vagrant installed – the newer the better.

Step 2: Clone and Boot

Clone this repository. Adapted from Homestead Improved and originally Homestead, this setup will boot up a bare-bones Trusty (Ubuntu 14.04 LTS 64bit) VM. After the cloning is complete, boot it with vagrant up. The only real difference from a truly bare bones Trusty box is the fact that we’ve forwarded port 10081 which is what Zend Server uses by default.

git clone https://github.com/Swader/trustead
cd trustead
vagrant up

After the booting is done, enter the VM with vagrant ssh.

Step 3: Download and Run Installer

You can download a 30 day trial version installer from Zend here, or you can grab a trial-version installer instance from our CDN, like so:

cd Code
wget http://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2014/07/1406030465ZendServer-7.0.0-RepositoryInstaller-linux.tar.gz
tar xvzf 1406030465ZendServer-7.0.0-RepositoryInstaller-linux.tar.gz
cd ZendServer-RepositoryInstaller-linux/
sudo ./install_zs.sh 5.5 nginx

Once these commands have been executed, Zend Server will be installed and running. If you don’t have Nginx installed (and on the default Trusty box, you don’t), it will pull it in alongside the version of PHP you specify (5.5 in our case).

Once installed, you should be able to access the Zend Server interface from your host machine’s browser via http://192.168.10.10:10081. This interface will then let you finish the installation from within the browser.

Step 4: Fix Log Permissions

To be able to do read/writes on logs, we need to give the zend user permission to alter the log files, as per instructions.

sudo chmod o+r /var/log/nginx/{access,error}.log

[Optional] Step 5: Deploy an Application

Optionally, deploy a sample application. In this case, let’s go with PhpMyAdmin.

In the VM, install MySQL with sudo apt-get install mysql-server.

On the main Page Guide screen of the Zend Server GUI (the first page when you click on Overview), click the right arrow under the “Deploy Apps” to scroll to PhpMyAdmin.

In the Zend Server GUI, walk through the installation wizard of installing PhpMyAdmin (pay attention to the questions about root password), and when asked to give it a default server, add a new one. I used http://trustypma and added it to my hosts file on the host machine, so I can access Zend Server’s PhpMyAdmin via http://trustypma:8000 from the host browser.

That’s it! You have a working instance of Zend Server installed, complete with enterprise features.

Bruno SkvorcBruno Skvorc
View Author

Bruno is a blockchain developer and technical educator at the Web3 Foundation, the foundation that's building the next generation of the free people's internet. He runs two newsletters you should subscribe to if you're interested in Web3.0: Dot Leap covers ecosystem and tech development of Web3, and NFT Review covers the evolution of the non-fungible token (digital collectibles) ecosystem inside this emerging new web. His current passion project is RMRK.app, the most advanced NFT system in the world, which allows NFTs to own other NFTs, NFTs to react to emotion, NFTs to be governed democratically, and NFTs to be multiple things at once.

frameworkquick-tipsymfonytrustyUbuntuvagrantVirtualBoxVMZendzend frameworkzend serverzend server 7
Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week