oracle数据库彻底清除目录脚本
删除目录
rm -rf /opt/grid
rm -rf /opt/oracle
rm -rf /opt/ogrid
rm -rf /etc/ora*
rm -rf /tmp/.oracle
rm -rf /var/tmp/.oracle
rm -rf /etc/init/oracle-ohasd.conf
rm -rf /etc/init.d/ohasd
rm -rf /etc/init.d/init.ohasd
创建目录
mkdir -p /opt/grid/products/11.2.0
mkdir -p /opt/ogrid
mkdir -p /opt/oracle/products/11.2.0
mkdir -p /opt/grid/oraInventory
chown -Rf grid.oinstall /opt/grid
chown -Rf grid.oinstall /opt/ogrid
chown -Rf oracle.oinstall /opt/oracle
需要重新启动服务器
reboot
新闻名称:oracle数据库彻底清除目录脚本
分享网址:http://scjbc.cn/article/iehgej.html
rm -rf /opt/grid
rm -rf /opt/oracle
rm -rf /opt/ogrid
rm -rf /etc/ora*
rm -rf /tmp/.oracle
rm -rf /var/tmp/.oracle
rm -rf /etc/init/oracle-ohasd.conf
rm -rf /etc/init.d/ohasd
rm -rf /etc/init.d/init.ohasd
创建目录
mkdir -p /opt/grid/products/11.2.0
mkdir -p /opt/ogrid
mkdir -p /opt/oracle/products/11.2.0
mkdir -p /opt/grid/oraInventory
chown -Rf grid.oinstall /opt/grid
chown -Rf grid.oinstall /opt/ogrid
chown -Rf oracle.oinstall /opt/oracle
需要重新启动服务器
reboot
新闻名称:oracle数据库彻底清除目录脚本
分享网址:http://scjbc.cn/article/iehgej.html