Monster Oasis
覺得累就是進步的開始!

2010/07/27

postfix , 寄 yahoo 的信改由 hinet 的 smtp 發 , 用 telnet command 測試對方 smtp 通不通

Filed under: System/Linux/Unix* — 1:48 pm
cat main.cf
transport_maps = regexp:/etc/postfix/transport

cat transport
.*\.yahoo\..*   smtp:[msa.hinet.net]

telnet smtp.test.com.tw 25

HELO test.com.tw
mail from:test@test.com.tw
rcpt to:test@testdomain.com.tw
data
Subject:test
xxxxxxxxxxx

2010/07/01

linux mount windows share directory / cifs / samba

Filed under: Copy_N_Paste,System/Linux/Unix* — 10:45 pm

在 /etc/fstab 加一行:

//192.168.100.1/ruten /rutenlog cifs user,rw,suid,username=XXX,password=YYY 0 0

2010/06/21

Maximum Availability Architecture – Oracle Streams Configuration Best Practices

Filed under: DATABASE,JOB,Software,System/Linux/Unix* — Tags: , , , — 2:47 pm

Oracle doc PDF URL : http://dn.monster.tw/my/docs/oracle/MAA_10gR2_Streams_Configuration.pdf

Oracle® Streams Advanced Queuing User’s Guide and Reference
10g Release 2 (10.2) –
http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/toc.htm

sample memo: http://www.monster.com.tw/archives/2565

Oracle Maximum Availability Architecture – Overview – http://www.oracle.com/technology/deploy/availability/htdocs/maaoverview.html

Related URL:
  1. Protected: oracle 的一些 SOP command
  2. [設定/memo] PL/SQL Developer , plsql 免設 tnsname 檔的方法
  3. Protected: [memo] Streams process
  4. Protected: oracle standby SOP
  5. 使用 mysql partition table sample
  6. Protected: install oracle 11g steps
  7. Protected: oracle trigger question
  8. oracle : dbca initialization parameters 畫面 , character set 字元集 設定畫面 / plsql 免設 tnsname.ora tips
  9. 裝好 oracle 後 啟用 Enterprise Manager 後的 license 訊息畫面
  10. 更改 oracle 成 archivelog mode

[設定/memo] PL/SQL Developer , plsql 免設 tnsname 檔的方法

Filed under: Copy_N_Paste,DATABASE,JOB,Software,System/Linux/Unix* — Tags: — 2:20 pm

在 Database 那格用這種格式: IP_ADDRESS/SERVICE_NAME

擷取PLSQL

Related URL:
  1. Protected: oracle 的一些 SOP command
  2. Maximum Availability Architecture – Oracle Streams Configuration Best Practices
  3. Protected: [memo] Streams process
  4. Protected: oracle standby SOP
  5. 使用 mysql partition table sample
  6. Protected: install oracle 11g steps
  7. Protected: oracle trigger question
  8. oracle : dbca initialization parameters 畫面 , character set 字元集 設定畫面 / plsql 免設 tnsname.ora tips
  9. 裝好 oracle 後 啟用 Enterprise Manager 後的 license 訊息畫面
  10. 更改 oracle 成 archivelog mode

2010/05/10

Protected: [收藏] Linux Embedded system step by steps – PDF / debian / linux booting steps

Filed under: System/Linux/Unix*,hardware — Tags: , , , — 11:11 am

This post is password protected. To view it please enter your password below:


2010/04/13

RSA token VPN

Filed under: JOB,System/Linux/Unix* — Tags: — 6:54 pm

route add 172.0.0.0 mask 255.0.0.0 172.30.0.51

R0013869

1

screen

XP 版的比較複雜

擷取-rsa-1

擷取-rsa-2

Related URL:
  1. VPN screen capture – RSA SecurID : next tokencode
  2. 我的 DD-WRT site to site VPN setting
  3. 兩套 Free firewall / NAT / VPN server
  4. 用 FON ( DD-WRT ) 設定 site to site VPN ( PPTP )

2010/04/02

Protected: amazon ec2 實作參考資料

Filed under: JOB,Programming/misc,Software,System/Linux/Unix* — 10:04 am

This post is password protected. To view it please enter your password below:


2010/03/18

開啟 vmware esxi server virtual switch Promiscuous Mode 的方法 – for sniff network purpose

Filed under: JOB,Programming/C,System/Linux/Unix* — 4:49 pm

要研究這麼深?! 沒辦法, 最近遇到奇怪問題非得啟用 Promiscuous Mode 來看看發生啥事了.

設定 step by step 看圖:056a3fd358a30a988ad401d605afe440

 

這是 免費的 sniff tools: http://www.ethereal.com/

2010/02/16

gentoo emerge command

Filed under: System/Linux/Unix* — Tags: — 12:38 pm

升級系統/世界

emerge -uDN system ( world )

升級完世界 把多餘的東西砍掉

emerge --depclean

檢查 library 一致?

revdep-rebuild

用vmware , frame buffer I/O很慢 , 要加 -q

安裝被keywords mark起來的ebuild

把 ebuild 名稱加到 /etc/portage/package.keywords 就可以了

在 /etc/make.conf 加 ACCEPT_KEYWORDS=”~amd64″

裝特定版本的 package

emerge =www-servers/apache-2.x.x
cd /
mount -t proc proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
cp -L /etc/resolv.conf /mnt/gentoo/etc/
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
Related URL:
  1. Protected: emerge 不見的救法
  2. [gentoo] 排除舊的 lib 相容問題
  3. [monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting
  4. Protected: 兩個版本的 Linux ( CENTOS vs GENTOO ) 作 mysql + senna small compare
  5. gentoo linux ifconfig
  6. 查主機溫度
  7. 裝新的 www.monster.com.tw 過程記錄
  8. 在 gentoo 裝 oracle sqlplus package
  9. gentoo NFS
  10. Protected: sqlrelay server install / setup / SOP / 設定 / 啟動

2010/02/06

[gentoo] 排除舊的 lib 相容問題

Filed under: System/Linux/Unix* — Tags: — 5:35 pm
 * Messages for package sys-devel/libtool-2.2.6b:

 * Old versions of installed libraries were detected on your system.
 * In order to avoid breaking packages that depend on these old libs,
 * the libraries are not being removed.  You need to run revdep-rebuild
 * in order to remove these old dependencies.  If you do not have this
 * helper program, simply emerge the 'gentoolkit' package.
 *
 *   # revdep-rebuild --library libltdl.so.3
 *
 * Once you've finished running revdep-rebuild, it should be safe to
 * delete the old libraries.  Here is a copy & paste for the lazy:
 *   # rm '/usr/lib64/libltdl.so.3'

下了 revdep-rebuild –library libltdl.so.3 會

 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries using libltdl.so.3
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Checking dynamic linking
[ 55% ]  *   found /usr/lib64/apache2/modules/libphp5.so
[ 80% ]  *   found /usr/lib64/php5/bin/php
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/apache2/modules/libphp5.so -> dev-lang/php
 *   /usr/lib64/php5/bin/php -> dev-lang/php
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot  dev-lang/php:5
..........
Related URL:
  1. Protected: emerge 不見的救法
  2. gentoo emerge command
  3. [monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting
  4. Protected: 兩個版本的 Linux ( CENTOS vs GENTOO ) 作 mysql + senna small compare
  5. gentoo linux ifconfig
  6. 查主機溫度
  7. 裝新的 www.monster.com.tw 過程記錄
  8. 在 gentoo 裝 oracle sqlplus package
  9. gentoo NFS
  10. Protected: sqlrelay server install / setup / SOP / 設定 / 啟動
下頁»

www.monster.com.tw , © Copyright 2008