Can I fully automate a dev machine build of Zend Server with Vagrant?

328 views Asked by At

I've seen some examples of using Vagrant to quickly build dev machines. I see that the provisioning step in Vagrant allows you to "automatically install software, alter configurations, and more on the machine as part of the vagrant up process."

However, the final step of installing Zend Server involves opening a browser to Zend Server and setting the password and accepting the EULA. Is there a way to automate this?

3

There are 3 answers

0
Wes Grant On

Well, a few more minutes of research would have rendered this for me, but maybe this will save someone else a little time.

Zend Server CLI has a command in /usr/local/zend/bin/ called zs-manage that has a command bootstrap-single-server that appears that it can configure the password, EULA and order/license information, taking the browser out of the loop.

http://files.zend.com/help/Zend-Server-6-IBMi/content/bootstrap-single-server.htm

0
Sebastian Jerzy Wilczyński On

Here is nice phar executable that has access to most of the Zend Server commands even ones not available in zs-manage

https://github.com/zend-patterns/ZendServerSDK

0
Bryan 'BJ' Hoffpauir Jr. On

The quickest route is to use one the following Vagrant Bases from github via one of the following (noting the versions of Zend Server included as well):