醉卧烟雨's Blog

用文字留住逝去的时光

在/etc/sysctl.conf文件中增加以下命令行: net.ipv4.icmp_echo_ignore_all = 1 保存文件,接着执行以下命令使其生效。 sysctl -p  

发布 2 条评论

vim /etc/ssh/sshd_config 没安装vim则用 vi /etc/ssh/sshd_config 在#Port 22行去掉#号注释,同时加入想要使用的端口号如 Port 61228 # If you want to change the port on a SELinux system, you have to tell # SELinux abo...

发布 0 条评论