Java 企業應用
          不要溫柔的走入那個良夜

          1.創建數據庫時遇到下面的錯誤

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

          原因是 環境變量 ORACLE_HOME 沒有配置正確,應該像下面這樣:

          D:\Oracle\product\11.2.0\dbhome_1

          2.64位Windows7 安裝64 位db,使用32位PLSQL,加載oci.dll 錯誤:

          在PLSQL的根目錄下寫一個啟動腳本,如下:

          set ORACLE_HOME=D:\Oracle\PLSQL\11gx32
          plsqldev.exe
          在這個路徑下,具備32位的包

          image

          3.清理了注冊表以后,orcale的listener服務竟然被清理沒了。TNS:no listener

          解決辦法就是恢復一個:

          手動:>lsnrctl

                  >status

                  >start

          自動:

          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 閱讀(349) | 評論 (0)編輯 收藏
           

          一 . pre install

                1.Turn off SELinux http://www.cyberciti.biz/faq/howto-turn-off-selinux/

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

                    http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.installation.base.doc/info/aes/ae/tins_linuxsetup.html

                3.一個問題很不好解決,在使用vnc連接redhat時,會遇到一個經常出現的問題:

                  java awt 界面程序無法捕獲顯卡的參數,進而導致安裝界面無法彈出。

                  http://www.jvmhost.com/articles/java-gui-headless-server-xvnc-xvfb-x11vnc

          posted @ 2012-09-15 18:23 cpegtop 閱讀(342) | 評論 (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.

          Requirements$3E68A189A778070A

          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'"

           

          or

          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 閱讀(359) | 評論 (0)編輯 收藏
           

          python call shell

          cmd=”sh ./customshell.sh ”

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

          shell call python

          和對待一個sh腳本沒有差別

          posted @ 2012-08-18 11:04 cpegtop 閱讀(276) | 評論 (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:

            http://www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd

            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 :www-933.ibm.com/support/fixcentral/aix/selectFixes#show

          another useful link :http://tech.groups.yahoo.com/group/linux_ipsr/message/5438  http://www.ibm.com/developerworks/forums/thread.jspa?threadID=216839

          posted @ 2012-08-15 09:39 cpegtop 閱讀(405) | 評論 (0)編輯 收藏
          僅列出標題
          共6頁: 上一頁 1 2 3 4 5 6 下一頁 
           
          主站蜘蛛池模板: 邵东县| 潜江市| 平利县| 长子县| 法库县| 荥阳市| 无为县| 嘉义县| 牙克石市| 湾仔区| 苏尼特左旗| 苍溪县| 佛坪县| 平凉市| 库尔勒市| 旬阳县| 增城市| 临朐县| 石狮市| 巴林左旗| 库尔勒市| 乳源| 蒙山县| 开化县| 峨山| 长丰县| 三江| 宿松县| 突泉县| 双江| 清新县| 乐亭县| 隆回县| 和静县| 沂水县| 竹溪县| 芦山县| 冕宁县| 贵德县| 大兴区| 张家口市|