ubuntu 22.04系统中安装cockpit-podman
linux  /  管理员 发布于 2年前   927
上一篇是安装cockpit web管理工具,这篇直接安装cockpit-podman其他就不说了
进行安装:
root@htz:~# apt install cockpit-podman
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cockpit-podman
ps:
直接就报错了,这是提示找不到包,一般是源问题的,你懂得;
我之前没报错就忘记换源了,这里我直接换清华源了
清华源:
https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
换源步骤
先备份一下
root@htz:~# cp /etc/apt/sources.list /etc/apt/sources.list.backup
然后访问清华源的链接,选择你的ubuntu版本: 22.04 LTS
复制一下信息 粘贴至 /etc/apt/sources.list文件中
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
更新源
apt update
安装cockpit-podman就ok了
root@htz:~# apt install cockpit-podman
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfwupdplugin1 libxmlb1
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
cockpit-podman
0 upgraded, 1 newly installed, 0 to remove and 609 not upgraded.
Need to get 480 kB of archives.
After this operation, 500 kB of additional disk space will be used.
Get:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy/universe amd64 cockpit-podman all 45-1 [480 kB]
Fetched 480 kB in 4s (123 kB/s)
Selecting previously unselected package cockpit-podman.
(Reading database ... 110036 files and directories currently installed.)
Preparing to unpack .../cockpit-podman_45-1_all.deb ...
Unpacking cockpit-podman (45-1) ...
Setting up cockpit-podman (45-1) ...
root@htz:~#
看看效果
相关链接:
ubuntu 22.04系统中安装cockpit web图形服务器管理工具
122 在
学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..123 在
Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..博主 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..1111 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..
Copyright·© 2019 侯体宗版权所有·
粤ICP备20027696号