上一页 1 ··· 5 6 7 8 9
摘要: 最近在使用ntpdate同步中国国家授时中心时间是总是失败,百度后解决办法:1. 使用香港的授时服务器ntpdate stdtime.gov.hk2. 授时成功后惊奇的发现,国家授时服务器也可以同步了ntpdate 210.72.145.44再同步一遍吧! 阅读全文
posted @ 2013-11-15 11:12 smismile 阅读(1402) 评论(0) 推荐(0)
摘要: MySQL报如下错误: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_exis... 阅读全文
posted @ 2013-11-13 23:59 smismile 阅读(328) 评论(0) 推荐(0)
摘要: 一、CentOS 修改IP地址 修改对应网卡的IP地址的配置文件 vim /etc/sysconfig/network-scripts/ifcfg-eth0修改以下内容 DEVICE=eth0 #描述网卡对应的设备别名BOOTPROTO=static #设置网卡获得ip地址的方式BROADCAST=192.168.0.255 #对应的子网广播地址HWADDR=00:07:E9:... 阅读全文
posted @ 2013-11-13 16:00 smismile 阅读(522) 评论(0) 推荐(0)
摘要: 一般情况下,这样写就可以了: var editor;KindEditor.ready(function(K) { editor = K.create('#editor_id');}但如果用ajax方式提交的话,这样是获取不到数据的,最关键的是数据不同步 要增加一条配置: var editor;KindEditor.ready(function(K) { editor ... 阅读全文
posted @ 2013-11-12 00:19 smismile 阅读(171) 评论(0) 推荐(0)
摘要: 首先下载apc ,我下载的是3.0.9的, ssh命令: wget http://pecl.php.net/get/APC-3.0.9.tgztar xvzf APC-3.0.9.tgzcd APC-3.0.9/www/wdlinux/php/bin/phpize./configure -enable-apc -enable-apc-mmap -with-php-config=/www/... 阅读全文
posted @ 2013-11-12 00:14 smismile 阅读(269) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9