Search This Blog

Friday, June 26, 2015

making pre-installation of Oracle12c on CentOS 6 easy

Easily installing Oracle12c on CentOS 6 

preliminary remarks: 
1) many of the preperation tasks require privileges which require root, sudo or the tailoring of the user's privileges. If you don't have root access, you'll need the help of your sys admin. I did not tailor made this guide, and instead worked from root when needed. life is easier when you have root access... 
2) I assume knowledge of getting the Oracle12c installation files. 

Pre-Installation made easy:
First of all, get from the Oracle Public Yum Server:
 http://public-yum.oracle.com/
the installation-simplification-package :

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-ol6.repo

cat /etc/redhat-release # to see which oracle unbreakable linux <> red-hat <> parallel centos I'm using (my case: 6.6) 
vi public-yum-ol6.repo     # Open the yum configuration file in a text editor
#change the field enabled=0 to enabled=1 to reflect repositories that correspond to the machine's operating system 
#release. 
by default, the relevant repositorieswere enabled for me 
([ol6_latest]  ,  [ol6_UEK_latest] )

yum install oracle-rdbms-server-12cR1-preinstall
# check /var/log/oracle-rdbms-server-12cR1-preinstall
             # the sub-folder results contains the logs 
             # the sub-folder backup/[date-of-run] contains backup of changed files 

now change the password for the future owner of the db, the newly created user oracle.

as always, reboot before starting installation, to make sure all changes are in effect. 

and it is "./runInstaller " time ! 

(and don't forget the post installation steps that too many people neglect!) 

further reading / learning 

Thursday, June 25, 2015

וורקאראונד לשלט XBOX 360 שסירב להידלק

אחרי תקופה שבה הXBOX 360 של המשפחה עמד לו בפינה בודד ואומלל (יותר נכון, בתחתית שולחן הסלון) שב אליו העניין המשפחתי (בעיקר לרגל החופש הגדול ההולך וקרב לו). למרבה הצער, התברר ששכחנו להוציא את הסוללות מהשלט, ואחת מהן דלפה מעט.

לאור העובדה שמארז השלט עם הסוללות החדשות היה ללא מתח בנקודות המגע,לא היה מנוס מניקוי נמרץ.

למרבה הצער גם אחרי ניקוי/גירוד יסודי של המגעים מכל תוצרי הדליפה, למרות שה-FLUKE שלי הצהיר שהכל תקין ובין שתי נקודות המגע של המארז יש מתח מצטבר של שתי הסוללות, השלט עדיין לא נדלק.

חיפוש קצר באינטרנט  הביא אותי אל הסרטון הבא:



הסרטון מציג וורקאראונד מעניין שאכן פתר במקרה שלנו את הבעיה.

אם אני מבין נכון, המארז אמור להפעיל לחץ על מתגים קטנים שכנראה התרופפו עם הזמן, כנראה בלי קשר לסוללה הדולפת, ורק חיכו להזדמנות הראשונה בה יוחלפו הסוללות כדי לעשות צרות. חתיכת נייר קטנה שמוספת אל נקודה מסויימת במארז, כפי שמוסבר בסרט, פותרת את הבעיה ומאפשרת לשלט לעבוד ללא קושי. מה התפקיד של המתגים הקטנים ? שאלה טובה. אני משער שהם משחקים איזשהוא תפקיד באחד מהשניים - מאבקה של מיקרוסופט בחלפים לא-מקוריים או שמדובר בחלפים שתכליתם התיישנות מתוכננת.

כך או כך ולמרבה השמחה, השלט חזר לאיתנו, ואיפשר לילדי להתאגרף בשמחה עם יריב וירטואלי בקינקט ספורטס.

אני מקווה שהמידע הזה יוכל להועיל גם למשתמשים אחרים שמבקשים להמשיך ולהינות מהXBOX 360 המזדקן שלהם. ואאחל לכל מי שנעזר בפוסט הזה את ברכתו העתיקה של האדמירל נלסון, ברכה יפה לגיימרים בכל מקום ובכל עת: "אויב נלהב וים פתוח!"

[עדכון, 7/09/2015: הוורקארונד הזה החזיק קצת פחות משלושה חודשים. נמצא וורקאראונד אחד במקומו]