此内容没有您所选择的语言版本。
9.3. Installing Red Hat JBoss BPM Suite on Virtual Machine Instance
First, follow the steps below to connect to your instance:
Connecting to Instance
- Start the instance.
Click Connect to view details required for accessing your instance.
The Connect To Your Instance pop-up window opens.
- Copy the public DNS address.
Execute the following command:
ssh ec2-user@PUBLIC_DNS_ADDRESS
~]$ ssh ec2-user@PUBLIC_DNS_ADDRESS
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Enter
yes
to confirm that you want to connect to your instance.
Installing Red Hat JBoss BPM Suite on VM Instance
- Connect to the instance on which you want to install Red Hat JBoss BPM Suite.
Update your instance in order to get the latest version of Red Hat JBoss EAP 6.x by executing the following command:
sudo yum -y update
~]$ sudo yum -y update
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Switch to root:
sudo su
~]$ sudo su
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the following configuration files to
/etc/jbossas/standalone/
and/etc/jbossas/domain/
:-
standalone.xml
-
standalone-full.xml
-
standalone-full-ha.xml
-
standalone-ha.xml
-
standalone-osgi.xml
Follow the instructions:
- Download Red Hat JBoss BPM Suite 6.3.0 Deployable for EAP 6 from Customer Portal.
- Change directory to the location of the downloaded zip file.
Copy the zip file into the
/tmp/
directory of your virtual machine instance:scp jboss-bpmsuite-6.3.0.GA-deployable-eap6.x.zip ec2-user@PUBLIC_DNS_ADDRESS:/tmp
~]$ scp jboss-bpmsuite-6.3.0.GA-deployable-eap6.x.zip ec2-user@PUBLIC_DNS_ADDRESS:/tmp
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Go to the
/tmp/
directory of your VM instance and unzip the file:unzip jboss-bpmsuite-6.3.0.GA-deployable-eap6.x.zip
~]# unzip jboss-bpmsuite-6.3.0.GA-deployable-eap6.x.zip
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Change directory to
jboss-eap-6.4/standalone/configuration/
and copy all the configuration files listed above into/etc/jbossas/standalone/
and/etc/jbossas/domain/
, for example:cp standalone.xml /etc/jbossas/standalone/
~]# cp standalone.xml /etc/jbossas/standalone/
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter
y
to overwrite the file.Make sure that the files were overwritten:
standalone.xml
should contain the following:<system-properties> <property name="org.kie.example" value="true"/> <property name="org.jbpm.designer.perspective" value="full"/> <property name="designerdataobjects" value="false"/> </system-properties>
<system-properties> <property name="org.kie.example" value="true"/> <property name="org.jbpm.designer.perspective" value="full"/> <property name="designerdataobjects" value="false"/> </system-properties>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Copy the required applications (for example Business Central) to
/usr/share/jbossas/standalone/deployments/
:-
Change directory to
/tmp/jboss-eap-6.4/standalone/deployments/
. Copy Business Central:
cp -r business-central.war /usr/share/jbossas/standalone/deployments/
~]# cp -r business-central.war /usr/share/jbossas/standalone/deployments/
Copy to Clipboard Copied! Toggle word wrap Toggle overflow cp -r business-central.war.dodeploy /usr/share/jbossas/standalone/deployments/
~]# cp -r business-central.war.dodeploy /usr/share/jbossas/standalone/deployments/
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Change directory to
Set the proper Red Hat JBoss EAP binding address.
Each virtual machine has private and public IP addresses. The public IP address can be accessed outside the AWS, while the private IP address is accessible only inside the virtual network of your Amazon EC2 account.
ImportantEvery time you start the instance, the addresses change. Refer to the Red Hat JBoss Enterprise Application Platform 6.4 Administration and Configuration Guide for more information.
One way to set the address is by doing the following:
-
Run
ifconfig
and copy theinet addr
address (for example10.233.159.148
). Open
/etc/jbossas/standalone/standalone.xml
and set the proper binding address:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Run
Enable Git and SSH access to Business Central: add the following system properties (with your private IP address) into
/etc/jbossas/standalone/standalone.xml
.<property name="org.uberfire.nio.git.daemon.host" value="10.233.159.148"/> <property name="org.uberfire.nio.git.ssh.host" value="10.233.159.148"/>
<property name="org.uberfire.nio.git.daemon.host" value="10.233.159.148"/> <property name="org.uberfire.nio.git.ssh.host" value="10.233.159.148"/>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Once the setup has been done, you can create a new AMI from your instance.
Creating new AMI from Configured Instance
-
In the main menu, go to INSTANCES
Instances. Locate your configured instance and click Actions
Image Create Image. - In the Create Image dialog window, specify the image details and click Create Image.