linux kylin系统

Last updated on October 22, 2024 am

🧙 Questions

麒麟系统相关命令

☄️ Ideas

查看版本号
cat /etc/kylin-release
cat /etc/lsb-release
cat /etc/os-release
cat /proc/version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
DISTRIB_KYLIN_RELEASE=V10
DISTRIB_VERSION_TYPE=enterprise
DISTRIB_VERSION_MODE=normal

centos的os文件

vim /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
vim /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
软件下载

dists 是索引
pool 是实际的安装包

搜索软件包
dnf search <package>
dnf search crypto
dnf remove openssl
查看库
ldconfig
ldconfig -p | grep libcrypto.so
ldconfig -p | grep libssl.so
安装openssl
rpm -ivh openssl-libs-1.0.2k-19.el7.x86_64.rpm --force
添加软件仓库
vim /etc/yum.repos.d/kylin_x86_64.repo
[sp2-os]
name=ks10-sp2-os
baseurl=http://172.31.2.31:8088/ks10-adv-os
enabled=1
gpgcheck=0

[sp2-update]
name=ks10-sp2-updates
baseurl=http://172.31.2.31:8088/ks10-adv-updates
enabled=1
gpgcheck=0
sudo yum clean all && yum makecache

linux kylin系统
https://ispong.isxcode.com/os/linux/linux kylin系统/
Author
ispong
Posted on
October 15, 2024
Licensed under