---
title: "简单的oracle 启动命令"
author: "conkeyn"
date: "2013-09-04T11:09:07Z"
tags: []
categories: ["数据库"]
slug: "oracle"
draft: false
lastmod: "2013-09-04T11:09:07Z"
id: 1936248
url: "https://conkeyn.iteye.com/blog/1936248"
---

启动脚本：
startup.sh里面
lsnrctl start
sqlplus "/ as sysdba" << EOF
startup
EOF


关闭脚本：
shutdown.sh里面
lsnrctl stop
sqlplus "/ as sysdba" <<EOF
shutdown immediate
EOF