欢迎访问我的独立博客
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 67 下一页
摘要: PhpMyAdmin 傻瓜级的 Web 页面管理器,无需到处安装,只需一台支持 PHP 运行环境的服务器 功能上一般只限数据表的增删改查 在一台安装了phpmyadmin的机器上是可以连其它服务器上的数据库的 $cfg['Servers'][$i]['host'] = 'localhost'; $c 阅读全文
posted @ 2016-10-08 16:01 github.com/starRTC 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 此文作者是新浪微博平台架构师杨卫华timyang大师,是他对Redis研究的一个总结,澄清了一些认识上的误区,值得一读。 James Hamilton在On Designing and Deploying Internet-Scale Service中的第一条经验“Design for failur 阅读全文
posted @ 2016-10-08 13:41 github.com/starRTC 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 2015-07-22 23:31:46本文由 伯乐在线 - 刘晓鹏 翻译,黄利民 校稿。未经许可,禁止转载!英文出处:Joe Engel。欢迎加入翻译组。在这篇文章中,我们将阐述 Redis 最常用的使用场景,以及那些影响我们选择的不同特性。1、会话缓存(Session Cache)最常用的一种使用 阅读全文
posted @ 2016-10-08 13:34 github.com/starRTC 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 我们使用phpredis,这个扩展能让你用PHP操作redis。 源码下载: phpize ./configure make && make install phpize ./configure make && make install 在php.ini 文件中,添加配置: [redis]exten 阅读全文
posted @ 2016-10-08 13:27 github.com/starRTC 阅读(350) 评论(0) 推荐(0) 编辑
摘要: Redis是REmote DIctionary Server的缩写。 是一个使用 C 语言写成的,开源的 key-value 非关系型数据库。跟memcached类似,不过数据可以持久化。Redis的所有数据都保存在内存中,然后不定期的通过异步方式保存到磁盘上(称为“半持久化模式”);也可以把每一次 阅读全文
posted @ 2016-10-08 11:17 github.com/starRTC 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 脚本内容如下; #!/bin/bash## redis - this script starts and stops the redis-server daemon## chkconfig: - 80 12# description: Redis is a persistent key-value 阅读全文
posted @ 2016-10-08 10:06 github.com/starRTC 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 关于编译报错“dereferencing pointer to incomplete type... 多是没找到结构体的定义,可以在本地复制其定义试试。 参考: http://my.oschina.net/michaelyuanyuan/blog/68203?fromerr=BcJtRGrT 阅读全文
posted @ 2016-09-30 18:41 github.com/starRTC 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 从本地复制到远程 scp mysql-5.5.29-linux2.6-x86_64.tar.gz 192.168.1.11:/opt 指定端口: scp -P 60022 /opt/ray/nginx-1.5.3.tar.gz 192.168.160.44:/opt/ray/ 如果报错“bash: 阅读全文
posted @ 2016-09-30 18:40 github.com/starRTC 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 主服务器上(注:应该是允许从机访问) GRANT REPLICATION SLAVE ON *.* to ‘rep1’@’192.168.10.131’ identified by ‘password’; 从服务器 将 server-id = 1修改为 server-id = 10,并确保这个ID没 阅读全文
posted @ 2016-09-30 18:40 github.com/starRTC 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 这个好像是nginx故意这样做的。 因为Nginx默认的log_format使用双引号作为间隔符,为了避免日志分析时候出现混乱,所以将双引号解析为x22了。 只能每天日志切割的时候,自己替换日志中的x22字符为双引号了 我的解决方法: sed 's#\\x22#"#g' test.txt 可以把\x 阅读全文
posted @ 2016-09-30 18:40 github.com/starRTC 阅读(1106) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 67 下一页