Galaxy Kirin v10x86 or arm offline installation service

Galaxy Kirin v10x86 or arm offline installation service

  • There was a project recently. Party A’s servers used all domestically produced servers, Galaxy Kirin. The architecture was x86 and it was unable to connect to the external network. It required offline installation services.
  • The normal idea is to find the offline installation package and then copy it to the on-site server for installation.
  • So the problem is how to find the package installed offline

How to find offline installed packages

  • This time I need to install offline nginx and keepalived
  • First of all, you need a server with Bank Kirin installed, which needs to be the same version as the on-site server.
[root@client1 ~]# uname -a
Linux client1 4.19.90-24.4.v2101.ky10.x86_64 #1 SMP Mon May 24 12:14:55 CST 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Then you can start preparing to download the package

Install nginx offline

yum install nginx
[root@client1 ~]# yum install nginx
Last metadata expiration check: 0:57:35 ago, executed at 08:26:40 on Thursday, October 26, 2023.
Dependencies are resolved.
================================================== ================================================== ================================================== ===============================
 Package Architecture Version Repository Size
================================================== ================================================== ================================================== ===============================
Install:
 nginx x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 493 k
Install dependencies:
 gperftools-libs x86_64 2.8-1.ky10 ks10-adv-os 265 k
 libunwind x86_64 1.3.1-3.ky10 ks10-adv-os 55k
 nginx-all-modules noarch 1:1.21.5-2.p01.ky10 ks10-adv-updates 7.6 k
 nginx-filesystem noarch 1:1.21.5-2.p01.ky10 ks10-adv-updates 8.6 k
 nginx-mod-http-image-filter x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 17 k
 nginx-mod-http-perl x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 26 k
 nginx-mod-http-xslt-filter x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 16 k
 nginx-mod-mail x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 48 k
 nginx-mod-stream x86_64 1:1.21.5-2.p01.ky10 ks10-adv-updates 70 k

transaction summary
================================================== ================================================== ================================================== ===============================
Install 10 packages

  • Then you need to download these 10 dependencies.
  • Enter the URL https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/base/x86_64/Packages/ and search for nginx

, and then gperftools-libs is also found and downloaded.

  • Upload the downloaded rpm package to the server and execute yum localinstall ./*.rpm
[root@client1 package]# yum localinstall ./*.rpm
Last metadata expiration check: 1:03:55 ago, executed at 08:26:40 on Thursday, October 26, 2023.
Dependencies are resolved.
================================================== ================================================== ================================================== ===============================
 Package Architecture Version Repository Size
================================================== ================================================== ================================================== ===============================
Install:
 gperftools-libs x86_64 2.8-1.ky10 @commandline 265 k
 nginx x86_64 1:1.16.1-7.ky10 @commandline 477 k
 nginx-all-modules noarch 1:1.16.1-7.ky10 @commandline 7.9 k
 nginx-filesystem noarch 1:1.16.1-7.ky10 @commandline 8.9 k
 nginx-help noarch 1:1.16.1-7.ky10 @commandline 71 k
 nginx-mod-http-image-filter x86_64 1:1.16.1-7.ky10 @commandline 17 k
 nginx-mod-http-perl x86_64 1:1.16.1-7.ky10 @commandline 26 k
 nginx-mod-http-xslt-filter x86_64 1:1.16.1-7.ky10 @commandline 16 k
 nginx-mod-mail x86_64 1:1.16.1-7.ky10 @commandline 45 k
 nginx-mod-stream x86_64 1:1.16.1-7.ky10 @commandline 68 k
Install dependencies:
 libunwind x86_64 1.3.1-3.ky10 ks10-adv-os 55k

transaction summary
================================================== ================================================== ================================================== ===============================
Install 11 packages

  • Then I found that I also needed to download libunwind, so I downloaded it in the same way. Just follow this process to download all the required rpm packages.
  • It is quite convenient, so you can download step by step with confidence. The reason why you don’t need to use yum -y install --downloadonly --downloaddir /home/package nginx is that this command directly downloads the packages required by nginx. down, but I found that there were omissions in the package downloaded in this way, so I still downloaded it step by step and relied on insurance.
  • In the same way, I also downloaded the keepalived package and verified it through offline installation. It is feasible.

Kirin v10arm version package download

[root@localhost ~]# uname -a
Linux localhost.localdomain 4.19.90-52.15.v2207.ky10.aarch64 #1 SMP Thu Nov 24 15:59:41 CST 2022 aarch64 aarch64 aarch64 GNU/Linux
  • Also install an arm Galaxy Kirin, and then find the required package in the same way.
  • Then go to https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/base/aarch64/Packages/ to search for the required package
  • Then you can download all the arm packages in the same way as before. These packages are all in line with the Galaxy Kirin version, which is more stable and secure than other architectures you can find online.