美文网首页
【信创】Kylin-Server 软件仓库

【信创】Kylin-Server 软件仓库

作者: Bogon | 来源:发表于2023-09-23 00:01 被阅读0次

下载 Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso

# wget  https://sx.ygwid.cn:4431/iso/Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso

--2023-09-23 17:12:00--  https://sx.ygwid.cn:4431/iso/Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso
正在解析主机 sx.ygwid.cn (sx.ygwid.cn)... 36.249.173.109, 2409:8a34:1ed2:def1::2cb
正在连接 sx.ygwid.cn (sx.ygwid.cn)|36.249.173.109|:4431... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:4578914304 (4.3G) [application/octet-stream]
正在保存至: “Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso”

Kylin-Server-V10-SP3-General-Release-2303- 100%[=======================================================================================>]   4.26G  11.1MB/s  用时 6m 38s

2023-09-23 17:18:38 (11.0 MB/s) - 已保存 “Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso” [4578914304/4578914304])

# mount  Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso  /mnt/
mount: /mnt: WARNING: source write-protected, mounted read-only.

# ll /mnt/
总用量 544
dr-xr-xr-x 3 root root   2048  3月 15  2023 EFI
dr-xr-xr-x 3 root root   2048  3月 15  2023 images
dr-xr-xr-x 2 root root   2048  3月 15  2023 isolinux
dr-xr-xr-x 5 root root   2048  3月 24  2023 kylin-sm-package
-r--r--r-- 1 root root    441  3月 31 21:06 LICENSE
dr-xr-xr-x 2 root root   2048  3月 15  2023 manual
dr-xr-xr-x 2 root root 538624  3月 24  2023 Packages
dr-xr-xr-x 2 root root   4096  3月 24  2023 repodata
-r--r--r-- 1 root root   2883  3月 31 21:06 TRANS.TBL


# ll /mnt/Packages/ | wc -l
2885

Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso 镜像文件中只提供 2885 个包。

image.png

如果使用联网的yum仓库,有一万多个包,相当于CentOS7.x 的epel源了。

# cat /etc/yum.repos.d/kylin_x86_64.repo

###Kylin Linux Advanced Server 10 - os repo###

[ks10-adv-os]
name = Kylin Linux Advanced Server 10 - Os
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 1

[ks10-adv-updates]
name = Kylin Linux Advanced Server 10 - Updates
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/updates/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 1

[ks10-adv-addons]
name = Kylin Linux Advanced Server 10 - Addons
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/addons/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 0
# yum list  all   | wc -l
15717
image.png

如果要在内网离线环境下安装 Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso 中没有的rpm包参考下面文章思路,将 15717 个包下下来拷贝到内网环境,制作离线yum源供内网使用。

CentOS7.x上下载epel源中rpm包,搭建离线仓库
https://www.jianshu.com/p/5ec662cd2c1a

相关文章

网友评论

      本文标题:【信创】Kylin-Server 软件仓库

      本文链接:https://www.haomeiwen.com/subject/rnmtbdtx.html