我是 Fedora BFU 的老手,我决定为我的新戴尔 XPS 切换到 Debian。不幸的是,在全新安装时,我只能使用微型 CLI 并且没有互联网连接,因为 GPU 和网卡似乎都需要额外的驱动程序才能工作。我在网上找到了这两个驱动程序,但我无法安装它们。
GPU 驱动程序需要cc
在 $PATH 中,但我认为我完全缺少 GCC:
gcc # command not found,
man gcc # no manual entry for gcc
Run Code Online (Sandbox Code Playgroud)
使用 Realtek,我无法制作安装程序: make # make: command not found
我有点惊讶,我没有得到gcc
和make
开箱即用的-有从USB驱动器安装这些应用程序的基本的一些捆绑多个简单的方法?
作为工作的一部分,我使用几个不同的 Nodejs 实时服务器,并且我的工具/工作流程中似乎存在某种泄漏,导致文件观察器随着时间的推移而累积,直到达到系统限制。然后我收到以下 cli 错误:
Error from chokidar (<path-to-folder>): Error:
ENOSPC: System limit for number of file watchers reached, watch '<path-to-folder>/<filename>'
Run Code Online (Sandbox Code Playgroud)
我发现以下命令应该返回使用的 wile 观察者的数量:
find /proc/*/fd -user "$USER" -lname anon_inode:inotify -printf '%hinfo/%f\n' 2>/dev/null | xargs cat | grep -c '^inotify'
Run Code Online (Sandbox Code Playgroud)
它返回 515160,尽管我似乎已经关闭了所有实时服务器。我有两组问题:
我运行的是 Debian 11