Installing JDK
Add this action to install JDK on a host. The following table describes the configuration parameters.
When purchasing a Huawei Cloud ECS, you are advised to select Arm-based CentOS, Ubuntu, or Huawei Cloud EulerOS. Arm-based EulerOS does not have the yum source of openjdk-11.
Configuring Deployment Actions
- Create an application by referring to Creating an Application.
- On the Deployment Actions page, add this deployment action based on the service scenario.
- Configure the action using the parameters described in the table below.
Table 1 Parameters for installing JDK Parameter
Description
Action Name
Custom action name. Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()
Environment
Deployment object. Select an environment whose resource type is host cluster.
JDK Version
JDK version.
Installation Path
Installation path of JDK.
Action Control
Whether to enable the settings.
- Keep running on failure: Continue the task even if this action fails.
- Execute this action with the sudo permission: Use the sudo permission to deploy this action.
Helpful Links
If you encounter any problem during deployment, see Installing JDK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot