CENTER OS7 turn off firewall

CentOS 7.0 uses firewall as the firewall by default, and the previous version used iptables. Therefore, you cannot view the firewall status by executing the following command in CentOS 7. [root@localhost ~]# service iptables status Redirecting to /bin/systemctl status iptables.service Unit iptables.service could not be found. ...

Posted on Sat, 04 Apr 2020 09:40:53 -0700 by uNF

Firewall policy of Mysql remote access in Centos7

Firewall policy - port access Setup steps Detection port If you cannot connect to Mysql remotely, check whether the default 3306 port allows access: [root@localhost /]# iptables -L -n|grep 3306 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:3306 allow access to If not, you ne ...

Posted on Fri, 03 Apr 2020 03:22:47 -0700 by jennyp

flannel-a NI network plugin for k8s

k8s designed the network model, but gave the implementation to the network plug-in, and the main function of the CNI network plug-in is POD cross-host resource access to each other. flannel installation: There are two main operations for hdss7-21 and hdss7-22: wget https://github.com/coreos/flannel/releases/download/v0.11.0/flannel-v0.11.0-lin ...

Posted on Fri, 27 Mar 2020 10:58:28 -0700 by mikeweb

squid cache server -- traditional mode

1, Working mechanism of web agentTwo serversIn the traditional mode, the client knows that it is an agentIn transparent mode, the client does not need to be set2, Basic types of agents Traditional agent: suitable for internet, need to specify the server clearly Transparent proxy: clients do not need to specify the address and port of the prox ...

Posted on Wed, 25 Mar 2020 20:37:24 -0700 by TGLMan

Summary of problems in k8s starting container application

1. Create a deployment of nginx, and view the ip information allocated by the pod. ping is used on the node node where the pod is located, but not on the master node Analysis: the first thing I think about is that flanneld is not running normally on two nodes 1. View the network card information of flanneld [root@k8s2-1 ~]# ifconfig docker0: f ...

Posted on Sat, 14 Mar 2020 08:45:29 -0700 by timbo6585

Use postfix and dovecot to deploy your mail system--Learn Notes

The experimental environment is redhat 7.0 systemAs shown in the figure aboveClient uses outlook to send and receive mailThe server sends outgoing mail using postfix, receives mail using dovecot, and forwards the changed user 1. Install dns domain name resolution service 1.1 Configure the server host name, which is consistent with the sending ...

Posted on Sat, 15 Feb 2020 08:27:43 -0800 by murpe

Ubuntu 18.10 install DenyHosts to prevent exposed servers from being blasted by malicious ssh

Today, a friend suddenly remembered to see if the server had been blasted by malicious ssh, but he didn't know if it did. There are still a lot of friends like us after checking on github.. A great God has written the plug-in, just use it directly. Originally, I was going to turn off password acces ...

Posted on Sat, 15 Feb 2020 00:19:18 -0800 by katlis

K8S learning 003 -- using kubeadm to deploy the installation cluster

Article directory Preface 1: Environmental preparation 2: Cluster deployment process 2.1: set system initialization 2.1.1: three nodes initialize the system, showing only the operation of the master node 2.2:kubeadm deployment and installation 2.2.1: docker installation, both master and slave 2.2 ...

Posted on Fri, 14 Feb 2020 05:10:35 -0800 by stewart

snmp4j introduction and Application

Introduction to SNMP SNMP refers to the Simple Network Management Protocol.It belongs to the application layer protocol of the TCP/IP five-layer protocol.It provides a simple and convenient mode to manage elements in a network.The elements here are the managed objects, either a hardware in ...

Posted on Thu, 13 Feb 2020 19:32:20 -0800 by DJH

Physical Machine Installation minikube

Kubernetes (k8s) is an open source platform for automating container operations, based on which you can perform container deployment, resource scheduling, cluster expansion, and so on.If you've used the Docker deployment container before, you can think of the Docker as a component used at the bottom of Kubernetes, which is an upper-level encap ...

Posted on Mon, 20 Jan 2020 11:00:12 -0800 by jowatkins