zoukankan      html  css  js  c++  java
  • 防火墙命令

    本地连接上centos7-1  进行操作
    ***************************************
    防火墙操作
    1. 停止防火墙:  
        [root@centos7-1 ~]# service iptables stop
    
    2.关闭防火墙  和查看状态 : //注:查看状态还没有关闭
        [root@centos7-1 ~]# systemctl stop firewalld
        [root@centos7-1 ~]# systemctl status firewalld
        //继续关闭
        [root@centos7-1 ~]# chkconfig firewalld off   //会报错  ,没有禁用
        [root@centos7-1 ~]# systemctl disable firewalld   开启禁用
        [root@centos7-1 ~]# systemctl status firewalld  //查看状态
    
    **********************
    
    配置密钥 
    
    1.生成密钥文件和私钥文件   
         [root@centos7-1 ~]# ssh-keygen -t rsa
    
    2.将你的公共密钥填充到一个远程机器上的authorized_keys文件中
        [root@centos7-1 ~]# ssh-copy-id 192.168.217.10
    *********************************************************
    
    配置slasticsearch插件   没有插件不能安装slasticsearch
    
    
    注:检查一下是否有网  才能下载
        先重启网卡  service network restart
  • 相关阅读:
    沙雕玩意儿
    1558:聚会 ybt
    沙雕关于线段树的一点总结(滑稽)
    卑微
    沙雕题目 来自luogu
    甜茶好帅啊
    python 中字符串的格式化
    python的几个小程序
    python 第一课
    基于笔画宽度变换的自然场景文本检测方法
  • 原文地址:https://www.cnblogs.com/JBLi/p/11403068.html
Copyright © 2011-2022 走看看