07 2014 档案

摘要:在本地安装了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 阅读(48746) 评论(0) 推荐(0) 编辑
摘要:文章转自:http://ytuwlg.iteye.com/blog/429611DNS 实现域名到IP的映射。通过域名访问站点,每次请求都要做DNS解析。目前每次DNS解析,通常在200ms以下。针对DNS解析耗时问题,一些浏览器通过DNS Prefetch 来提高访问的流畅性。什么是 DNS Pr... 阅读全文
posted @ 2014-07-21 16:44 KoMiles 阅读(4202) 评论(0) 推荐(0) 编辑
摘要:http://blog.sina.com.cn/s/blog_765941620100wiir.html 阅读全文
posted @ 2014-07-17 23:08 KoMiles 阅读(199) 评论(0) 推荐(0) 编辑
摘要:# find -type f -name "*.c" | xargs grep ""是你要找的文件夹;如果是当前文件夹可以省略-type f 说明,只找文件-name "*.c" 表示只找C语言写的代码,从而避免去查binary;也可以不写,表示找所有文件是你要找的某个字符串sudo find ... 阅读全文
posted @ 2014-07-17 22:42 KoMiles 阅读(12987) 评论(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 阅读(451) 评论(0) 推荐(0) 编辑
摘要:文章转自:http://blog.csdn.net/chenchong08/article/details/7833242/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置.英文描述为:... 阅读全文
posted @ 2014-07-04 14:17 KoMiles 阅读(1900) 评论(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 阅读(4985) 评论(0) 推荐(0) 编辑
摘要:my.cnf:/etc/php.in:/usr/local/php/etc/ 阅读全文
posted @ 2014-07-04 11:12 KoMiles 阅读(2461) 评论(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 阅读(332) 评论(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 阅读(19579) 评论(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 阅读(4102) 评论(0) 推荐(0) 编辑
摘要:点击“引用”-》插入目录 阅读全文
posted @ 2014-07-02 16:09 KoMiles 阅读(308) 评论(0) 推荐(0) 编辑
摘要:1,git status乱码git config --global core.quotepath false执行完后再使用时,就显示正常了 阅读全文
posted @ 2014-07-01 12:13 KoMiles 阅读(239) 评论(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 阅读(3345) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示