0

php下redis与memcache性能对比

Posted in PHP at 十月 29th, 2012 / No Comments »

memcache的安装就不说了。 redis的安装参看这里:http://www.oschina.net/question/12_18065 不过要注意的是cp redis-benchmark redis-cli redis-server /usr/bin/ 可能不成功,也许是版本不同,我安装时这些文件...

These are a lot of tips to make your website an iPhone app so users can save it on their Home screens and access to your site faster. Specifying a Webpage Icon for iPhone Home We have two ways to d...

0

iOS Safari 浏览器 Viewport

Posted in HTML DIV CSS at 十月 29th, 2012 / No Comments »

iOS Sarari 浏览器允许网页 Head 里存在一个 Viewport 声明,用来规范浏览器对此页面的缩放特性,完整的声明如下: 1 <meta name="viewport" content="width=device-width, initial-scale=1, minimum...

0

redhat 6.3允许sshd的使用key登录

Posted in Linux at 十月 27th, 2012 / No Comments »

修改以下4行,重启sshd即可: HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key RSAAuthentication yes PubkeyAuthentication yes 特别注意前两行容易忘记 某些情况下会报错: Agent admitt...

0

redhat 安装ntfs-3g 支持NTFS读写

Posted in Linux, PHP at 十月 27th, 2012 / No Comments »

下载第三方软件包 ntfs-3g: http://www.tuxera.com/community/ntfs-3g-download/ 安装gcc、gcc-c++所需的编译环境 [root@NQ ntfs-3g-2011.1.15]# ./configure [root@NQ ntfs-3g-2011.1.15]# make [root@NQ ntfs-...

0

candy-chat部署

Posted in PHP, 杂七杂八 at 十月 26th, 2012 / No Comments »

candy-chat是一个网页版的Jabber 客户端。 具体部署如下: 1.安装mysql并创建名为openfire的数据库。 2.安装openfire,数据库使用上面创建的openfire,并在系统属性中将xmpp.domain设为a.ch。 3.在openfire中创建...

Gnome Terminal 也可以像putty一样选中复制,或者双击复制单词,甚至三击复制行。 不过粘贴时要使用中键。 要选择和复制文本: 您可以通过如下任何方式选择文本: 要一次选择连续字符,在您要选择的第一个字符上...

Redhat默认的源不但速度不给力,而且软件版本陈旧,今天试着将Redhat默认源替换为CentOS的163源,发现速度能达到2M/s左右,而且版本都比较新,非常给力,与大家分享! (目前可以使用CentOS0-6.3软件仓库的软件)...