上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页
摘要: 1,找到php.ini配置find / -name 'php.ini'/usr/local/php/etc/php.ini找到extension=php_curl.dll 把前面的分号去掉即可。2,重启phpphp 5.3.3 下的php-fpm 不再支持 php-fpm 以前具有的 /usr/l... 阅读全文
posted @ 2014-09-02 23:03 KoMiles 阅读(5289) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-09-01 23:41 KoMiles 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 文章转载:http://blog.snsgou.com/post-793.html1、查看物理CPU的个数[root@MysqlCluster01 ~]#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l12、查看逻辑CPU的个数[root@... 阅读全文
posted @ 2014-08-04 21:19 KoMiles 阅读(3915) 评论(0) 推荐(0) 编辑
摘要: 在本地安装了wamp环境,默认的根目录是D:\wamp\www,使用起来非常不方便。那如何改变默认的根目录呢1,找到httpd.conf文件D:\wamp\bin\apache\Apache2.2.21\conf2,找到这个地方## DocumentRoot: The directory out o... 阅读全文
posted @ 2014-07-28 22:27 KoMiles 阅读(48734) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://ytuwlg.iteye.com/blog/429611DNS 实现域名到IP的映射。通过域名访问站点,每次请求都要做DNS解析。目前每次DNS解析,通常在200ms以下。针对DNS解析耗时问题,一些浏览器通过DNS Prefetch 来提高访问的流畅性。什么是 DNS Pr... 阅读全文
posted @ 2014-07-21 16:44 KoMiles 阅读(4199) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_765941620100wiir.html 阅读全文
posted @ 2014-07-17 23:08 KoMiles 阅读(196) 评论(0) 推荐(0) 编辑
摘要: # find -type f -name "*.c" | xargs grep ""是你要找的文件夹;如果是当前文件夹可以省略-type f 说明,只找文件-name "*.c" 表示只找C语言写的代码,从而避免去查binary;也可以不写,表示找所有文件是你要找的某个字符串sudo find ... 阅读全文
posted @ 2014-07-17 22:42 KoMiles 阅读(12978) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.oschina.net/news/26241/you-can-not-change-git-history有时候使用Git工作得小心翼翼,特别是涉及到一些高级操作,例如 reset, rebase 和 merge。甚至一些很小的操作,例如删除一个分支,我都担心数据丢失。不... 阅读全文
posted @ 2014-07-16 21:46 KoMiles 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://blog.csdn.net/chenchong08/article/details/7833242/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置.英文描述为:... 阅读全文
posted @ 2014-07-04 14:17 KoMiles 阅读(1895) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://blog.163.com/wz_pk007/blog/static/17062705020119242440713/问题:mysql只能用localhost或127.0.0.1连接解决:mysql安装完后,默认是root用户,root用户只能在服务器登录,需要分配新用户。1.... 阅读全文
posted @ 2014-07-04 11:14 KoMiles 阅读(4976) 评论(0) 推荐(0) 编辑
摘要: my.cnf:/etc/php.in:/usr/local/php/etc/ 阅读全文
posted @ 2014-07-04 11:12 KoMiles 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: 一、启动方式1、使用 service 启动:service mysqld start2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start3、使用 safe_mysqld 启动:safe_mysqld&二、停止1、使用 service 启动:service mysqld... 阅读全文
posted @ 2014-07-04 11:09 KoMiles 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://ideabean.iteye.com/blog/2007367打开Git Bash进入目录:$ cd /etc1. 编辑 gitconfig 文件:$ vigitconfig 文件中增加内容Xml代码[gui]encoding=utf-8#代码库统一使用utf-8[i18... 阅读全文
posted @ 2014-07-02 22:46 KoMiles 阅读(19551) 评论(5) 推荐(4) 编辑
摘要: 文章转自:http://www.2cto.com/os/201104/86881.html以下是网上的方法,我用的是第一种方法,经测试有效。方法一:# /etc/init.d/mysql stop# mysqld_safe --user=mysql --skip-grant-tables --ski... 阅读全文
posted @ 2014-07-02 21:56 KoMiles 阅读(4096) 评论(0) 推荐(0) 编辑
摘要: 点击“引用”-》插入目录 阅读全文
posted @ 2014-07-02 16:09 KoMiles 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1,git status乱码git config --global core.quotepath false执行完后再使用时,就显示正常了 阅读全文
posted @ 2014-07-01 12:13 KoMiles 阅读(238) 评论(0) 推荐(0) 编辑
摘要: git 执行提交时,提示用户输入用户和邮箱git commit -m '*add newCat file' newCat/*** Please tell me who you are.Run git config --global user.email "you@example.com" git ... 阅读全文
posted @ 2014-07-01 11:35 KoMiles 阅读(3335) 评论(0) 推荐(0) 编辑
摘要: 1,选定要分列的列。2,点击“数据”-“分列”。3,在选项栏中设置如图4,选择分隔符4,看,分开了吧! 阅读全文
posted @ 2014-06-30 15:04 KoMiles 阅读(3451) 评论(0) 推荐(0) 编辑
摘要: array_flip() 函数返回一个反转后的数组,如果同一值出现了多次,则最后一个键名将作为它的值,所有其他的键名都将丢失。如果原数组中的值的数据类型不是字符串或整数,函数将报错。Return Values¶Returns the flipped array on success andNULLo... 阅读全文
posted @ 2014-06-27 14:19 KoMiles 阅读(4920) 评论(0) 推荐(0) 编辑
摘要: 笔记本电脑键盘字母和字母错乱怎样解决笔记本莫名其妙的出现字母和字母错乱,比如我写ls会出现um到网上一搜,大多数都是说的是数字键被锁。我把电脑重启后,该问题就没有了,不知道为啥? 阅读全文
posted @ 2014-06-25 21:37 KoMiles 阅读(1219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 24 下一页