摘要:
# 安装ansibleyum install epel-release -yyum install ansible -y # 配置文件及参数ansible 的配置文件为/etc/ansible/ansible.cfg,常见参数如下: inventory = /etc/ansible/hosts #这 阅读全文
摘要:
服务端代码 import socket ip = '127.0.0.1' port = 9000 sk = socket.socket() sk.bind((ip,port)) sk.listen() print('sk:',sk) #sk: <socket.socket fd=468, famil 阅读全文