摘要: 1:查看防火状态 systemctl status firewalld 2:暂时关闭防火墙 systemctl stop firewalld 3:永久关闭防火墙 systemctl disable firewalld 4:重启防火墙 systemctl enable firewalld 5:永久关闭 阅读全文
posted @ 2019-04-02 11:16 今天早点睡 阅读(286) 评论(0) 推荐(0)
摘要: 2、检查文件是否允许: file.canExecute(); – return true, file is executable; false is not. file.canWrite(); – return true, file is writable; false is not. file.c 阅读全文
posted @ 2019-04-02 11:14 今天早点睡 阅读(2025) 评论(0) 推荐(0)
摘要: scp -r 文件名/目录名 root@192.168.2.144:/home/hsw -r 发送目录使用,表示把该目录下的所有子目录以及文件发送过去 scp -r 文件名/目录名 root@192.168.2.144:/home/hsw -r 发送目录使用,表示把该目录下的所有子目录以及文件发送过 阅读全文
posted @ 2019-04-02 11:12 今天早点睡 阅读(1477) 评论(0) 推荐(0)