1.用root用户在db_1的路径下执行脚本
[root@localhost db_1]# ./root.sh
2.使用oracle用户建立监听
[oracle@localhost db_1]$ export DISPLAY=192.168.144.1:0.0[oracle@localhost db_1]$ netca
3.创建一个数据库的实例
[oracle@localhost db_1]$ dbca
[root@localhost db_1]# ./root.sh
[oracle@localhost db_1]$ export DISPLAY=192.168.144.1:0.0[oracle@localhost db_1]$ netca
[oracle@localhost db_1]$ dbca