搜尋此網誌

2010年8月30日 星期一

DeltaCopy Use Guide

DeltaCopy is base on rsync software.

Download DeltaCopy (Without Installer), http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp, And Extract it.
DeltaC is Client program, DeltaS is Server program,

Server Configuration
Execute DeltaS.exe
Register Windows Service Using Local Service Account
Add New Virtual Directories
a. Set Virtual Directory Name
b. Path, ex: c:\temp
c. Comment, backup temp file
d. Choose Use Authentication, fill User Name and Pasword

Client Configuration
Execute DeltaC.exe
Add New Profile
a. Profile Name, ex: temp
b. Server IP/Host Name, ex: Storage server IP
c. Vitual Directory Name, ex: temp (follow Server Configuration step a)
Disable “Remove delete files from server”Options
Configure Authentication as you feld
Add Folder, Choose you want to backup folder, ex: backupfile

When you sync, file will storage in server c:\temp\backupfile

2010年8月25日 星期三

Tomcat Configuration



Add a Virtual Host
Configure “conf\server.xml”
<Host name="www.localhost.com"  appBase="c:\temp\"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="c:\temp\" debug="0" reloadable="true"/> 
</Host>

Reference Web Site: http://wenson.javaeye.com/blog/45546

Listing file
Configure "conf'web.xml"
listings
false
change to
listings
true

2010年7月22日 星期四

ubuntu server add Harddisk

1. check device name in /dev/, ex: /dev/sdb
2. use fdisk create patition, ex: fdisk /dev/sdb
p: printe all patition
n: create a patition
d: delete a patition
l: show all know kind of patition
w: save setting

3. format patition, ex: mke2fs /dev/sdb1
4. configure setting in /etc/fstab

2010年7月21日 星期三

Windows 大量部署

tools
Windows OPK: auto install windows
WinPE, ImageX, diskpart, oscdimg
WinPE:
ImageX: like ghost
Diskpart: 切 Disk Partition
oscdimg: like ultraISO, 將檔案轉成 ISO 檔

Step
1. sysprep final OS
clean host name & SID

2. Using WinPE boot, than use ImageX backup OS to the image file (*.wim)

copy *.wim to \Image\i386\system32\os.wim
oscdimg.exe –n -m -betfsboot.com Image Recovery.iso -lRecovery

Java + Tomcat Deployment

Install J2SDK 1.4.2_19 in the Windows
1. Download Java from
http://java.sun.com/products/archive/
2. Install it using default
3. Setup Path in Windows
a. right click "My Computer" choose properties.
b. Advanced > Environment Variables
c. Create System Variables: JAVA_HOME=C:\j2sdk1.4.2_19
d. Add "C:\j2sdk1.4.2_19\bin" in the PATH
Done

Install Tomcat 4.1 in the Windows
1. Download Tomcat from
http://archive.apache.org/dist/tomcat/tomcat-4/v4.1.40/bin/
2. Install it using default
Done

2010年4月15日 星期四

ubuntu Server install SAMBA

Installing SAMBA Server in the ubuntu is eaily.

sudo apt-get update
sudo apt-get install samba

 

Configure SAMBA Settings

	workgroup = groupname
	...
#create share folder
[share name]
	comment = remark
	path = "folder path"
	guest ok = "yes or no"
	read only = 'yes or no'

2010年2月25日 星期四

如何解除被歸類為垃圾郵件的 IP - Barracuda

因為垃圾郵件的泛濫, 所以在 2009 年 10 月後出現了許多郵件伺服器 IP 被封鎖的現象, 被封鎖的郵件伺服器在發出郵件到有 Barracuda Spam 的伺服器時, 會出現如下被封鎖的訊息。
image