One, Xmanager
1. First, you need to install the Xmanager tool. I installed this version:
2. Open Xmanager-Passive and make sure it is running:
Two, create an instance
1. Switch to oracle user su-oracle, execute these three lines to open dbca:
$export DISPLAY=10.4.33.208:0.0 (here is your local IP)
$ export LANG = en_US
$dbca
2. Select the type of instance to create:
Oracle Real Application Clusters database is to create rac instances;
Oracle Single instance database is to create a single instance (I chose a single instance here);
3. Create a database instance
4. Default selection
5. Enter the database and instance name
6. Uncheck Configure Enterprise Manager
7. Custom database password
8. Default selection
9、选择Use Common Location for All Database Files
10. Uncheck Specify Flash Recovery Area
11. Default selection
12. Set size or default selection
13. Set size or default selection
14、选择Choose from the list of character sets
15, select next
16. Select Create Database
17. Select OK and start to create an instance
18. Wait
19. Created
Three, summary of the problem
1. Question: What should I do if dbca reports an error Expection in thread "main"?
View log:
Generally, the IP of the sentence $export DISPLAY=10.4.33.208:0.0 is wrong, and the local IP should be written here instead of the IP of the Oracle environment.
2. Question: What should I do if an error that the directory cannot be created is reported after clicking OK?
My guess is that the permissions of this directory are insufficient. After expanding the permissions of this directory, you can successfully create an instance.