原创 RunWebserver.sh

#!/bin/shicount=`pgrep -fl jakarta-tomcat.bin | wc -l`if [ $icount = 0 ]then   echo "Newly starting the Tomcat, pls wai

原创 Customized the Server.xml for tomcat

----from server.xml  <!-- Tomcat Root Context -->        <!--          <Context path="" docBase="ROOT" debug="0">      

原创 Startup the web server and instance automatically.

1, vi /etc/rc.d/rc.local (自啓動oracle)touch /var/lock/subsys/localsh /StartupServer.sh#echo "Starting Tomcat, pls waiting

原创 Import or Export the oracle data

For oracle DB從某用戶導入另一用戶,imp xxhgs/pass@lms file=xxhgs.dmp fromuser=xxhgs touser=xxhgs log=impxxhgs.log把一dmp文件,導入某user下,

原创 Startup ssh service

1, cd  /usr/sbin/2, ./ssh & (Vi /etc/ssh/sshd_config, you can modify the port)3, if you want to kill, pls use kill - 9

原创 Cronjob setup

-- cronjob.shecho  "Repeatedly Run CronJob..."crontab -e (*/2 * * * * su - root -c "/bin/sh /cron.sh" or #0,20,40 0,1,2

原创 阻止IP

在sqlnet.ora中增加如下部分 ----------------------------- tcp.validnode_checking=yes

原创 Config the X-session(X-WinPro5.3.rar)

XDM配置 1。# cd /etc/X11/xdm 2. 修改 xdm-config,把下面這行註釋掉: “DisplayManager.requestPort: 0” --> “!DisplayManager.requestPort:

原创 Startup Oracle Instance

su - oraclesqlplus /nologconnect sys/pass@boss as sysdbastartup 點贊 收藏 分享 文章舉報 ahqjlfb 發佈

原创 Configure the environment variable

vi /home/oracle/.bash_profileexport ORACLE_BASE=/home/oracleexport ORACLE_HOME=/home/oracle/product/9.2.0export ORACLE_

原创 share the oracle experiences

1、查看錶空間的名稱及大小     select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size    from dba_tablespaces t, dba

原创 The useful commands in linux

1, netstat -nl -p|grep ssh (8080)查看端口情況. netstat -na.2, pgrep -fl ssh 查看進程.3, rpm -qa | grep telnet4, dmesg5, fdisk /de

原创 How to use chkconfig

簡介:本文通過對chkconfig 的介紹,爲Linux 系統管理員輕鬆管理 /etc/rc[0-6].d 目錄下衆多的符號連接提供了詳細的說明。那些Linux “菜鳥” 也可以通過本文了解和認知Linux 系統的運行級的概念。 不像DO

原创 duplicate the same db

文章出處:ZDNet 作者:黃林 發佈時間:2006-10-17   一、快速建立一個和當前數據庫系統結構的不包含數據的數據庫   對於DBA來講,有時要建立一個和當前數據庫完全相同的數據庫,下面的語句很簡單的就可實現

原创 LoadRunner與Winsock協議[翻譯]

LoadRunner與Winsock協議[翻譯]   文章出處:51testing博客 作者:charmer 發佈時間:2006-12-08   [翻譯]LoadRunner與Winsock協議(一)在開始討論winso