Professional Documents
Culture Documents
Ci t h thng
Ngy
08 09, 2010
Phin bn
1.0
Trng thi
Hon thnh
Tc gi
Lch s thay i
Ngy
08 09, 2010
08 09, 2010
Phin bn
1.0
1.0
Chi tit
Hng dn ci t h thng
sLibarry
Mc lc
1 GII THIU................................................................................. 4
1.1 MC CH........................................................................................................................................................4
1.2 PHM VI...........................................................................................................................................................4
1.3 NH NGHA CC T VIT TT..........................................................................................................................4
1.4 THAM KHO......................................................................................................................................................4
1.5 TNG QUAN......................................................................................................................................................4
4 THUT NG..............................................................................10
5 THAM KHO ............................................................................10
1 Gii Thiu
1.1
Mc ch
1.2
Phm Vi
1.3
nh Ngha Cc T Vit Tt
STT
Term
nh ngha
sLibarry
H thng th vin
KOHA
Gi ci t th vin vt l
DSpace
Gi ci t th vin s
CAS Server
LDAP Server
1.4
Tham Kho
1.5
Tng Quan
h thng th vin s
h thng qun l ngi dng tp trung nh kt hp ng nhp mt ln theo chun cng nghip
LDAP.
em li tin ch ng k cho h thng th vin trong quy trnh nghip v v qun tr ngi dng mt
cch thng minh
3 Hng dn ci t h thng
Yu cu phi ci t cc bin mi trng cho java, tomcat, ant, maven c hng dn trong
ti liu ci t th vin s
3.1
Th vin vt l
Ti liu hng dn : Koha@InstallationGuideline.doc
3.2
Th vin s
Ti liu hng dn: Dspace@IstallationGuide.doc
3.3
3.3.2 LDAP
Ti liu hng dn: LDAP@Introduce.doc
Phn nay hng dn trin khai CAS Server kt ni n LDAP Server v deploy CASServer trn
tomcat.
M
deployerConfigContext.xml
trong
th
mc
webapp/src/main/webapp/WEB-INF v sa li ni dung nh sau:
o
CAS_home/CAS-server-
st>
</property>
<property name="userDn" value="cn=Directory Manager"/>
<property name="password" value="123456"/>
</bean>
6
Trong :
ldap://nonglam.cntt.com:5389 l ng dn kt ni ti LDAP server
cn=Directory Manager l tn ng nhp root ca LDAP Server
123456 l password ng vi ti khon ng nhp trn
o
Trong :
uid=%u l trng nh danh ca ngi dng trong LDAP Server
ou=cntt,o=nonglam,dc=com l cu trc cy tm kim ti khon ngi dng
-
Build v Deploy.
Sau build thnh cng chp CAS.war trong th mc %CAS_HOME%/CAS-serverwebppp/target vo th mc webapp ca tomcat.
//tao keystore
[JDK_Home]>cd bin
[JDK_Home]\bin>keytool -genkey -alias tomcat -keypass changeit
-keyalg RSA
Enter keystore password: changeit
What is your first and last name?
Ch nay phai in full domain
[Unknown]: nonglam.cntt.com
What is the name of your organizational unit?
[Unknown]: Information Systems
What is the name of your organization?
[Unknown]: Pacific Disaster Center
What is the name of your City or Locality?
[Unknown]: Kihei
What is the name of your State or Province?
[Unknown]: HI
What is the two-letter country code for this unit?
[Unknown]: US
Is CN=localhost, OU=Information Systems, O=Pacific Disaster
Center, L=Kihei, ST=HI, C=US correct? [no]: yes
//xut ra file certificate
[JDK_Home]\bin>keytool -export -alias tomcat -keypass changeit
-file server
Enter keystore password: changeit
Certificate stored in file <server>
//self-sign
[JDK_Home]\bin>keytool -import -file server -keypass changeit
-keystore ..\jre\lib\security\cacerts
Enter keystore password: changeit
Owner: CN=localhost, OU=Information Systems, O=Pacific Disaster
Center, L=Kihei, ST=HI, C=US
Issuer: CN=localhost, OU=Information Systems, O=Pacific
Disaster Center, L=Kihei, ST=HI, C=US
Serial number: 462030d8
Valid from: Fri Apr 13 15:39:36 HST 2007 until: Thu Jul 12
15:39:36 HST 2007
Certificate fingerprints:
MD5: CC:3B:FB:FB:AE:12:AD:FB:3E:D 5:98:CB:2E:3B:0A:AD
SHA1:
A1:16:80:68:39:C7:58:EA:2F:48:59:AA:1D:73:5F:56:78:CE:A4:CE
Trust this certificate? [no]: yes
Certificate was added to keystore
o
Cu
hnh
ng
dn
tomcat
[Tomcat_home]/conf/server.xml
th
mc
CAS
Server
trong
file
<Host>
. . .
<Context path="/cas" docBase="[ng dn n th mc va gii
nn]" debug="0" reloadable="true" cachingAllowed="false"
allowLinking="true"/>
</Host>
4 Thut Ng
5 Tham Kho
10