摘要: 搬运文 1.1 [/usr]/lib/systemd/system/ (软件包安装的单元) The expectation is that /lib/systemd/system is a directory that should only contain systemd unit files w 阅读全文
posted @ 2021-08-24 16:28 MR__Wang 阅读(746) 评论(0) 推荐(0) 编辑
摘要: #禁止ping net.ipv4.icmp_echo_ignore_all=1 #表示开启SYN Cookies。当出现SYN等待队列溢出时,启用cookies来处理,可防范少量SYN攻击,默认为0,表示关闭; net.ipv4.tcp_syncookies = 1 #表示开启重用。允许将TIME- 阅读全文
posted @ 2021-08-24 12:06 MR__Wang 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 一、/etc/profile 环境变量 用户登录的时候执行sh脚本的顺序,每次登录的时候都会完全执行的 /etc/profile.d/file /etc/profile /etc/bashrc /root/.bashrc /root/.bash_profile 用户脚本,在用户登陆后执行,只有用户权 阅读全文
posted @ 2021-08-24 09:58 MR__Wang 阅读(634) 评论(0) 推荐(0) 编辑