摘要: 带参数的装饰器 示例一:Python自带的装饰器函数 示例二:装饰器带参数的使用(三层嵌套) 多个装饰器装饰一个函数 注意事项 @装饰器名称,装饰器名称会被当成执行内容先执行,'@装饰器'这个东西要查分成两部分看 一定要记住装饰器的在执行过程中的先后顺序 阅读全文
posted @ 2019-03-10 12:50 寻真丶 阅读(122) 评论(0) 推荐(0)
摘要: 部署环境 操作系统:Centos 7.4 软件版本:vsftpd 3.0 服务地址:192.168.1.112 工作原理 vsftpd工作原理分为主动模式与被动模式 主动模式:用来做数据连接,用来上传或者下载数据,不支持ftp命令; 被动模式:用来做命令连接,用来进行客户端与服务端之间进行命令传递; 阅读全文
posted @ 2019-03-08 17:50 寻真丶 阅读(454) 评论(0) 推荐(0)
摘要: 配置源 [GuGe] name=GuGe baseurl=ftp://192.168.1.82 gpgcheck=0 enable=1 安装 sh-4.2# yum -y install gcc gcc-c++ wget sh-4.2# wget http://download.redis.io/r 阅读全文
posted @ 2019-03-07 16:52 寻真丶 阅读(190) 评论(0) 推荐(0)
摘要: 配置源 [influxdb] name = InfluxDB Repository - RHEL \$releasever baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable enabled = 1 g 阅读全文
posted @ 2019-03-07 16:20 寻真丶 阅读(145) 评论(0) 推荐(0)
摘要: 安装 sh-4.2# yum install https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm sh-4.2# yum install postgre 阅读全文
posted @ 2019-03-07 16:15 寻真丶 阅读(179) 评论(0) 推荐(0)