11 2018 档案

CentOS 7 / RHEL 7:修改OpenSSH 默认端口
摘要:1、备份sshd_config 2、vi /etc/ssh/sshd_config,修改Port 22为其它端口(建议大于1024) 3、因SELINUX仅允许默认ssh的端口22,需要增加新修改的端口 4、如果没有semanage命令,则先执行 再执行以下 5、检查ssh端口的上下文 6、重启ss 阅读全文

posted @ 2018-11-28 16:38 Micro NM 阅读(1383) 评论(1) 推荐(0)

使用command line测试网速
摘要:wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate chmod +x speedtest-cli ./speedt 阅读全文

posted @ 2018-11-02 13:42 Micro NM 阅读(261) 评论(0) 推荐(0)

导航