上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: git -bare initgit remote add origin ssh://myserver.com/home/git/myapp.gitgit remote show origin[receive]denyCurrentBranch=ignoregit diff查看当前修改的和暂存区的差别... 阅读全文
posted @ 2015-02-13 19:29 liqipeng 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1. 安装Mongoose npm install mongoose2.使用 2.1创建连接 varmongoose = require('mongoose'); mongoose.connect('mongodb://localhost/test'); 2.2获取数据库的一些通知信息... 阅读全文
posted @ 2015-02-08 16:16 liqipeng 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1. touch /etc/yum.repos.d/mongodb.repo vi /etc/yum.repos.d/mongodb.repo [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.m... 阅读全文
posted @ 2015-02-08 14:11 liqipeng 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 方法一:直接到官网去下载RPM格式的安装包,下载好后直接 用 rpm -ivh XXXX.rpm 来安装即可。方法二:到官网下载tar.gz格式的,自己配置安装:#wgethttp://fpdownload.macromedia.com/get/flashplayer/current/install... 阅读全文
posted @ 2015-01-28 18:03 liqipeng 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 安装xorg-x11-apps包yum install xorg-x11-apps查看设备信息cd /dev/input/ls //找到触摸板信息xinput list //找到触摸板的id,这里以13为例禁用触摸板xinput set-int-prop 13 "Device Enabled" 8 ... 阅读全文
posted @ 2015-01-28 17:11 liqipeng 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 范例:zip命令可以用来将文件压缩成为常用的zip格式。unzip命令则用来解压缩zip文件。1. 我想把一个文件abc.txt和一个目录dir1压缩成为yasuo.zip:# zip -r yasuo.zip abc.txt dir12.我下载了一个yasuo.zip文件,想解压缩:# unzip... 阅读全文
posted @ 2015-01-26 23:50 liqipeng 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 在CentOS/RHEL 7出来之前继续使用Chrome怎么办?使用Chrome的开源版本:Chromium。1、切换到root:su - 或者 sudo -i2、下载新的软件源定义:cd /etc/yum.repos.dwget http://people.centos.org/hughesjr/... 阅读全文
posted @ 2015-01-26 23:43 liqipeng 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: /usr/libexec/ibus-ui-gtk/usr/ bin/ibus-setup/usr/libexec/ibus-engine-table将以上三个文件中的 “exec python” 修改为 “exec python2.6” 阅读全文
posted @ 2015-01-26 23:42 liqipeng 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 如果使用命令alias xx='xxxx'那么登出以后,别名就会失效。下次登入的时候就不能用了。为了保持别名可以把它写入.bashrc在.bashrc的最后写入想要的别名,比如alias zp='ll -al'然后退出,重新登入的时候就可以用了。或者直接运行命令source ~/.bashrc这样不... 阅读全文
posted @ 2015-01-26 23:42 liqipeng 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 1. 安装dnsmasqdnsmasq的官方网址是:http://www.thekelleys.org.uk/dnsmasq/doc.html。利用里面的下载链接下载dnsmasq-2.72.tar.xz安装即可。2. 配置dnsmasqCentOS打开System—>Administration—... 阅读全文
posted @ 2015-01-26 23:41 liqipeng 阅读(696) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页