摘要: 当我们在Linux系统上需要执行某个命令的时候,发现此命令对应的软件包并未安装,无法执行,然而又忘记了命令所属的软件包是哪一个,此时我们就可以使用yum provides或apt-file search查询某个文件或命令所属的软件包。 CentOS/Redhat系统: [root@VM-20-10- 阅读全文
posted @ 2025-04-10 22:31 c00kiex 阅读(193) 评论(0) 推荐(0)
摘要: 在某些情况下因为一些原因服务器无法访问互联网下载软件包,此时就需要进行离线安装,我们可以在能上网的服务器上将需要安装软件的rpm离线包下载下来,然后去不能上网的服务器上安装。 如下是两种下载的方法以及区别: 查看依赖包:yum deplist nginx 方法1:repotrack 使用场景:适用于 阅读全文
posted @ 2025-04-10 22:00 c00kiex 阅读(2267) 评论(0) 推荐(0)
摘要: [root@VM-20-10-centos ~]# ll /proc/1263/exe lrwxrwxrwx 1 root root 0 Feb 21 16:28 /proc/1263/exe -> /usr/sbin/sshd 阅读全文
posted @ 2025-04-10 21:27 c00kiex 阅读(11) 评论(0) 推荐(0)
摘要: Ubuntu:https://releases.ubuntu.com/ CentOS:https://vault.centos.org/ 阅读全文
posted @ 2025-04-10 10:56 c00kiex 阅读(64) 评论(0) 推荐(0)
摘要: Ubuntu:https://archive.kernel.org/ubuntu-archive/releases/ 例如Ubuntu22.04:https://archive.kernel.org/ubuntu-archive/releases/22.04/ CentOS:https://arch 阅读全文
posted @ 2025-04-10 10:42 c00kiex 阅读(1211) 评论(1) 推荐(0)