自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

zhangp专栏

关于IT那些事

  • 博客(17)
  • 收藏
  • 关注

转载 cvs server: sticky tag `xxx’ for file ‘xxx’ is not a branch…

貌似是cvs的一个经典问题,今天在修改的时候取了一个历史版本,好像就自动给加上了个版本号的tag,然后在commit的时候就出现了这个问题,提示修正后才能commit。google一下果然是经典问题,很快找到了答案:对出这个错的文件执行update -A后清掉当前的tag就可以了。

2011-11-03 15:57:59 737

原创 编译安装 Apache + Subversion + LDAP

1. Install Berkley DB(4.8)tar -xzvf db-4.8.30.tar.gzcd db-4.8.30/build_unix../dist/configuremake && install2. Install OpenLDAP(2.4.26)tar -xvfz openldap-stable-20100719.tgzcd openldap-

2011-11-02 11:50:57 1040

原创 体验Git,Github

最近写了个连接VPN的自动化工具,放在本地更新维护源代码都不是太方便,于是想到了github,正好借这个机会体验一下Git到底有什么样的魅力。先说一下Git和Github到底是什么关系。 Git是一个分布式的版本控制系统,与CVS、SVN最大的区别就是即使在不联网的情况下你也可以对本地的代码库进行操作,比如commit,tag,branch。Github是一个提供Git Repos

2011-10-29 11:53:11 2486

原创 SSH Warning: the RSA host key for differs from the key for the IP address

[hudson@sjbude183v .ssh]$ ssh soa@sjisbe381 ls /tmpThe authenticity of host 'sjisbe381 (10.100.87.11)' can't be established.RSA key fingerprint is 8f:bd:9b:06:92:1d:0b:6e:0e:d0:f3:d1:cd:f7:f7:6e.

2011-10-20 09:21:07 9800 1

转载 从U盘启动安装CentOS

原文章:http://lpclovext.com/linux/2011-03-27-04-15-58/usb-centos56-052/准备的材料:1、8GB U盘一个2、CentOS-5.6-x86_64-bin-DVD-1of2.iso3、Ultr

2011-10-14 14:06:52 1565 1

原创 使用Node Manager来管理Weblogic Server

以下大部分是以Windoes环境为前提的,Linux环境与其类似。Node Manager能干什么1. 启动、停止和重启Admin Server2. 启动、停止、暂停和重启Managed Servers3. 自动重启Admin和Managed Server

2011-10-09 14:57:53 1756

翻译 解决TortoiseCVS在Win7下重叠图标不显示的问题

本文翻译于: http://kavachai.com/2010/07/28/fixing-tortoisecvs-icon-overlay-in-windows-7/某些情况下,在Win7里安装了TortoiseCVS后,从CVS里check out出来的目录

2011-10-08 14:43:55 2891 1

原创 SecureCRT 技巧合集

1. 使用Zmodem和服务器交换文件然后,可以在命令行下直接输入rz来上传文件,和输入sz path/filename 来下载文件。2. 使用public key验证身份a. 用SecureCRT生成一对密钥:Tools -> Create Public

2011-10-02 14:17:01 768 1

原创 Check JDBC connection

Excute setWLSEnv.sh before running this command:$ java -classpath /home/soa/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar ut

2011-09-20 14:56:07 339

原创 A script to restart Weblogic servers

This shell script restarts Weblogic Admin and Managed servers and clears out the temp files in all servers.#!/bin/shDOMAIN_HOME=/pat

2011-09-20 14:44:24 443

转载 WebLogic AdminServer启动后不停的报EmbeddedLDAP BEA-000000的错误

WebLogic AdminServer启动后不停的报 的错误 WebLogic管理服务器启动后不停的在nohup.out文件中写上面的两行错误。解决方法:Just have to delete (or rename) the domain/se

2011-09-16 21:06:44 3489 1

原创 Password decryption in Weblogic

Weblogic stores the credentials in an encrypted format in configuration files, like the password in JDBC xml files. Sometimes we want to kno

2011-09-16 20:56:59 1034 1

原创 Use WLST offline to update a Weblogic domain

This WLST script updates the datasources and Multicase Address for cluster in a Weblogic domain by offline. It can not be used in online mod

2011-09-16 20:40:19 533

原创 Linux command - sed and xargs

Use sed to replace a string in a files:# Replace string 'aaa' with 'bbb' in file.txtsed -i "s/aaa/bbb/g" file.txt# another examplese

2011-09-16 20:33:59 415

转载 innerHtml和innerText的用法

    test1 test2在JS中可以使用:test.innerHTML:  也就是从对象的起始位置到终止位置的全部内容,包括Html标签。   上例中的test.innerHTML的值也就是“test1 test2 ”。test.innerText:   从起始位置到终止位置的内容, 但它去除Html标签   上例中的text.innerTest的值也

2008-05-23 14:16:00 382

原创 剔除XML文件中的非法字符

XML规范规定的非法字符有:/*  0x00 - 0x08  0x0b - 0x0c  0x0e - 0x1f*/ 含有这些字符的XML文档在解析的时候就会报错,因此输出的时候需要进行过滤。 示例程序:function xmlSafe(&$xml_str){    $xml_str =preg_replace("/[

2008-05-23 14:06:00 1005

原创 在SVN中实现$Id$的自动替换

打开svn的config文件,C:\Documents and Settings\peng\Application Data\Subversion\config (WindosXP)C:\Users\peng\AppData\Roaming\Subversion\config (Windows7)~/.subversion/config (*uix) 加入下面的内容:[mi

2008-01-11 03:55:00 1751

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除