Paragraph pr27 = new Paragraph();
pr27.setIndentationLeft(20); //整段縮20
pr27.setLeading(11, 0); //行距縮小
pr27.setFirstLineIndent(-20.0f); //首行凸排
pr27.add(new Chunk( "一、聰明的你一定想到了,配合第一類第八課所教的項目符號/編號來用,是不是天作之合呢?", catFont));

migasun 發表在 痞客邦 留言(0) 人氣()

參考來源 https://www.linkedin.com/pulse/5-key-attributes-performance-tune-jdbc-connection-pool-malhotra/

https://commons.apache.org/proper/commons-dbcp/configuration.html

監控方法

https://wiki.apache.org/tomcat/FAQ/Monitoring

http://www.jcgonzalez.com/java-monitor-jdbc-connection-pool-servlet

migasun 發表在 痞客邦 留言(0) 人氣()

來源 : http://atozoracle.blogspot.tw/2009/01/how-to-check-any-deadlock-and-other.html
Normally deadlock generates dump file and automatically is released by oracle system process
1)check v$session
sqlplus> select sid, serial#, username, command, lockwait, osuser from v$session where lockwait is not null

migasun 發表在 痞客邦 留言(0) 人氣()

Oracle Client 的 ODBC連線設定Oracle的連線設定不對,常常會造成中文字碼讀出時變成亂碼的狀況,以下是Client的相關設定流程和步驟 :

(1)安裝Oracle Client
(2)檢查Oracle profile的連線時間設定(注意Time Out會影響連線穩定度)
(3)檢查Oracle帳號權限是否可讀取全部之Owner/Table,且有變更之權限
(4)設定Client端之ODBC連線

migasun 發表在 痞客邦 留言(0) 人氣()

./runInstaller -ignoreSysPrereqs

migasun 發表在 痞客邦 留言(0) 人氣()

--欄位長度不足

alter materialized view MIFARENOREG_ACTIVE_USER_SNAP modify (TITLE_CODE varchar2(50));

migasun 發表在 痞客邦 留言(0) 人氣()

=REPT(0,8-LEN(A1))&A1

字串左邊補滿8個0

migasun 發表在 痞客邦 留言(0) 人氣()

blog.tonycube.com

migasun 發表在 痞客邦 留言(0) 人氣()

http://blog.xuite.net/hankohya34/blog/63566791-Windows+%E9%81%A0%E7%AB%AF%E6%A1%8C%E9%9D%A2%E5%88%B0CentOS

Windows 遠端桌面到CentOS

yum install gcc pam-devel openssl-devel

yum install autoconf automake libtool

yum install libX11-devel libXfixes-devel

migasun 發表在 痞客邦 留言(0) 人氣()

http://centoshelp.org/security/securing-sshd/

Securing sshd

This howto outlines a few extra steps that can be taken to further secure a SSH server, chiefly from the constant onslaught of automated brute-force password attacks.

Applicable to Centos Versions:

  • Centos 5.x

migasun 發表在 痞客邦 留言(0) 人氣()

How to monitor failed ssh login attempts on CentOS

If you are a web hosting administrator or a Linux security technician, you probably need to closely monitor ssh login activities, especially failed login attempts. Linux hasPluggable Authentication Modules (PAM) built-in, offering configurable authorization for Linux applications and services. You can use PAM to monitor failed ssh login attempts, and act on them (e.g., blocking user).


In this tutorial, I will show how to configure PAM to monitor failed ssh login attempts on CentOS. Depending on the CentOS version you are using, PAM configuration is slightly different.


Configure PAM on CentOS 5

migasun 發表在 痞客邦 留言(0) 人氣()

參考資料:

http://middlewaremagic.com/weblogic/?p=4751

指令如下

cd /opt/Oracle/Middleware/wlserver_12.1/server/bin

source ./setWLSEnv.sh

migasun 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。