linux 安全配置
linux 安全 1- 修改 ssh 默认端口 2- 禁止密码登录 3- 设置SSH空闲超时退出时间服务配置 编辑/etc/ssh/sshd_config,将ClientAliveInterval 设置为300到900,即5-15分钟,将ClientAliveCountMax设置为0-3之间。 ClientAliveInterval 600 Clie...
51工具盒子
linux 安全 1- 修改 ssh 默认端口 2- 禁止密码登录 3- 设置SSH空闲超时退出时间服务配置 编辑/etc/ssh/sshd_config,将ClientAliveInterval 设置为300到900,即5-15分钟,将ClientAliveCountMax设置为0-3之间。 ClientAliveInterval 600 Clie...
linux服务器怎么安装360杀毒软件 {#articleContentId} ======================================= [linux服务器怎么安装360杀毒软件,360主机卫士Linux版使用安装教程-CSDN博客](https://blog.csdn.net/weixin_36037417/article/details/116731...
linux 占用内存最高的程序 ps aux --sort=-%mem | head 
1- 查看历史命令记录 输出到文本中 history >> hist.txt 2- 查看文件 /root/ .bash_history
<p>linux 查询某个服务的网络用量</p> <p><a href="https://help.aliyun.com/zh/ecs/support/query-and-case-analysis-of-linux-network-traffic-load?spm=5176.smartservice_service_robo...
Linux Shell脚本,删除旧文件,保留最新的几个文件 删除某一目录下文件,只保留最新的几个 cat keepnewfile.sh #!/bin/bash #保留文件数 ReservedNum=2 FileDir=/tmp/0zhaozhiyong/testkeep #*.html为文件类型,不写查找所有文件 ...
简单的理解就是 envsubst 将环境变量的值替换为它们的值 有点绕口, 怎么理解呢? 上案例 注意:`envsubst`仅替换环境中已定义的环境变量的值。如果一个变量没有定义,它将被替换为一个空字符串 我们编写一个文件, 里边定义了几个变量: cat 1.txt <br /> ` ` c=10 d=20 $c ...
<p>内核fork</p> <pre><code>Updates InformationSummary: available38 Security notice(s)14 Important Securitu notice(s21 Moderate Securitu notice(s) 3 Low Securitu notice(...
linux 文件被删除恢复的方法 /var/log/secure: No such file or directory lsof | grep /var/log/secure  2.5. Custom OpenSSL ------------------- 1. To use your vendor's ...