welcome to 's blog...


公告

我的分类(专题)

日志更新

最新评论

留言板

链接

搜索


Blog信息




[置顶][Exchange\Lotus]自定义Domino Web Access 7 logo
aku1 发表于 2006-6-23 13:34:05

前不久写的,可以看看 :)

自定义Domino Web Access 7 logo


阅读全文 | 回复 | 引用通告


[置顶][Exchange\Lotus]如何设置两个不相关的服务器上的用户互相发送邮件(-)
aku1 发表于 2006-3-29 16:32:29

如何设置两个不相关的服务器上的用户互相发送邮件(-)


……
阅读全文 | 回复 | 引用通告


[置顶][Exchange\Lotus]ICM集群指南
aku1 发表于 2006-3-1 18:30:14

                 ICM集群指南

 


……
阅读全文 | 回复 | 引用通告


[置顶][Exchange\Lotus]设置 Domino Active Directory 同步
aku1 发表于 2006-1-20 8:41:12

假若你是windows下的lotus Domino管理员的话,我强烈建议你设置这东东,因为确实会使你工作方便许多,另外建议你把认证子迁移到CA ,言归正传,写完这个该封下笔,因为发现写文章真累,看文章真爽 :)  !!

Environment;

Windows xp(确认正常连接DC加入AD),windows server光盘,notes client光盘

管理员帐号:administrator(AD) ,admin(Domino)

part1

1.从 Windows 2003 Server CD 安装 Windows 2003 管理工具包。从 CD 运行 \i386\adminpak.msi,确认正常连接如图:


……
阅读全文 | 回复 | 引用通告


[置顶][Exchange\Lotus]Lotus Domino6 到Exchange 2003初步Migration
aku1 发表于 2006-1-12 13:53:42







由于之前并没有接触lotus domino,而新公司主要基于Lotus Domino,于是抽出部分时间学习,此次Migration学习前后花了一个星期,而实际配置只花了两天时间(其中还要工作:)),当然Lotus Domino已学习一个月了,我最想说的是Microsoft的文档写的真够好


Microsoft Exchange 2000 和 Lotus Domino 共存及迁移


其他与此文档相同的我会从此文档直接copy,不在强调出处


Platform



……
阅读全文 | 回复 | 引用通告


[Scripting]做iptables 又遇字符处理 :)
aku1 发表于 2008-7-4 9:45:56

导出来的是

Client IP Address Name Lease Expiration Type Unique ID Description
10.16.1.31 SZ-PE-Betty.xxx.com 7/4/2008 7:23:39 AM DHCP RAS 
10.16.1.32  7/4/2008 3:08:45 AM DHCP 0011f9ffa8483930333131393132 
10.16.1.33 SZ-PE-Betty.xxx.com 7/4/2008 7:23:40 AM DHCP RAS 
10.16.1.34  7/4/2008 7:19:02 AM DHCP 636973636f2d303031322e643930352e376538302d566c31 
10.16.1.35 SZ-PM03-Kris.xxx.com 7/4/2008 10:12:10 AM DHCP 001c2314ba27 
……

阅读全文 | 回复 | 引用通告


Suse iptables basic Access rules
aku1 发表于 2008-7-3 8:22:20

This is a basic access control rule,I think i need to configure squid proxy for the advance ACL later
#!/bin/bash
#set Default GATEWAY
GATEWAY=xxx.xxx.xxx.xxx

#set interface WAN
IP_PUB=xxx.xxx.xxx.xxx
IF_PUB=eth0
NET_PUB=xxx.xxx.xxx.xxx/x

#SET interface LAN
IP_PRV=10.16.5.1
IF_PRV=eth1
NET_PRV=10.16.5.0/24
LAN_MASK=255.255.255.0
#others
ANYWHERE=0.0.0.0/0


……
阅读全文 | 回复 | 引用通告


Suse双网卡防火墙
aku1 发表于 2008-7-1 11:57:49

公司领导安排,所以非常急,这星期一直在忙这个,以前在redhat下很快搞顶,现在象中邪了,郁闷,干脆重新install了

 


阅读全文 | 回复 | 引用通告


[Scripting]仿*nix系统Grep 命令最终版脚本
aku1 发表于 2008-7-1 8:46:09

网友给我的题目这是用vbscript结合wmi写的,让我熟悉了下参数控制,以前从没注意参数项,谢谢beginner-bj

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Jimmy>type c:\fso\file.txt
111
abb

222
aab

333
aaa

444
bbb

555
ccc

666
b


……
阅读全文 | 回复 | 引用通告


[Scripting]跟网友讨论的脚本
aku1 发表于 2008-6-30 9:40:17

Const ForReading = 1
Const ForWriting = 2

Dim oFSO,oF,i,j,strline,strnewText,strnewText1
array1=array("111 bbb","222 aab","333 aaa","444 bbb","555 ccc","666 b")
ScriptPath="C:\FSO"

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oF = oFSO.CreateTextFile(ScriptPath & "file.txt")
for i=0 to 5
 
oF.Writeline(array1(i)& vbCrLf)
next

oF.close

' 包含 "b"。

Set objFile = oFSO.OpenTextFile(ScriptPath & "file.txt", ForReading)


……
阅读全文 | 回复 | 引用通告


[MS SQL]SQL UDF
aku1 发表于 2008-6-18 16:06:05

有如下表

groupid memberid string val
a 3 stral 6
a 9 stra2 7
b 2 strb1 3
b 4 strb2 7
b 5 strb3 3
b 9 strb4 11
c 3 strc1 8
c 7 strc2 10
c 9 strc3 12
想得出结果如下,注意product,是groupid相对应的val乘积
groupid product 
a 42
b 693
c 960
先看下自己的苯方法


……
阅读全文 | 回复 | 引用通告


[MS SQL]SQL Cursor
aku1 发表于 2008-6-17 14:48:24

USE TEST;
GO
DECLARE @SchemaName varchar(255)
DECLARE @TableName  varchar(255)
DECLARE @IndexName  varchar(255)
DECLARE @Fragmentation float
DECLARE TableCursor CURSOR FOR
    SELECT SCHEMA_NAME(CAST(OBJECTPROPERTYEX(i.object_id,'Schemaid') As int)),
           OBJECT_NAME(i.object_id),
           i.name,
           ps.avg_fragmentation_in_percent
    FROM sys.dm_db_index
……

阅读全文 | 回复 | 引用通告


[MS SQL]Pivot and unpivot
aku1 发表于 2008-6-11 14:46:45

提问

现有一表ee,数据为:
employee_sn   vehicle_type   Cvehicle_type   time_money
-----------   ------------   -------------   ---------------------
400012             1                         4                           20.00
400027             1                         13       &n
……

阅读全文 | 回复 | 引用通告


[MS SQL]研究CTE recursion
aku1 发表于 2008-6-6 15:34:58

这是邹建书的列子利用CTE recursion找部门下的所有部门.

use test;
go

CREATE TABLE Dept( id int primary key,
                   parent_id int,
                   Name nvarchar(20))
insert Dept
select 0,0,N'<全部>' union all
select 1,0,N'财务部' union all
select 2,0,N'行政部' union all
select 3,0,N'业务部' union all
select 4,0,N'财务部' union all
select 5,4,N'销售部'
……

阅读全文 | 回复 | 引用通告


[MS SQL]After Trigger and Foreign Key and Transation
aku1 发表于 2008-6-4 18:51:08

USE TEST

GO

if object_id('tb3') is not null

     drop table tb3

go

create table tb3(code int identity(1,1), name nvarchar(12),Pay money)
go

create trigger trig1 on tb3

  after insert

AS

   if (select count(code) from inserted where Pay<1500)>0

   begin
        RAISERROR('THE DATA INTEGRITY PROBLEM',16,1)

        ROLLBACK TRANSACTION

    END;
GO


……
阅读全文 | 回复 | 引用通告


[MS SQL]TRigger and function
aku1 发表于 2008-6-3 11:14:30

use pubs
go

if object_id('tb1') is not null

   drop table tb1;

go

Create table tb1 (E_id Nchar(5) primary key,Name Nvarchar(12));
GO

if object_id('tirg1') is not  null

    drop trigger trig1

go

Create trigger trig1 on tb1

for insert

as

 if (select count(e_id) from inserted

             where name =N'张春良')>1
 begin

     print 'th
……

阅读全文 | 回复 | 引用通告


首页 上一页 下一页 尾页 页次:1/18页  16篇日志/页 转到:



Powered by Oblog.