共有 49 篇文章
Xset
2022-08-01 - 2024-09-18
xset:用于设置显示器的各种用户属性选项。如果想要持久化设置,可以将设置写入.xinitrc文件中。 dpms(Display Power Manage System)和屏保是互相作用
Debian APT源
2022-07-14 - 2024-09-18
编辑 apt install apt-transport-https ca-certificates vim /etc/apt/sources.list Debian 11 # Official & Contrib & Non-free deb https://deb.debian.org/debian bullseye main contrib non-free deb-src https://deb.debian.org/debian bullseye main contrib non-free deb https://deb.debian.org/debian-security bullseye-security main contrib non-free deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free deb https://deb.debian.org/debian bullseye-updates main contrib non-free deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free # Backports deb https://deb.debian.org/debian bullseye-backports main contrib non-free deb-src https://deb.debian.org/debian bullseye-backports main contrib non-free Debian 12 # apt install apt-transport-https ca-certificates deb https://deb.debian.org/debian/ bookworm contrib main non-free non-free-firmware
开启SSH服务
2022-07-14 - 2024-09-18
安装SSH服务 apt-get install openssh-server 修改SSH配置文件 vim /etc/ssh/sshd_config 配置项 # 监听端口 Port 22 # 监听地址 ListenAddress 0.0.0.0 # 是否允许root用户登录 PermitRootLogin yes # 允许密码认证 PasswordAuthentication yes # 允许密钥认证 PubkeyAuthentication yes # 客户端保活 ClientAliveInterval 60 ClientAliveCountMax
Ubuntu Error: ENOSPC:System limit for number of file watchers reached
2020-01-03 - 2024-09-18
Ubuntu Error: ENOSPC:System limit for number of file watchers reached
xshell登录服务器提示符显示-bash-4.2#解决方法
2019-09-29 - 2024-09-18
突然发现root登录的xshell的终端提示符显示的是-bash-4.2# 而不是root@主机名 + 路径的显示方式。搞了半天也不知道为什么出现这种情况。今天终于搞定这个问题,