会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
山外云
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2018年6月24日
saltstack 实现redis主从
摘要: centos7.4 172.16.80.5 redis 主 172.16.80.6 redis 从 目录结构如下 [root@zabbix redis]# vim /srv/salt/base/top.sls Vim files/redis.conf 修改如下配置文件 bind {{ IPADDR
阅读全文
posted @ 2018-06-24 10:42 厚德载物_VIP
阅读(327)
评论(0)
推荐(0)
2018年6月7日
python类基础
摘要: #coding:gbk class Person(): def __init__(self,age,gender,height,weight): self.age = age self.gender = gender self.height = height self.weight = weight
阅读全文
posted @ 2018-06-07 22:26 厚德载物_VIP
阅读(166)
评论(0)
推荐(0)
2018年6月2日
Mysql 数据库备份工具 xtrabackup
摘要: 1、安装测试数据库mysql5.7 详细步骤 xtrabackup工具介绍 yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm -y [r
阅读全文
posted @ 2018-06-02 10:14 厚德载物_VIP
阅读(613)
评论(0)
推荐(0)
2018年5月30日
Python函数式编程
摘要: 定义:对别的函数进行封装,运算,操作的函数 参数: 支持传别的函数名 任意参数 *args **kwargs #coding:gbk def test(m,n): return m+n def func(func_name,*args,**kwargs): ret = func_name(*args
阅读全文
posted @ 2018-05-30 22:34 厚德载物_VIP
阅读(156)
评论(0)
推荐(0)
小米监控 open-falcon部署
摘要: 具体详情请参考官方文档 http://book.open-falcon.org/zh_0_2/quick_install/ centos6.8 建议centos7系统 否则后面按照官方文档来是有很多问题的 需要解决Python依赖问题 Python2.7 版本以上,由于centos6.8 pyhto
阅读全文
posted @ 2018-05-30 11:52 厚德载物_VIP
阅读(1141)
评论(0)
推荐(0)
zabbix3.4 源码部署
摘要: centos6.8 系统 zabbix3.4.9 msyql5.7.22 php5.6.24 在centos6上面源码部署zabbix.3.4 问题比较多,需要花不少时间去解决,建议在centos7上面部署zabbix3.4 我这因为公司提供的是centos6.8的系统 1、准备 LNMP环境 ng
阅读全文
posted @ 2018-05-30 09:35 厚德载物_VIP
阅读(322)
评论(0)
推荐(0)
2018年5月29日
Python函数进阶
摘要: 1、嵌套函数 函数体中包含一个完整的函数,也可以叫作子函数 嵌套函数作用域问题 作用域: 内函数可以访问外函数的作用域。 外部函数不能访问内部函数的作用域。 #coding:gbk def test(m,n): def test1(): print('hehe') return m+n return
阅读全文
posted @ 2018-05-29 21:22 厚德载物_VIP
阅读(109)
评论(0)
推荐(0)
2018年5月28日
Python函数基础
摘要: 函数是将程序中的一段通用代码封装起来,起个名字,程序的其他地方可以方便的调用 函数的定义 def 函数名(参数1,参数2...) do something... return 值/对象、函数等 #coding:gbk def python_class(n): print("周六有%s位学习Pytho
阅读全文
posted @ 2018-05-28 21:35 厚德载物_VIP
阅读(118)
评论(0)
推荐(0)
2018年5月26日
django初识
摘要: 1、django环境构建 Python版本 3.6 pip install Django==1.10 方式安装django 1.10版本 python -m pip install --upgrade pip pip install Django==1.10 验证结果 加入django项目的环境变量
阅读全文
posted @ 2018-05-26 11:01 厚德载物_VIP
阅读(124)
评论(0)
推荐(0)
2018年5月25日
分布式文件系统FastDFS集群部署
摘要: 1、源码开放下载地址:https://github.com/happyfish100 早期源码开放下载地址:https://sourceforge.net/projects/fastdfs/files/ 官网论坛:http://bbs.chinaunix.net/forum-240-1.html 2
阅读全文
posted @ 2018-05-25 11:07 厚德载物_VIP
阅读(299)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告