摘要:
一键安装Homebrew /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
阅读全文
posted @ 2025-03-01 20:57
Atrixin
阅读(2)
推荐(0)
摘要:
Windows自带Dism命令检查和修复系统映像文件 DISM.exe /Online /Cleanup-image /Restorehealth DISM 使用 Windows 更新 作为源来提供必要的文件。 但是,如果Windows 更新客户端损坏,则可以使用正在运行的 Windows 安装或来
阅读全文
posted @ 2025-01-07 10:12
Atrixin
阅读(96)
推荐(0)
摘要:
Debian设置允许root用户以ssh方式登录 debian默认不允许以root用户登录,必须以其他用户登录,然后su命令切换到root用户才可以操作1.修改/etc/ssh/sshd_config文件 #将以下配置改为:PermitRootLogin yes #PermitRootLogin p
阅读全文
posted @ 2023-08-09 13:50
Atrixin
阅读(505)
推荐(0)
摘要:
查看防火墙规则 iptables -L 例如要放行8888端口 iptables -I INPUT -p tcp --dport 8888 -j ACCEPT 开启一个范围的端口 iptables -A INPUT -p tcp --dport 51000:60000 -j ACCEPT 然后保存放
阅读全文
posted @ 2023-08-04 11:25
Atrixin
阅读(1822)
推荐(0)
摘要:
查看服务的监听 netstat -ntlp
阅读全文
posted @ 2023-02-08 16:40
Atrixin
阅读(17)
推荐(0)
摘要:
SS的重启 开始 停止命令 ssserver -c /etc/shadowsocks.json -d start ssserver -c /etc/shadowsocks.json -d stop ssserver -c /etc/shadowsocks.json -d restart 启动脚本后面
阅读全文
posted @ 2018-10-09 00:06
Atrixin
阅读(3)
推荐(0)
摘要:
1.查看系统上运行的当前版本的Linux内核 ,请使用以下命令 $ uname -srLinux 4.12.0-041200-generic 要列出系统上的所有安装的内核,请发出此命令。 dpkg -l | grep linux-image | awk '{print$2}'linux-image-
阅读全文
posted @ 2017-04-04 21:46
Atrixin
阅读(374)
推荐(0)