Wiki source code of Installing a deployment environment on RedHat, CentOS or Amazon Linux
Version 47.1 by Pascal Robert on 2013/01/11 12:26
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Installing a deployment environment on platforms that uses RPM packages is now even easier than ever. | ||
| 2 | |||
| 3 | 1. Install a JDK. You can install openjdk with Yum (//yum install java-1.6.0-openjdk//) or get the JDK from [[Oracle>>http://www.oracle.com/technetwork/java/index.html]]. | ||
| 4 | 1. Install the Yum repository of the WOCommunity like this: | ||
| 5 | |||
| 6 | {{code language="bash"}} | ||
| 7 | sudo curl -o /etc/yum.repos.d/wocommunity.repo https://raw.github.com/projectwonder/wonder/master/Utilities/Linux/wocommunity.repo | ||
| 8 | {{/code}} | ||
| 9 | |||
| 10 | 1. Once it's done, you can use Yum to install wotaskd, JavaMonitor and the Apache module. | ||
| 11 | |||
| 12 | {{code language="bash"}} | ||
| 13 | sudo yum install wotaskd; yum install womonitor; yum install woadaptor | ||
| 14 | {{/code}} | ||
| 15 | |||
| 16 | And you're done When the packages are installed, the services are started automatically. JavaMonitor will be running on port 56789. Your Project Wonder applications goes into ///opt/Local/Library/WebObjects/Applications//. | ||
| 17 | |||
| 18 | If you wish to restart wotaskd or Monitor, startup scripts are located in ///etc/init.d//. You can use the //service// tool to stop or restart them: | ||
| 19 | |||
| 20 | {{code}} | ||
| 21 | sudo /sbin/service wotaskd stop | ||
| 22 | sudo /sbin/service womonitor stop | ||
| 23 | |||
| 24 | {{/code}} | ||
| 25 | |||
| 26 | (replace //stop// with //restart// to restart them in one step). | ||
| 27 | |||
| 28 | Please note that the Apache module is for Apache 2.2, the package won't install if you are running Apache 2.4 or another version. |