上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: 转自:http://www.cnblogs.com/jesseZh/p/4036811.html(64位) sudo dpkg -i chmsee_1.3.0-2ubuntu2_amd64.deb 安装软件包,下载地址:http://kr.archive.ubuntu.com/ubuntu/poo... 阅读全文
posted @ 2015-05-04 17:48 KoMiles 阅读(2664) 评论(0) 推荐(0) 编辑
摘要: 博客转自:http://www.01happy.com/linux-access-windows-shares-folders/有时需要在linux下需要访问windows的共享文件夹,可以使用mount挂载或者使用samba连接。1、mount挂载首先创建被挂载的目录:$ mkdir window... 阅读全文
posted @ 2015-05-04 16:42 KoMiles 阅读(22760) 评论(1) 推荐(0) 编辑
摘要: server { listen 80; server_name blog.localhost; #绑定域名 index index.htm index.html index.php; #默认文件 root /data/webroot/blog;... 阅读全文
posted @ 2015-05-04 13:15 KoMiles 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: charles是很好的抓包工具。如何安装呢?可以去官网下载:http://www.charlesproxy.com/download/如果是Debian系列的,可以直接用apt-get 安装http://www.charlesproxy.com/documentation/installation/... 阅读全文
posted @ 2015-05-03 23:18 KoMiles 阅读(8072) 评论(0) 推荐(0) 编辑
摘要: 一、用好系统自带软件ctags大部分的unix系统都有ctags软件,它能跟vim很好地合作。用途: 生成c语言的标签文件,实现相关c文件之间的跳转。用法: 1.生成标签文件 在当前目录下(运行$提示符后面的命令): $ctags -R . -R表示recursive,递归,为当... 阅读全文
posted @ 2015-04-28 16:38 KoMiles 阅读(5400) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.xefan.com/archives/83568.html这是对程序员非常实用的一款插件,支持多种语言的补全,还支持单行注释,批量注释,等各种命令映射。使用方法,先下载该插件:http://www.vim.org/scripts/script.php?script_id=... 阅读全文
posted @ 2015-04-28 10:20 KoMiles 阅读(8299) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://drops.wooyun.org/tips/2423安装charles下载路径:http://www.charlesproxy.com/download/如果是ubuntu版本:sudo apt-get updatesudo apt-get install charles-p... 阅读全文
posted @ 2015-04-24 16:03 KoMiles 阅读(6812) 评论(0) 推荐(2) 编辑
摘要: 文章转自:http://www.cyberciti.biz/faq/debian-ubuntu-rhel-centos-linux-bash-sudo-command-not-found/安装sudo$ su -and install sudoapt-get install sudo修改sudosu... 阅读全文
posted @ 2015-04-23 20:09 KoMiles 阅读(6985) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/00137583770360579bc4b458f044ce7afed3df579123eca000http://wlog.... 阅读全文
posted @ 2015-04-23 19:50 KoMiles 阅读(5007) 评论(0) 推荐(1) 编辑
摘要: mysql> show variables like 'port';+---------------+-------+| Variable_name | Value |+---------------+-------+| port | 3306 |+---------------... 阅读全文
posted @ 2015-04-23 11:53 KoMiles 阅读(17378) 评论(0) 推荐(0) 编辑
摘要: 修改nginx配置参数后,使用nginx -t检查配置. 提示successfull后就可以使用 nginx -s reload来重新加载配置 我配置的过程中遇到这样的问题,就是绑定了主机名后,重新加载配置时会出现警告 nginx: [warn] conflicting server name "l 阅读全文
posted @ 2015-04-23 11:51 KoMiles 阅读(126861) 评论(1) 推荐(1) 编辑
摘要: 在vim下编辑时,有时候看不到文件名,不知道编辑的是那个文件,怎么呢,可以按照下面的方法试试。查看文件名在正常模式下: :f 或CTRL+G查看文件的路径用 :!pwd 可以看当前的详细路径。如果嫌麻烦,可以在vim 配置文件配置中加一行:set ls=2 阅读全文
posted @ 2015-04-21 10:59 KoMiles 阅读(10086) 评论(0) 推荐(0) 编辑
摘要: 文章转自:http://blog.itblood.com/nginx-same-ip-multi-domain-configuration.html下面的是我本机的配置:server { listen 80; server_name localhost; #绑定域名 ... 阅读全文
posted @ 2015-04-20 18:35 KoMiles 阅读(1899) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/edwardlost/archive/2012/07/27/2611536.html删除ctrl + d 删除光标所在位置上的字符相当于VIM里x或者dlctrl + h 删除光标所在位置前的字符相当于VIM里hx或者dhctrl + k 删除光标... 阅读全文
posted @ 2015-04-20 11:48 KoMiles 阅读(1749) 评论(0) 推荐(0) 编辑
摘要: 解决办法如下:sudo rm /var/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-g... 阅读全文
posted @ 2015-04-19 17:40 KoMiles 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 在运行apt-get update 时,报下面的错误:E: 无法获得锁 /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)E: 无法对目录 /var/lib/apt/lists/ 加锁这个问题是的意思是用于apt... 阅读全文
posted @ 2015-04-19 17:39 KoMiles 阅读(1180) 评论(0) 推荐(0) 编辑
摘要: git commit -am '*屏蔽设置缓存' htdocs/s.phpfatal: Paths with -a does not make sense.应该用下面的这样。git commit -m '*屏蔽设置缓存' htdocs/s.php 阅读全文
posted @ 2015-04-15 10:05 KoMiles 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: json_decode 函数 url地址:http://php.net/manual/en/function.json-decode.php json_decode (PHP 5 >= 5.2.0, PECL json >= 1.2.0) json_decode — 对 JSON 格式的字符串进行解 阅读全文
posted @ 2015-04-13 11:42 KoMiles 阅读(7264) 评论(1) 推荐(0) 编辑
摘要: 博客转自:http://my.oschina.net/hbzhangmao/blog/354533学IT的同学都知道, Linux是一个好东西, 但初学者往往会因为太多的命令觉得头疼, 更头疼的是所有的帮助文档都是英文. 其实Linux之所以强大, 就在于其强大的命令行, 如此繁杂的命令让一个六级以... 阅读全文
posted @ 2015-04-03 10:47 KoMiles 阅读(2005) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/ls1160/article/details/24913391最近在研究linux下的安卓源代码编译,遇到了一些问题,在虚拟机的共享文件上。因为联网下载安卓源代码太慢了,如果按照老罗的方法的话,于是就自己离线下载了包,打算直接共享到linux虚拟机里面... 阅读全文
posted @ 2015-03-14 22:37 KoMiles 阅读(22361) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页