环境准备
- Content Management for WebCenter 10.1.3.5.1
- Oracle WebCenter 11.1.1.3.0
- Oracle Database 10g Express Edition
- Oracle WebTier Utilities 11.1.1.3.0 64bit
- Windows 7 Professional 64 bit
创建数据库表
此步骤通过Oracle Repository Creation Utility 11.1.1.3.0 图形化工具实现,过程略。
安装UCM
由于此版本的UCM不支持Win7 64位,所以要进行些设置,右键点击Installer.exe文件,选择 Run this program in compatibility mode for: Windows XP (Service Pack3 )如下图:

以我的电脑为例,执行以下命令:
F:\ofm_ucm_generic_10.1.3.5.1_disk1_1of1\ContentServer\install\UCM\ContentServer
\win32>Installer.exe
intradoc.common.ServiceException: Unable to determine your platform.
F:\ofm_ucm_generic_10.1.3.5.1_disk1_1of1\ContentServer\install\UCM\ContentServer
\win32>Installer.exe
Please select your locale from the list.
1. Chinese-Simplified
2. Chinese-Traditional
3. Deutsch
*4. English-US
5. English-UK
6. Español
7. Français
8. Italiano
9. Japanese
10. Korean
11. Nederlands
12. Português-Brazil
Choice?
Throughout the install, when entering a text value, you can press Enter to
accept the default that appears between square brackets ([]). When selecting
from a list, you can select the choice followed by an asterisk by pressing
Enter.
Select installation type from the list.
*1. Install new server
2. Update a server
Choice?
Content Server Installation Directory
Please enter the full pathname to the installation directory.
Content Server Core Folder [c:/oracle/ucm/server]:d:/oracle/fmw/ucm
Create Directory
*1. yes
2. no
Choice?
Java virtual machine
*1. Sun Java 1.5.0_11 JDK
2. Specify a custom Java virtual machine
Choice?
Installing with Java version 1.5.0_11.
Enter the location of the native file repository. This directory contains
the native files checked in by contributors.
Content Server Native Vault Folder [d:/oracle/fmw/ucm/vault/]:
Create Directory
*1. yes
2. no
Choice?
Enter the location of the web-viewable file repository. This directory
contains files that can be accessed through the web server.
Content Server Weblayout Folder [d:/oracle/fmw/ucm/weblayout/]:
Create Directory
*1. yes
2. no
Choice?
This server can be configured to manage its own authentication or to allow
another master to act as an authentication proxy.
Configure this server as a master or proxied server.
*1. Configure as a master server.
2. Configure as server proxied by a local master server.
Choice?
During installation, an admin server can be installed and configured to
manage this server. If there is already an admin server on this system, you
can have the installer configure it to administrate this server instead.
Select admin server configuration.
*1. Install an admin server to manage this server.
2. Configure an existing admin server to manage this server.
3. Don’t configure an admin server.
Choice?
Enter the location of an executable to start your web browser. This browser
will be used to display the online help.
Web Browser Path [c:/program files/internet explorer/iexplore.exe]:
Content Server System locale
1. Chinese-Simplified
2. Chinese-Traditional
3. Deutsch
*4. English-US
5. English-UK
6. Español
7. Français
8. Italiano
9. Japanese
10. Korean
11. Nederlands
12. Português-Brazil
Choice?
Please select the region for your timezone from the list.
*1. Use the timezone setting for your operating system
2. Pacific
3. America
4. Atlantic
5. Europe
6. Africa
7. Asia
8. Indian
9. Australia
Choice?
Please enter the port number that will be used to connect to the Content
Server. This port must be otherwise unused.
Content Server Port [4444]:
Please enter the port number that will be used to connect to the Admin
Server. This port must be otherwise unused.
Admin Server Port [4440]:
Enter a security filter for the server port. Hosts which are allowed to
communicate directly with the server port may access any resources managed
by the server. Insure that hosts which need access are included in the
filter. See the installation guide for more details.
Incoming connection address filter [127.0.0.1]:
*** Content Server URL Prefix
The URL prefix specified here is used when generating HTML pages that refer
to the contents of the weblayout directory within the installation. This
prefix must be mapped in the web server Additional Document Directories
section of the Content Management administration menu to the physical
location of the weblayout directory.
For example, "/idc/" would be used in your installation to refer to the URL
<a href="http://ucm.company.com/idc">http://ucm.company.com/idc</a> which would be mapped in the web server to the
physical location /oracle/ucm/weblayout.
Web Server Relative Root [/idc/]:
Enter the name of the local mail server. The server will contact this system
to deliver email.
Company Mail Server [mail]:
Enter the e-mail address for the system administrator.
Administrator E-Mail Address [sysadmin@mail]:
*** Web Server Address
Many generated HTML pages refer to the web server you are using. The address
specified here will be used when generating those pages. The address should
include the host and domain name in most cases. If your webserver is running
on a port other than 80, append a colon and the port number.
Examples: www.company.com, ucm.company.com:90
Web Server HTTP Address [yekki-cn]:
Enter the name for this instance. This name should be unique across your
entire enterprise. It may not contain characters other than letters,
numbers, and underscores.
Server Instance Name [idc]:
Enter a short label for this instance. This label is used on web pages to
identify this instance. It should be less than 12 characters long.
Server Instance Label [idc]:
Enter a long description for this instance.
Server Description [Content Server idc]:
Web Server
*1. Microsoft IIS 5.0/6.0
2. Apache
3. Sun ONE
4. Configure manually
Choice? 2
Please select a database from the list below to use with the Content Server.
Content Server Database
*1. Oracle
2. Microsoft SQL Server 2005
3. Microsoft SQL Server 2000
4. Sybase
5. DB2
6. Custom JDBC settings
7. Skip database configuration
Choice?
Manually configure JDBC settings for this database
1. yes
*2. no
Choice?
Oracle Server Hostname [localhost]:
Oracle Listener Port Number [1521]:
*** Database User ID
The user name is used to log into the database used by the content server.
Oracle User [user]:DEV_OCSERVER
*** Database Password
The password is used to log into the database used by the content server.
Oracle Password []:oracle
Oracle Instance Name [ORACLE]:XE
Configure the JVM to find the JDBC driver in a specific jar file
1. yes
*2. no
Choice?
The installer can attempt to create the database tables or you can manually
create them. If you choose to manually create the tables, you should create
them now.
Attempt to create database tables
1. yes
*2. no
Choice?
Select components to install.
1. ContentFolios: Collect related items in folios
2. Folders_g: Organize content into hierarchical folders
3. LinkManager8: Hypertext link management support
4. OracleTextSearch: External Oracle 11g database as search indexer sup
port
5. ThreadedDiscussions: Threaded discussion management
Enter numbers separated by commas to toggle, 0 to unselect all, F to finish: 1,2
,3,4,5
*1. ContentFolios: Collect related items in folios
*2. Folders_g: Organize content into hierarchical folders
*3. LinkManager8: Hypertext link management support
*4. OracleTextSearch: External Oracle 11g database as search indexer sup
port
*5. ThreadedDiscussions: Threaded discussion management
Enter numbers separated by commas to toggle, 0 to unselect all, F to finish: F
Configure the Administration Server service
*1. Install service and start automatically
2. Install service
3. Don’t install the service
Choice?
Configure the admin service to run as a specific user
*1. yes
2. no
Choice? 2
Configure admin service to be dependent on another service
1. yes
*2. no
Choice?
Configure the Content Server service
*1. Install service and start automatically
2. Install service
3. Don’t install the service
Choice?
Configure the service to run as a specific user
*1. yes
2. no
Choice? 2
Configure service to be dependent on another service
1. yes
*2. no
Choice?
Checking configuration. . .
Configuration OK.
Review install settings. . .
Content Server Core Folder: d:/oracle/fmw/ucm/
Java virtual machine: Sun Java 1.5.0_11 JDK
Content Server Native Vault Folder: d:/oracle/fmw/ucm/vault/
Content Server Weblayout Folder: d:/oracle/fmw/ucm/weblayout/
Proxy authentication through another server: no
Install admin server: yes
Web Browser Path: c:/program files/internet explorer/iexplore.exe
Content Server System locale: English-US
Content Server Port: 4444
Admin Server Port: 4440
Incoming connection address filter: 127.0.0.1
Web Server Relative Root: /idc/
Company Mail Server: mail
Administrator E-Mail Address: sysadmin@mail
Web Server HTTP Address: yekki-cn
Server Instance Name: idc
Server Instance Label: idc
Server Description: Content Server idc
Web Server: Apache
Content Server Database: Oracle
Manually configure JDBC settings for this database: false
Oracle Server Hostname: localhost
Oracle Listener Port Number: 1521
Oracle User: DEV_OCSERVER
Oracle Password: 6GP1gBgzSyKa4JW10U8UqqPznr/lzkNn/Ojf6M8GJ8I=
Oracle Instance Name: XE
Configure the JVM to find the JDBC driver in a specific jar file: false
Attempt to create database tables: no
Components:
ContentFolios,Folders_g,LinkManager8,OracleTextSearch,ThreadedDiscussions
Configure the Administration Server service: auto
Configure the admin service to run as a specific user: false
Configure admin service to be dependent on another service: false
Configure the Content Server service: auto
Configure the service to run as a specific user: false
Configure service to be dependent on another service: false
Proceed with install
*1. Proceed
2. Change configuration
3. Recheck the configuration
4. Abort installation
Choice?
d:/oracle/fmw/ucm/bin/IdcServerNT.exe -install_autostart
Installing the service IdcContentService idc…
Sucessfully installed the service.
d:/oracle/fmw/ucm/admin/bin/IdcAdminNT.exe -install_autostart
Installing the service IdcAdminService idc_admin…
Sucessfully installed the service.
Finished install type Install at 7/26/10 1:18 PM.
应用补丁与相关配置
使用如下命令:
wc_contentserverconfig.cmd content_server_dir path_to_source_directory
- content_server_dir :UCM安装目录
- path_to_source_directory:webcenter-conf所在目录
例如,在我的电脑上:
F:\ofm_ucm_generic_10.1.3.5.1_disk1_1of1\ContentServer\webcenter-conf>wc_content
serverconfig.cmd D:\oracle\fmw\ucm F:\ofm_ucm_generic_10.1.3.5.1_disk1_1o
f1\ContentServer\webcenter-conf
重新启动服务
- IDC Content Admin Service idc_admin
- IDC Content Service idc
配置WebTier实例
1. 在WebTier实例的配置文件httpd.conf最后加入下列一行:
include "D:/oracle/fmw/ucm/data/users/apache22/apache.conf"
这里应根据UCM具体安装目录设置此行,此例中UCM安装目录为D:/oracle/fmw/ucm
2. 重新启动WebTier实例
配置连接IP过滤(可选)
修改<content_server_dir>/config目录下的config.cfg文件,例如,在我的电脑中:D:\oracle\fmw\ucm\config,修改"SocketHostAddressSecurityFilter"(允许连接UCM的IP地址)
SocketHostAddressSecurityFilter=127.0.0.1 | allowed_host_IP 或
SocketHostAddressSecurityFilter=*.*.*.* (所有地址)
修改<content_server_dir>/admin/bin/intradoc.cfg,如果没有SocketHostAddressSecurityFilter就添加之,值如上,记得最后重新启动服务。
测试
确保UCM服务(IDC Content Admin Service idc_admin与IDC Content Service idc),、数据库以及以上服务还有Apache服务器或IIS都启动成功,打开浏览器输入以下地址:
http://hostname:port/idc,点击“登录”,默认管理员用户名与密码:sysadmin/idc
关于Win7 64位
由于此版本的UCM官方不支持Win7 64位,所以这里使用的WebTier(或Apache Server)应该使用32位的介质,不然无法正常启动。
删除UCM
1. 停止服务
- IDC Content Admin Service idc_admin
- IDC Content Service idc
2. 删除注册信息
%UCM_HOME%\bin\Installer UnregisterAll
3. 删除UCM安装目录
4. 删除数据库表
(完)