2022年1月5日 星期三

ChairCgiTw #0001

Chair's first blood
Created on 2008/03/11
Unlockable Content:Download the original file blood.psd

2021年9月8日 星期三

MSSQL 跨主機查詢

安全性設定

sp_configure 'show advanced options', 1;  

RECONFIGURE;

GO 

sp_configure 'Ad Hoc Distributed Queries', 1;  

RECONFIGURE;  

GO  

再下 SQL

opendatasource('SQLOLEDB','Data Source=172.16.2.48;User ID=hcm2db;Password=hcm2db5678').[db1].[dbo].[table1]


完成後再把安全性改回來




 

2021年7月20日 星期二

AWS EBS Linux LVM restore mount

 #看開機自動 mount 的 disk

cat /etc/fstab


#看目前主機的實體 disk

lsblk

ls /etc/nvme*

ls /etc/sd*


#看已 mount 的 disk

df -h


#看沒有 mount 的 lv

fdisk -l


#mount

mkdir /tmp/bktest

mount /dev/mapper/BKVG-bklv /tmp/bktest



PS:#查目前有沒有什麼程序在執行 ps -ef | grep ora