Ini merupakan catatan singkat pribadi saja, bagaimana menginstall oracle 11g pada mac os catalina. Jika kurang jelas bisa ditanyakan ke email pada halaman contact saya.
Requirement yang dibutuhkan:
- docker
- socat
- xquarts
install docker sesuai petunjuk pada:
https://docs.docker.com/docker-for-mac/install/
install socat dengan brew
brew install socat
install xquartz
brew install --cask xquartz
buat folder docker
mkdir oracledocker
cd oracledocker
nano Dockerfile
isi file Dockerfile sebagai berikut:
#!/bin/bash
FROM oraclelinux:7-slim
RUN yum install -y firefox xterm oracle-rdbms-server-11gR2-preinstall net-tools nano
# Replace 0 with your user / group id
RUN export uid=0 gid=20
RUN mkdir -p /home/oracle
RUN echo "oracle:x:${uid}:${gid}:oracle,,,:/home/oracle:/bin/bash" >> /etc/passwd
RUN echo "oracle:x:${uid}:" >> /etc/group
RUN echo "oracle ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN chmod 0440 /etc/sudoers
RUN chown ${uid}:${gid} -R /home/oracle
RUN echo "/usr/bin/xterm" > /home/oracle/init.sh
RUN chmod 755 /home/oracle/init.sh
USER oracle
ENV HOME /home/oracle
#CMD /usr/bin/firefox
#CMD /usr/bin/xterm
CMD /home/oracle/init.sh
jalankan docker-gui
pada cmd terminal build docker dengan perintah sebagai berikut:
cd oracledocker
docker build -t ol7_121:latest .
tunggu sampai build docker selesai, lihat images docker dengan perintah
docker image ls
copy file instalasi dari cd oracle misalnya pada folder
/Users/feri/Documents/oracle/docker/software/database
nanti kita akan mounting folder init sebagai folder instalasi pada docker.
buat folder untuk persistent storage dari database dengan perintah sbb
mkdir /Users/feri/Documents/oracle/db
jalankan socat untuk menerima request:
docker exec -u root -it ol7_121_con bash
jalankan xquartz , pastikan settingan allow connection diaktifkan, sebagai berikut:
matikan firewal mac os sementara (opsional)
approve host request pada console
xhost +
jalankan docker dengan perintah pada terminal sebagai berikut:
docker run -dit --name ol7_121_con --shm-size="2G" \
-p 1521:1521 -p 5500:5500 -p 5911:5901 \
-e DISPLAY=host.docker.internal:0 \
-v /Users/feri/Documents/oracle/db:/u02 \
-v /Users/feri/Documents/oracle/docker/software/database:/mnt ol7_121:latest
lihat apakah docker sudah tercreate dan running dengan perintah:
docker ps -a
jalankan docker bila belum startup
docker start ol7_121_con
seharusnya akan terbuka window xterm seperti ini pada mac os:
selanjutnya jalankan instalasi oracle pada window xterm tersebut:
cd /mnt
./runInstaller
akan window instalasi oracle 11g pada mac os, jalankan instalasi next dan seterusnya, jika ada error ignore saja atau continue:
jika window xterm belum muncul, bisa akses console docker BASH sebagai root dengan perintah pada console mac
docker exec -u root -it ol7_121_con bash
akses console docker. BASH sebagai user oracle
docker exec -u oracle -it ol7_121_con bash
cara lain instalasi oracle dari console #bash. (login sebagai user oracle)
export ORACLE_BASE=/u02/app/oracle \
ORACLE_HOME=/u02/app/oracle/product/11.2.0.4/db_1 \
ORA_INVENTORY=/u02/app/oraInventory \
ORACLE_PASSWORD="oracle" \
SCRIPTS_DIR=/u01/scripts \
ORAENV_ASK=NO
cd /mnt
./runInstaller -waitforcompletion -ignoreSysPrereqs -ignorePrereq -silent \
-templateName General_Purpose.dbc \
-gdbname ${ORACLE_SID} -sid ${ORACLE_SID} -responseFile NO_VALUE \
-characterSet AL32UTF8 \
-sysPassword ${SYS_PASSWORD} \
-systemPassword ${SYS_PASSWORD} \
-databaseType MULTIPURPOSE \
oracle.install.option=INSTALL_DB_SWONLY \
ORACLE_HOSTNAME=${HOSTNAME} \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=${ORA_INVENTORY} \
SELECTED_LANGUAGES=en,en_GB \
ORACLE_HOME=${ORACLE_HOME} \
ORACLE_BASE=${ORACLE_BASE} \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \
DECLINE_SECURITY_UPDATES=true \
-responseFile /mnt/response/db_install.rsp
Ok instalsi selesai , selanjutnya database akan tersimpan di folder mac os
/Users/feri/Documents/oracle/db
I’ve learned many important things by means of your post. I would also like to convey that there might be situation in which you will apply for a loan and don’t need a cosigner such as a Fed Student Support Loan. When you are getting that loan through a common bank or investment company then you need to be made ready to have a cosigner ready to assist you to. The lenders can base that decision on the few factors but the greatest will be your credit rating. There are some loan providers that will likewise look at your job history and make up your mind based on this but in many instances it will be based on on your credit score.
Right here is the perfect web site for anyone who hopes to find out about this topic. You understand a whole lot its almost hard to argue with you (not that I actually would want toÖHaHa). You definitely put a new spin on a topic that has been discussed for decades. Excellent stuff, just great!
Id like to thank you for the efforts youve put in penning this site. I am hoping to check out the same high-grade content from you in the future as well. In fact, your creative writing abilities has encouraged me to get my own site now 😉
You made some clear points there. I did a search on the issue and found most people will consent with your blog. Teodoro Begnoche
Heya are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any coding knowledge to make your own blog? Any help would be really appreciated!
Very neat article post.Thanks Again. Really Great.
Hello, all is going sound here and ofcourse every one is sharing information, that’s genuinely excellent, keep up writing.
wow, awesome blog article.Really thank you! Fantastic.
modafinil side effects modafinil pill modafinil generic
Fantastic blog.Much thanks again. Awesome.
A round of applause for your blog article.Much thanks again. Much obliged.
Say, you got a nice blog post.
prednisone over the counter nwncq – canadian online pharmacy prednisone
I think this is a real great article.Really looking forward to read more. Want more.
This piece of writing gives clear idea designed for the new users of blogging, that genuinely how to do blogging.
Im obliged for the blog post. Keep writing.
grey market darknet nightmare market darknet
I really liked your post.Thanks Again.
A round of applause for your article post.Really thank you!
stromectol over the counter ivermectin for humans
Merely wanna tell that this is very useful, Thanks for takingyour time to write this.my blog; WifiLift Wifi Extender [vip5.moisait2021.ru]
Thanks for the blog post.Thanks Again. Cool.
Fantastic blog article. Keep writing.
Thank you ever so for you article post. Want more.
Thank you for your article. Will read on…
I really like and appreciate your blog.Thanks Again. Awesome.
Major thanks for the blog post.Really thank you! Cool.
Very neat article.Much thanks again. Will read on…
Great blog.Much thanks again. Fantastic.
I really enjoy the article.Much thanks again. Really Cool.
I really liked your blog post. Cool.
Looking forward to reading more. Great blog article.Thanks Again.
Thanks for sharing, this is a fantastic blog post.Much thanks again. Fantastic.
Great post.Much thanks again. Want more.
Enjoyed every bit of your blog post.Thanks Again. Cool.
wow, awesome article post. Really Cool.
Awesome! Its genuinely amazing paragraph, I have got much clearidea on the topic of from this article.Feel free to surf to my blog – indoor growing
Thanks again for the article.Really looking forward to read more. Awesome.
Major thanks for the post.Really thank you!
I really liked your article. Keep writing.
Thanks-a-mundo for the post.Thanks Again. Really Cool.
I love what you guys tend to be up too. This kind of clever work and coverage!Keep up the wonderful works guys I’ve you guys to my personal blogroll.
Major thankies for the article post.Much thanks again. Want more.
Thank you ever so for you article post.Thanks Again. Cool.
Thanks for the article post.Thanks Again.
Awesome blog.Really looking forward to read more. Really Cool.
Appreciate you sharing, great post.Really looking forward to read more. Want more.
Paragraph writing is also a excitement, if you be acquainted with after that you can write ifnot it is difficult to write.
hi!,I really like your writing very much! percentage we communicate more about your post on AOL? I require an expert in this area to resolve my problem. Maybe that is you! Having a look ahead to peer you.
I really liked your blog.Really thank you! Really Great.
Appreciate you sharing, great blog post.Really looking forward to read more. Awesome.
Aw, this was an exceptionally nice post. Taking a few minutes and actual effort to create a very good article… but what can I say… I procrastinate a whole lot and never manage to get anything done.
Thank you for your blog.Really looking forward to read more. Fantastic.
A round of applause for your article post.Really looking forward to read more. Will read on…
Im grateful for the blog.Much thanks again. Fantastic.
Fantastic blog.Really looking forward to read more. Keep writing.
small apartment for rent detroit apartments XoXoJI
Nicely put, Thank you.why us college essay college essay articles writing service
Hey, thanks for the blog article. Will read on…
fantastic issues altogether, you just received abrand new reader. What may you suggest in regards to yoursubmit that you simply made a few days ago? Any certain?
Great blog post.Really thank you! Want more.
Thanks for sharing, this is a fantastic post.Much thanks again. Will read on…
Very informative blog.Much thanks again. Want more.Loading…
Thank you ever so for you blog.Much thanks again. Much obliged.
Great, thanks for sharing this article post.Really looking forward to read more. Keep writing.
Wow, great blog post.Thanks Again. Awesome.
Thanks a lot for the article post.Much thanks again. Much obliged.
Im obliged for the blog.Really looking forward to read more. Really Cool.
I really like and appreciate your post. Will read on…
Looking forward to reading more. Great blog article.Thanks Again. Awesome.
Good information. Lucky me I came across your blog by accident (stumbleupon). I’ve book-marked it for later.
Hey, thanks for the article.Really looking forward to read more. Keep writing.
Hey, thanks for the blog article.Thanks Again. Awesome.
I really like and appreciate your blog article.Thanks Again. Great.
I am incessantly thought about this, regards for posting.
Really appreciate you sharing this blog article. Great.
I value the blog.Really looking forward to read more.
What’s up, just wanted to say, I enjoyed this article.It was funny. Keep on posting!
Im thankful for the article post.Really looking forward to read more. Much obliged.
I think this is a real great post.Really thank you! Will read on…
When someone writes an post he/she retains the imageof a user in his/hermind that how a user can be aware of it.Thus that’s why thgis article is perfect. Thanks!
magnificent points altogether, you just gained a new reader. What would you recommend about your post that you made a few days ago? Any positive?
I really enjoy the blog post. Really Cool.
Wow, great blog.Really thank you!
Really informative article.Really looking forward to read more. Awesome.
Good blog you’ve got here.. Itís difficult to find high quality writing like yours nowadays. I honestly appreciate people like you! Take care!!
It’s going to be ending of mine day, except before finish I am reading this wonderful post to improve my knowledge.
This is one awesome article post.Thanks Again. Awesome.
Thank you for your post. Great.
Appreciate you sharing, great article post.Really thank you! Great.
A big thank you for your blog post. Really Cool.
stromectol tablets for humans for sale
Some really prize blog posts on this website , saved to bookmarks . Abdul Rattell
I am so grateful for your blog post.Thanks Again. Awesome.
Thanks again for the blog article.Really thank you! Cool.
Way cool! Some very valid points! I appreciate you penning this write-up and also the rest of the site is extremely good. Gerald Drappo
I really like and appreciate your blog post.Really thank you! Great.
Say, you got a nice blog article. Want more.
Asking questions are truly good thing if you are not understanding somethingentirely, except this piece of writing provides fastidious understanding yet.
Really informative article post.Really thank you! Cool.
Really enjoyed this blog article.Much thanks again. Keep writing.
Hey there! I just want to offer you a huge thumbs up for the great info you have right here on this post. I am returning to your blog for more soon. Lester Catalano
I need to to thank you for this fantastic read!! I absolutely loved every bit of it. I have you book marked to check out new things you post…
This is a practice that is not only helpful to search engine indexers; your readers will appreciate it, too. Sergio Angert
Thank you for sharing your info. I truly appreciateyour efforts and I am waiting for your further post thankyou once again.
A motivating discussion is worth comment. I do think that you need to write more on this topic, it might not be a taboo matter but typically folks don’t speak about such topics. To the next! Cheers!!
I loved your blog post. Much obliged.
Thanks-a-mundo for the article post.
Excellent article. I’m dealing with some of these issues as well..
Many thanks. Valuable stuff. hemp oil benefits dr oz
Very neat blog article.Really thank you! Want more.
Awesome article post.Really thank you! Fantastic.
A big thank you for your blog post.Thanks Again. Much obliged.
I really like and appreciate your post.Thanks Again. Want more.
I value the article.Much thanks again. Keep writing.
Hmm is anyone else having problems with the images on thisblog loading? I’m trying to figure out if its a problem on my end or if it’s the blog.Any responses would be greatly appreciated.