上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: 1、停止MySQL服务 /etc/init.d/mysqld stop 2、跳过验证启动MySQL /usr/local/mysql/bin/mysqld_safe --skip-grant-tables >/dev/null 2>&1 & 3、重置密码 等几秒... 阅读全文
posted @ 2014-02-27 00:58 神神的蜗牛 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 导入时出现乱码,需要在语句中添加指定导入数据的编码格式: mysql -uroot -p database_name < database_backup.sql --default-character-set=utf8 阅读全文
posted @ 2014-02-27 00:57 神神的蜗牛 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1. 下载安装 cd /data/software wget http://prdownloads.sourceforge.net/awstats/awstats-7.0-1.noarch.rpm 2. 开始配置 安装依赖包: yum -y install perl-l... 阅读全文
posted @ 2014-02-27 00:52 神神的蜗牛 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 设置日志保留天数,到期后自动删除 查看当前日志保存天数: show variables like '%expire_logs_days%'; 默认是0,即永不过期。 通过设置全局参数修改: set global expire_logs_days=30; 设置为保... 阅读全文
posted @ 2014-02-27 00:47 神神的蜗牛 阅读(392) 评论(0) 推荐(0) 编辑
摘要: MySQL 5.5 禁用 innodb 编辑: my.ini 添加: default-storage-engine=MYISAM skip-innodb 阅读全文
posted @ 2014-02-27 00:46 神神的蜗牛 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 一般配置本地测试用的 phpMyAdmin 可以不用每次输入帐号密码,打开后自动登陆就行了。 版本: phpMyAdmin 3.5.3 打开: phpMyAdmin 根目录 复制: config.sample.inc.php 命名: config.inc.php 查... 阅读全文
posted @ 2014-02-27 00:45 神神的蜗牛 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 有时候解析一段 HTML 代码时 phpQuery 无法解析原因: 可能是缺少类似下面的 meta 信息,在带解析的字符串任意位置添上即可 : 阅读全文
posted @ 2014-02-27 00:42 神神的蜗牛 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 1、建用户: adduser phpq //新建phpq用户 passwd phpq //给phpq用户设置密码 2、建工作组 groupadd test //新建test工作组 3、新建用户同时增加工作组 useradd -g ... 阅读全文
posted @ 2014-02-27 00:41 神神的蜗牛 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1. 添加用户组 # groupadd www 2. 修改配置 # vi /etc/vsftpd/vsftpd.conf 查找: #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd.chroot_list 修改为... 阅读全文
posted @ 2014-02-27 00:39 神神的蜗牛 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Android开源库 自己一直很喜欢Android开发,就如博客副标题一样,我想做个好的App。 在摸索过程中,GitHub上搜集了很多很棒的Android第三方库,推荐给在苦苦寻找的开发者,而且我会不定期的更新这篇文章。 本文的其他贡献者: ____sky____ 感谢~ 我的Git... 阅读全文
posted @ 2014-02-25 00:12 神神的蜗牛 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页