欢迎访问我的独立博客
摘要: 法一: 可直接在config.inc.php里添加数据库连接信息即可 不过这种方式需要将连接信息写在配置文件中,有点麻烦。 这种后面省事,不用填信息,选择一下即可。 法二。 可以选择下面这种方式。 登录时本地可填localhost 其它远程服务器可填IP:Port 阅读全文
posted @ 2016-10-08 16:35 github.com/starRTC 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑