Resources are:
"Oracle XE Series III" Manually create Oracle XE database using OMF-Wang Lifu-Blog Park
Http://www.cnblogs.com/opfo/p/5056122.html
Environment: win7_64
Open cmd with administrator
1. Create a DB instance with the instance named ORCL
Oradim-new-sid ORCL
Error: dim-00014: Could not open Windows NT Service Control Manager. os-error: (OS 5) denied access.
Workaround: Run as an administrative identity.
2. For SYS users can connect to the database to perform operations, first create the database password file, the password file name must be the PWDSid. Ora
Orapwd password=oracle file=c:\oraclexe\app\oracle\product\11.2.0\server\database\pwdORCL. Ora
Automatically generate Pwdorcl.ora files
3. Create the following directories to hold data files and dump information
#数据文件目录
C:\oraclexe\app\oracle\oradata\ORCL
#background Dump Directory
C:\oraclexe\app\oracle\oradata\ORCL\bdump
#core Dump Directory
C:\oraclexe\app\oracle\oradata\ORCL\cdump
#user Dump Directory
C:\oraclexe\app\oracle\oradata\ORCL\udump
4. Modify Listener.ora for the following information, register this database in the listener (optional) under C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
Oracle XE manually build a DB instance