https://github.com/dgapitts/ora12base
https://github.com/dgapitts/ora12base
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dgapitts/ora12base
- Owner: dgapitts
- Created: 2015-03-11T15:39:50.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T16:03:25.000Z (over 11 years ago)
- Last Synced: 2025-01-09T00:59:59.212Z (over 1 year ago)
- Language: Shell
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# project ora12base
The ora12base project, is a relevantly simple vagrant project to automate setup an Oracle 12c environment running on Centos 6.6. I am starting this project using the opscode_centos-6.6_chef-provisionerless.box, I chose this image as this virtual machine can extend upto nearly 40G.
### From your host machine
```
vagrant up
vagrant ssh
```
### Then run as root the pre-install 12c software (mostly rpm driven):
```
sudo -i
/vagrant/root_post_vagrant_build.sh
```
### Now we can install 12c software as oracle
```
su - oracle
/vagrant/oracle_post_vagrant_build.sh
```
### The final step of which is 12c software root.sh commands (i.e. as root again)
```
/etc/oraInventory/orainstRoot.sh
/u01/product/12.1.0/db_1/root.sh
```
### Now via dbca we can create a 12c database
```
rm /tmp/linuxamd64_12c_database_*zip
dbca -silent -createDatabase -responseFile /vagrant/dbca.rsp
```
### note if you have issues and need to cleanup after any 12c software failures
```
rm -Rf /etc/oraInventory/*
rm -Rf /u01/product/12.1.0/db_1/*
```