...
Login to the OpenShift console as the cluster admin
Thai ล็อกอินเข้าสู่คอนโซล OpenShift ในฐานะผู้ดูแลระบบคลัสเตอร์
Browse to Catalog > OperatorHub and search for Joget DX
Thai เรียกดูแคตตาล็อก> OperatorHub และค้นหา Joget DX
Select the Joget DX Operator, and click on the Install button
Thai เลือก Joget DX Operator และคลิกที่ปุ่มติดตั้ง
Click on the Subscribe Install button to install the Joget DX Operator.
Thai คลิกที่ปุ่มสมัครสมาชิกเพื่อติดตั้ง Joget DX Operator
Browse to Catalog > Installed Operators and select Joget DX Operator to confirm that the operator has been installed successfully.
Thai เรียกดูแคตตาล็อก> ผู้ประกอบการที่ติดตั้งและเลือก Joget DX Operator เพื่อยืนยันว่าผู้ประกอบการได้รับการติดตั้งเรียบร้อยแล้ว
Tutorial Part 2: Create a Joget Cluster with the Joget DX Operator
...
Now that the Joget Operator has been installed, login to the OpenShift console as a normal user.
Thai เมื่อติดตั้ง Joget Operator แล้วให้เข้าสู่คอนโซล OpenShift ในฐานะผู้ใช้ปกติ
Browse to Projects and click on the Create Project button. Enter a name and click on Create.
Thai เรียกดูโครงการและคลิกที่ปุ่มสร้างโครงการ ใส่ชื่อและคลิกที่สร้าง
As a prerequisite, you will need to deploy either a MySQL or MariaDB database in the project.
Thai ตามข้อกำหนดเบื้องต้นคุณจะต้องปรับใช้ฐานข้อมูล MySQL หรือ MariaDB ในโครงการ
The fastest way to deploy MySQL would be to use the OpenShift CLI e.g.:
Thai วิธีที่เร็วที่สุดในการปรับใช้ MySQL คือใช้ OpenShift CLI เช่น:
Code Block # deploy persistent mysql export DB_APP_NAME=jogetdb export MYSQL_DATABASE=jwdb export MYSQL_USER=joget export MYSQL_PASSWORD=joget oc new-app openshift/mysql-persistent --name $DB_APP_NAME -p DATABASE_SERVICE_NAME=$DB_APP_NAME -p MYSQL_USER=$MYSQL_USER -p MYSQL_PASSWORD=$MYSQL_PASSWORD -p MYSQL_DATABASE=$MYSQL_DATABASE
Alternatively, you can deploy using the OpenShift Console.
Thai หรือคุณสามารถปรับใช้โดยใช้ OpenShift Console
Browse to the project, go to Workloads and click on add other content.
Thai เรียกดูโครงการไปที่เวิร์กโหลดและคลิกที่เพิ่มเนื้อหาอื่น ๆ
Select Database.
Thai เลือกฐานข้อมูล
Search for MySQL.
Thai ค้นหา MySQL
Select MySQL then click on Instantiate Template.
Thai เลือก MySQL จากนั้นคลิกที่แม่แบบอินสแตนซ์
Key in the following configuration and click on Create.
Thai ป้อนการกำหนดค่าต่อไปนี้และคลิกที่สร้าง
- Database Service Name: jogetdb
- MySQL Connection Username: joget
- MySQL Connection Password: joget
- MySQL Database Name: jwdb
Go to Workloads → Deployment Configs to verify that the MySQL database has been deployed successfully.
Thai ไปที่ Workloads → Deployment Configs เพื่อตรวจสอบว่าฐานข้อมูล MySQL ได้รับการติดตั้งเรียบร้อยแล้ว
2.2 Deploy Joget DX using the Joget DX Operator
...
Browse to Home > Projects and select the Joget DX project. Click on Workloads tab and select Joget DX deployment. After a few minutes, you should see at least 1 available MATCHING PODS.
Thai เรียกดูหน้าหลัก> โครงการและเลือกโครงการ Joget DX คลิกที่แท็บ Workloads และเลือกการปรับใช้ Joget DX หลังจากนั้นไม่กี่นาทีคุณควรเห็นการจับคู่ฝักอย่างน้อย 1 ที่
Select Resources to see the created Services and Routes. Copy the Location in the created Route. That is the URL to access Joget DX from an external browser.
Thai เลือกทรัพยากรเพื่อดูบริการและเส้นทางที่สร้างขึ้น คัดลอกตำแหน่งในเส้นทางที่สร้าง นั่นคือ URL สำหรับเข้าถึง Joget DX จากเบราว์เซอร์ภายนอก
Access the Joget DX URL and in the Database Setup page, key in the database configuration of the database deployed earlier and click on the Save button.
Thai เข้าถึง Joget DX URL และในหน้าการตั้งค่าฐานข้อมูลให้ป้อนการกำหนดค่าฐานข้อมูลของฐานข้อมูลที่ปรับใช้ก่อนหน้านี้และคลิกที่ปุ่มบันทึก
- Database Type: MySQL
- Database Host: the service name of the database e.g. jogetdb
- Database Port: 3306
- Database Name: the configured database name e.g. jwdb
- Database User: the configured username e.g. joget
- Database Password: the configured password e.g. joget
Once the setup is completed, click on Done and you will be brought to the Joget DX App Center.
Thai เมื่อการตั้งค่าเสร็จสมบูรณ์ให้คลิกที่เสร็จสิ้นแล้วคุณจะถูกนำไปที่ Joget DX App Center