I successfully installed Oracle 11g on a Fedora 15 system using this guide. Unfortunately, unlike when I'm using Windows, it seems I need to restart the database every single time I reboot my machine (it's a development machine, not a server).
I'm not sure this is the intended behavior or if I messed up something while installing the database.
Anyway, every single I reboot the machine I need to:
suto change the current user to the
sqplusto startup the database.
(oracle@machine)$ sqplus / as sysdba SQL> startup SQL> (Ctrl+D)
- Then I need to start the listener using
(oracle@machine)$ lsnrctl start
- And now the Enterprise Manager should also be started.
(oracle@machine)$ emctl start dbconsole
I've taken those instructions from here.
I'm sorry if this quite noobish, I usually have a DBA or a sysadmin to setup an environment for me but I'm doing this at home, where I have no help (maybe I'm becoming quite spoiled as a developer :)).
I wonder if it's possible to automate this on Fedora 15 using a shell script. After automating, I'd like to hook this on the init system, so it's performed every time I start the machine.