搜尋此網誌

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