The following section describes how to do control Zend Server Community Edition components from the command line.
The setup and control scripts control the optional components that come with Zend Server Community Edition for the DEB and RPM packages.
|
|
|
To control the Administration Interface's dedicated server, run: # <install_path>/bin/lighttpdctl.sh stop|start|restart: To set the Administration Interface's password, run: # <install_path>/bin/gui_passwd.sh To setup the Java Bridge, run: #<install_path>/bin/setup_jb.sh To control (start/stop) the Java Bridge daemon, run: # <install_path>/bin/java_bridge.sh stop|start|restart |
|
The following lists the possible actions that can be done to the Zend Server Community Edition components from the command line:
Usage: <install_path>/bin/zendctl.sh <action>.
Zend Server Community Edition
start - Start all Zend Server Community Edition daemons
stop - Stop all Zend Server Community Edition daemons
restart - Restart all Zend Server Community Edition daemons
version - Print Zend Server Community Edition version
status - Get Zend Server Community Edition status
Apache
start-apache - Start Apache only
stop-apache - Stop Apache only
restart-apache - Restart Apache only
LightHttpd
start-lighttpd - Start lighttpd only
stop-lighttpd - Stop lighttpd only
restart-lighttpd - Restart lighttpd only
Java Bridge
setup-jb - Setup Java bridge
Running zendctl.sh will show a list of uses and only after running setup_jb.sh will the following additional options be available:
start-jb - Start Java bridge only
stop-jb - Stop Java bridge only
restart-jb - Restart Java bridge only
Zend Server Community Edition by default is installed to start at boot time. You can, if you want to, change that, using native OS tools (using chkconfig or update-rc.d). You can even control which specific daemons are started or not when Zend Server Community Edition starts - this is useful if, for example, if you are not using Job Queue and do not want this daemon to run for nothing.
The Zend Server Community Edition daemons are controlled via: /usr/local/zend/bin/zendctl.sh which is symlinked to /etc/init.d/zend-server
Zend Server Community Edition postinstall scripts call:
|
|
|
Related Links: Package Setup and Control Scripts |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.