会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yugengde
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2018年2月28日
redis常见问题
摘要: 强制关闭Redis快照导致不能持久化。 解决方案: 运行config set stop-writes-on-bgsave-error no 命令后,关闭配置项stop-writes-on-bgsave-error解决该问题。 root@ubuntu:/usr/local/redis/bin# ./r
阅读全文
posted @ 2018-02-28 16:32 yugengde
阅读(102)
评论(0)
推荐(0)
2018年2月27日
scp
摘要: scp -P 20536 Twisted-17.9.0.tar.bz2 58.221.71.10:/home/scp -P 20530 Twisted-17.9.0.tar.bz2 58.221.71.10:/home/scp -P 22192 Twisted-17.9.0.tar.bz2 223.
阅读全文
posted @ 2018-02-27 10:39 yugengde
阅读(102)
评论(0)
推荐(0)
2018年2月26日
redis数据库的安装
摘要: 1. 下载 2. 解压 3. make mkdir /etc/redis cp redis.conf /etc/redis/
阅读全文
posted @ 2018-02-26 16:39 yugengde
阅读(88)
评论(0)
推荐(0)
linux+phantomjs
摘要: 1. 下载 2. 解压配置 3. 设置软连接
阅读全文
posted @ 2018-02-26 16:17 yugengde
阅读(120)
评论(0)
推荐(0)
git带端口连接远程服务器
摘要: 远程连接
阅读全文
posted @ 2018-02-26 14:36 yugengde
阅读(394)
评论(0)
推荐(0)
算法
摘要: # 搜索最小值 def index_of_minimum(lyst): """Returns the index of the minimum item.""" min_index = 0 current_index = 0 while current_index lyst[current_index]: min_index = cur...
阅读全文
posted @ 2018-02-26 11:12 yugengde
阅读(111)
评论(0)
推荐(0)
python格式化字符串
摘要: “%-10d” 左对齐 “%10d” 右对齐 for exponent in range(7, 11): print("%-8d%20d" % (exponent,10**exponent)) “%6.3f” %3.14 输出为 3.140
阅读全文
posted @ 2018-02-26 10:22 yugengde
阅读(87)
评论(0)
推荐(0)
2018年2月23日
mongdb添加用户(使用密码登录)
摘要: 1. user admin db.createUser({user:"admin", pwd:"password", roles:[{role: "userAdminAnyDatabase", db: "admin"}]}) 2. 使用权限启动MongoDB ./mongod --dbpath /p
阅读全文
posted @ 2018-02-23 17:54 yugengde
阅读(157)
评论(0)
推荐(0)
2018年2月22日
centos6下安装python3环境
摘要: 1. 下载python3.6 wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz 2. 解压缩 tar -zxvf Python-3.6.4.tgz mkdir -p /usr/local/python3 3. 安装依赖 yum
阅读全文
posted @ 2018-02-22 17:54 yugengde
阅读(165)
评论(0)
推荐(0)
xshell的配色方案
摘要: 1. ubuntu
阅读全文
posted @ 2018-02-22 16:46 yugengde
阅读(115)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告