Posts Tagged ‘ rpm ’
CentOS 5/6 改为可用的 yum 套件库来源 (2022)
若执行 yum 出现:
http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article
表示系统默认的 yum 套件库可能已经不存在!
我们可以在 vault.centos.org 找到可用的套件库来源:
CentOS 5/6 安装 GNOME 与 KDE 桌面环境
最近开始接触 Linode 与 DigitalOcean 这两家的 VPS,里面提供的 Linux 系统都是采“最小安装”,于是我就想试试看是否能安装 GNOME 桌面,再以 xrdp 连接远端桌面。
GroupInstall
yum 本身就提供 groupinstall 的方式来安装套件组,先以下列指令查看有哪些套件组:
$ yum grouplist | more
CentOS 5.x 与 6.x 套件组的名称不太一样,例如桌面环境套件:
CentOS 5.x:
- GNOME: GNOME Desktop Environment
- KDE: KDE (K Desktop Environment)
CentOS 6.x:
- GNOME: Desktop
- KDE: KDE Desktop
以下的步骤是以 CentOS 6.x 来做安装,如果你是用 CentOS 5.x,请自行替换这两个套件组的名称。
INFORMATION
我们解决了什么问题?我们创造了什么价值?
近期回响