Firewall command

Local connection centos7-1   operating
 *************************************** 
firewall action
 1 stop firewall:   
    [root @ centos7 -1 ~ ] # iptables Service sTOP

 2. Turn off the firewall and view the status: // NOTE: To view the status has not closed 
    [root @ centos7-1 ~ ] # systemctl sTOP firewalld 
    [root @ centos7 - ~ 1 ] # systemctl Status firewalld
     // remain closed 
    [root @ centos7-1 ~] # chkconfig firewalld OFF    // will complain, not disabled 
    [root @ centos7-1 ~ ] # systemctl disable firewalld open disable 
    [root @ centos7 -1 ~] # systemctl status firewalld   // check the status of
 
**********************

Configuration key

 1 generation key and the key file.    
     [Root @ centos7 -1 ~] # SSH-keygen - T RSA

 2 . Filled authorized_keys your public key to a file on a remote machine 
    [root @ centos7 ~ -1] SSH-Copy-ID # 192.168.217.10 
************************************* ******************** 

configuration slasticsearch plugin is not plug-in can not be installed slasticsearch 


Note: check to see if there are network to download 
    to restart the card service network restart

 

Guess you like

Origin www.cnblogs.com/JBLi/p/11403068.html
Recommended