原创 Citrix Receiver for Linux 12.1:ERROR : machine architecture could not be decided

問題現象 解決步驟 一、問題現象 安裝 Receiver 報錯ERROR : machine architecture could not be decided.   二、解決步驟 # vi linuxx86/hinst echo $A

原创 sqlplus HELP

使用sqlplus命令登錄系統後,查看help $ sqlplus system SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 1 09:33:36 2013 Copyrigh

原创 Monitoring Windows Machines

監控windows主機 1.概述如果想監控windwos主機就需要安裝客戶端,而這個客戶端是Nagios plugin和windows機器之間的傳遞的介質. 那麼這個客戶端是NSClient++,Nagios服務器端使用check_nt

原创 Monitoring Linux/Unix Machines

監控Linux或Unix主機     一、概述  有兩種不同的方法監控linux/Unix主機的服務器和屬性: 第一種是使用共享SSH鍵和check_by_ssh插件來執行遠程服務器上的插件.這種方法會導致被監控的服務器負載過高不推薦使

原创 批量編譯安裝Perl模塊

查看當前系統安裝模塊 批量編譯安裝Perl模塊 驗證   一、查看當前系統安裝模塊 # cat CheckModule.pl #!/usr/bin/perl use strict; use ExtUtils::Installed; m

原创 Perl 布爾值 真真&&假假

Perl中,真總是在標量環境中處理. 1.除""和"0"外,所有的字符串爲真. 2.除0外,所有數字爲真. 3.所有引用爲真. 4.所有未定義的值爲假.  

原创 Perl CGI模塊

導入使用CGI模塊 文本網頁 文本輸入框 多選項選擇 提交按鈕 字體設定 字體顏色設定   一、導入使用CGI模塊   第一、use CGI 引用函數需要使用 my $query = CGI->new; print $query->X

原创 Oracle 11G 創建scott用戶

新裝完Oracle 11GR2數據庫後準備使用scott登錄 $ sqlplus SQL*Plus: Release 11.2.0.1.0 Production on Sun Sep 29 15:29:41 2013 Copyrig

原创 Perl DBI 操作數據庫

連接實例 顯示sql結果實例 模塊名稱 DBI   一、連接實例 my $sql = qw{ sql }; my $dbh = DBI->connect("DBI:數據庫類型:database=數據庫名稱;host=localhost"

原创 Oracle Error ORA-01950

錯誤現象 解決步驟   一、錯誤現象   使用SQL*Loader向scott用戶的bonus表導入數據時,提示插入了數據 $ sqlldr scott/tiger control=ldr_case.ctl SQL*Loader:

原创 Ubuntu 10.04 強制關機Target filesystem doesn't have /sbin/init錯誤

錯誤現象 解決步驟   一、錯誤現象   Ubuntu 10.04 強制關機後啓動提示 mount: mounting /dev on /root/dev failed: No such file or directory mount:

原创 Citrix Receiver for Linux 12.1:nspluginwrapper: command not found

問題現象 解決步驟 一、問題現象 安裝Receiver 12.1時報錯 nspluginwrapper: command not found   二、解決步驟 # vi linuxx86/hinst 將所有nspluginwrapper

原创 sqlplus echo

sqlplus中可以通過控制echo的開關來停止關閉腳本執行中的顯示過程   在sqlplus中執行sql腳本有三種形式 1. start sql 2. @sql 3. @@sql   echo設置默認關閉,關閉狀態下的腳本執行只有結果

原创 Yum Warning: RPMDB altered outside of yum.

錯誤現象 解決步驟 一、錯誤現象 # yum -y install libXfont Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror

原创 Linux Apache 2 增加Perl CGI支持

1.安裝Apache mod_perl.so模塊 yum install mod_perl.so   2.修改Apache配置文件 # vi /etc/httpd/conf/httpd.conf   第一:增加Perl支持 AddHa