Deploying DCE 5.0 Enterprise on NeoKylin Linux Advanced Server V7Update6¶
This article will introduce how to deploy DCE 5.0 on the NeoKylin Linux Advanced Server V7Update6 operating system.
Prerequisites¶
- Read the deployment architecture in advance to confirm the deployment mode.
- Read the deployment requirements in advance to confirm if the network, hardware, and ports meet the requirements.
- Read the preparation work in advance to confirm the machine resources and pre-checks.
-
Make sure to install
iptables
andiproute
on the node in advance.# Install iptables wget https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/iptables-1.4.21-35.el7.x86_64.rpm rpm -ivh iptables-1.4.21-35.el7.x86_64.rpm iptables --version # Install iproute wget https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/iproute-4.11.0-30.el7.x86_64.rpm rpm -ivh iproute-4.11.0-30.el7.x86_64.rpm
Offline Installation¶
-
Download the full mode offline package, you can download the latest version from the download center.
CPU Architecture Version Download Link AMD64 v0.22.0 https://qiniu-download-public.daocloud.io/DaoCloud_Enterprise/dce5/offline-v0.22.0-amd64.tar Once downloaded, extract the offline package:
-
Download the NeoKylin Linux Advanced Server V7Update6 image file.
-
Create the NeoKylin Linux Advanced Server V7Update6 OS Package offline package.
Prerequisites:
-
Check if
libselinux-python
exists. If not, refer to the dependency installation method below. -
Install dependencies
device-mapper-libs
,conntrack
,sshpass
, Check the download link for dependencies. Installation command is as follows: -
Manually modify the
VERSION_ID="7"
in the os-release file.
Refer to Creating OS Package Offline Package to start creating the offline package.
-
-
Download the addon offline package, you can download the latest version from the download center (optional).
-
Set up the cluster configuration file clusterConfig.yaml, you can obtain this file under the offline package
offline/sample
and modify it as needed. The reference configuration is:apiVersion: provision.daocloud.io/v1alpha3 kind: ClusterConfig metadata: creationTimestamp: null spec: clusterName: my-cluster masterNodes: - nodeName: "master1" ip: 10.6.135.199 ansibleUser: "root" ansiblePass: "dangerous@2024" workerNodes: [] osRepos: type: none # (1)! imagesAndCharts: type: builtin binaries: type: builtin loadBalancer: type: NodePort fullPackagePath: /home/offline
- Change to
none
.
- Change to
-
Start installing DCE 5.0.
Note
You can check more parameters by using
./dce5-installer --help
:-z
Minimal installation-c
Specify the cluster configuration file, not required when exposing the console using NodePort-d
Enable debug mode--serial
Specify all installation tasks to be executed serially
-
After the installation is completed, the command line will indicate a successful installation. Congratulations! You can now explore the brand new DCE 5.0 using the URL provided in the prompt with the default account and password (admin/changeme)!
Success
Please make a note of the provided URL for future access.
-
After successfully installing DCE 5.0 Enterprise, please contact us for authorization: Email info@daocloud.io or call 400 002 6898.