Java 企业应用


Unable to find error file %ORACLE_HOME%\RDBMS\opw.msb

原因是 环境变量 ORACLE_HOME 没有配置正确,应该像下面这样:


2.64位Windows7 安装64 位db,使用32位PLSQL,加载oci.dll 错误:


set ORACLE_HOME=D:\Oracle\PLSQL\11gx32


3.清理了注册表以后,orcale的listener服务竟然被清理没了。TNS:no listener






sc create "ORACLELST" binPath= "D:\Oracle\product\11.2.0\dbhome_1\BIN\LSNRCTL.EXE start" DisplayName= "ORACLELST" depend= Tcpip

posted @ 2012-09-22 22:57 cpegtop 阅读(331) | 评论 (0)编辑 收藏

一 . pre install

      1.Turn off SELinux

      2.Prepare in REDHAT ,depend on some rpm packages :


        java awt 界面程序无法捕获显卡的参数,进而导致安装界面无法弹出。

posted @ 2012-09-15 18:23 cpegtop 阅读(320) | 评论 (0)编辑 收藏

Written on September 7th, 2010 by Staicu Ionuț-Bogdan

Since I discovered Git, I was bothered by the really (REALLY!) stupid bash window. Why is it stupid? Try to paste something in that window! You have to click on the title bar, edit, paste. So I searched for an alternative. I found Console 2 and Mintty. Right now I’ll show you how to use Mintty by default, instead of that ugly and user not-so friendly default bash shell.


First of all, you will need… Cygwin. You need to install chere package as well. After that, open a bash prompt and type: chere -i.
Second, you need to download Mintty and extract mintty.exe into cygwin/bin directory.
Third (and last) step is to open regedit (press win+r key then type regedit), go toHKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin_bash\command, edit default key and replace its content with:

C:\cygwin\bin\mintty.exe -e c:\cygwin\bin\bash -c "/bin/xhere /bin/bash.exe '%L'"



D:\Java\cygwin\bin\mintty.exe  -

Please change cygwin path according to your instalation.

You are done! Just right click on a folder and click on Bash prompt here. A nice mintty console will open. Enjoy!

posted @ 2012-09-11 18:39 cpegtop 阅读(341) | 评论 (0)编辑 收藏

python call shell

cmd=”sh ./ ”

result = os.popen(cmd).read()

shell call python


posted @ 2012-08-18 11:04 cpegtop 阅读(268) | 评论 (0)编辑 收藏

Before installation

Before you begin the installation of this package, please note the following:

  1. You must be logged in as the root user to install this package.
  2. IBM recommends creating a system backup before starting the installation procedure.
  3. The latest AIX installation hints and tips for your version of AIX are available from the IBM Subscription service for Unix and Linux web site:

    These tips contain important information that should be reviewed before installing this update.

  4. IBM recommends creating a separate file system for /usr/sys/inst.images for the following reasons:
    • Downloaded fix packages require a significant amount of disk space.
    • By creating a separate file system, you prevent the expansion of the /usr file system.

Package installation

Follow these steps to install the update package:

  1. Always run the inutoc command to ensure the installation subsystem will recognize the new fix packages you download. This command creates a new .toc file for the fix package. Run the inutoc command in the same directory where you downloaded the package filesets. For example, if you downloaded the filesets to /usr/sys/inst.images, run the following command:
    inutoc /usr/sys/inst.images

    (Optional): Renaming the *.bff files is not necessary, but does help you see which filesets are affected by the downloaded files. To rename the downloaded files to their fileset name, run the bffcreate command. After renaming the files, run the inutoc command again. For example, if you downloaded the filesets to /usr/sys/inst.images, run the following command to rename them:
    bffcreate -c -d /usr/sys/inst.images

  2. For all updates

    To install all updates from this package that apply to the installed filesets on your system, use the following command:
    smit update_all

    It is highly recommended that you apply all updates from this package.

  3. Reboot the system. A reboot is required for this update to take effect.

After installation

You may wish to retain this package for future use. When you install additional operating system software you will want to use this package to bring the additional software up to this level.

You can create a list of the APARs closed in this package, which you can then view (and search) in an ASCII editor, such as vi or emacs. First, create the .toc file for the package by using the inutoc command described above. Then, run the following command to extract the APAR listings from the .toc file:

grep ^I .toc > apar.list

Run the following command to eliminate duplicate entries from the apar.list file:

sort -u apar.list -o sorted.apars


FIX central

another useful link :

posted @ 2012-08-15 09:39 cpegtop 阅读(385) | 评论 (0)编辑 收藏
共6页: 上一页 1 2 3 4 5 6 下一页