安装oracle创建监听时,出现错误提示如下:

netca /silent /responseFile /usr/local/soft/oracle/netca.rsp

****DISPLAY environment variable not set!
    Oracle Net Configuration Assistant is a GUI tool
    which requires that DISPLAY specify a location
    where GUI tools can display.
    Set and export DISPLAY, then re-run.

解决方法:切换root下

         export DISPLAY=127.0.0.1:1.0 
         设置DISPLAY为IP地址加上1.0