上一页 1 2 3 4 5 6 ··· 8 下一页

2012年7月27日

eclipse + android sdk开发环境中svn配置(可避免不必要的文件提交)

摘要: eclipse+androidsdk开发环境中svn配置(可避免不必要的文件提交)1、Project->Properties->JavaBuildPath->Source->Edit...添加ExcludedPatterns **/.svn/**2、Window->Perferences->Team->IgnoredResources->AddPattern...添加如下两种模式: gen bin 阅读全文

posted @ 2012-07-27 11:51 Hero King 阅读(305) 评论(0) 推荐(0) 编辑

2012年6月28日

fedora 16 下搭建git+apache+webdav环境

摘要: 1、在apache httpd.conf配置文件添加<Directory"/var/www/html/gitrepo">DavOnOptions+Indexes+FollowSymLinksAllowOverrideNoneOrderAllow,DenyAllowfromallAuthTypeBasicAuthName"Git"AuthUserFile"/var/www/html/user.git"Requirevalid-user</Directory>2、将当前用户heroking加入到apache用户组, 阅读全文

posted @ 2012-06-28 19:00 Hero King 阅读(245) 评论(0) 推荐(0) 编辑

fedora 下apache webdav方式部署git环境权限问题

摘要: push发生如下错误$gitpushoriginmasterPassword:Password:Fetchingremoteheads...refs/refs/heads/refs/tags/updating'refs/heads/master'from0000000000000000000000000000000000000000toc169dbae92589f44bb734c1ded4a4ec6888f5ac2Unabletolockremotebranchrefs/heads/masterUpdatingremoteserverinfoPUTerror:curlresul 阅读全文

posted @ 2012-06-28 17:25 Hero King 阅读(474) 评论(0) 推荐(0) 编辑

fedora 下apache webdav方式部署git环境目录权限问题

摘要: 在git push时发生错误提示$gitpushoriginmasterPassword:Password:Fetchingremoteheads...refs/refs/heads/refs/tags/updating'refs/heads/master'from21c3f85e8c1515c11ed79621f6530fd5a2f196b5to80f2f6062263e1db19e9112c75b8d60da0d142e9sending3objectsMKCOLcea344446bb51d90f64c9aaed1a8e2b5bed95b2bfailed,aborting(2 阅读全文

posted @ 2012-06-28 14:10 Hero King 阅读(423) 评论(0) 推荐(0) 编辑

2012年6月20日

fedora 16 下搭建gvim+xdebug调试环境

摘要: gvim、php、apache的安装这里就不介绍了,建议使用yum安装。1、安装python、python-devel、mercurial#yuminstallpythonpython-develmercurial2、安装xdebug#yumphp-perl-xdebug3、安装DBGp 在http://www.vim.org/scripts/script.php?script_id=1929下载debugger.zip,将其加压后,将plugin目录下的debugger.vim和debugger.py放入~/.vim/plugin目录下.4、在/etc/php.d/xdebug.ini中修改 阅读全文

posted @ 2012-06-20 10:44 Hero King 阅读(637) 评论(0) 推荐(0) 编辑

2012年6月17日

centos 6.2 LVS+Keepalived搭建集群环境

摘要: 因为没有其他机器来搭建集群环境,我只能在我的小本上安装虚拟机来模拟集群环境了,先介绍下网络环境:虚拟机1:192.168.1.6 eth0 MASTER CentOS 6.2虚拟机2:192.168.1.8 eth2 BACKUP CentOS 6.2VIP:192.168.1.101、分别在两台虚拟机上安装keepalived、ipvsadm、apache安装细节就不说了,网上都有。2、 在MASTER虚拟机上添加可执行文件lvs_dr,BACKUP稍有区别,内容如下#!/bin/shVIP=192.168.1.10#VirtualIPRIP1=192.168.1.6#RealServerI 阅读全文

posted @ 2012-06-17 17:45 Hero King 阅读(779) 评论(1) 推荐(0) 编辑

2012年6月1日

Drupal 访问页面空白问题分析

摘要: 最近发现Drupal的页面老是显示空白,查看了apache错误日志,发现问题如下:[FriJun0112:05:322012][error][client<ip>]PHPFatalerror:Allowedmemorysizeof33554432bytesexhausted(triedtoallocate48bytes)in/var/www/html/drupal-7.12/includes/menu.inconline3727,referer:http://<domain>/drupal/?q=node/add原来PHP分配的内存不足造成的,修改PHP.ini文件,默 阅读全文

posted @ 2012-06-01 12:23 Hero King 阅读(303) 评论(0) 推荐(0) 编辑

2012年5月5日

testlink 1.9.3与bugzilla 4.2整合

摘要: 1、配置config.inc.php文件,将$g_interface_bugs设置为BUGZILLA,如下:$g_interface_bugs='BUGZILLA';2、修改cfg/bugzilla.cfg.php文件,如下:define('BUG_TRACK_DB_HOST','<数据库IP地址>');define('BUG_TRACK_DB_NAME','<数据库名称>');define('BUG_TRACK_DB_CHARSET','<数据库编码:UTF- 阅读全文

posted @ 2012-05-05 11:48 Hero King 阅读(234) 评论(0) 推荐(0) 编辑

2012年5月1日

fedora 16 x64 安装 google-earth

摘要: 1、在google-earth官网上下载google-earth-stable_current_x86_64.rpm,安装后启动google-earth,报如下错误#google-earth/usr/bin/google-earth:./googleearth-bin:/lib/ld-lsb.so.3:badELFinterpreter:Nosuchfileordirectory2、安装ld-lsb.so.3,如下:#yumwhatprovides/lib/ld-lsb.so.3Loadedplugins:fastestmirror,langpacks,presto,refresh-packa 阅读全文

posted @ 2012-05-01 11:19 Hero King 阅读(1062) 评论(0) 推荐(0) 编辑

2012年4月20日

ctags 用法

摘要: 1、.module .inc .php .install文件按php创建tag$ctags-R--langmap=php:.php.inc.module.install.2、gvim 设置tags文件,在命令模式或.vimrc文件输入:settags=/var/www/html/o2o/branches/branch211/tags: 阅读全文

posted @ 2012-04-20 14:04 Hero King 阅读(328) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航