Produced by Araxis Merge on 6/9/2017 3:46:14 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\vagrant-scripts | provision.sh | Tue Apr 11 01:13:20 2017 UTC |
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\eHXE_Build3_2017-05-04.zip\NHIN_adapter\vagrant-scripts | provision.sh | Tue May 30 19:39:36 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 238 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | #!/bin/sh | |
| 2 | ||
| 3 | echo "Incr eaming swa p space." | |
| 4 | echo " Cr eating par tition on 2nd disk." | |
| 5 | sed -e 's/ \s*\([\+0- 9a-zA-Z]*\ ).*/\1/' < < STOP | f disk /dev/ sdb | |
| 6 | n # new partition | |
| 7 | p # prim ary partit ion | |
| 8 | 1 # part ition numb er 1 | |
| 9 | # defa ult - star t at begin ning of di sk | |
| 10 | # defa ult - end at end of disk | |
| 11 | t # chan ge partiti on type | |
| 12 | # defa ult partio n 1 | |
| 13 | 8e # LVM partition | |
| 14 | p # prin t the in-m emory part ition tabl e | |
| 15 | w # writ e the part ition tabl e | |
| 16 | q # and we're done | |
| 17 | STOP | |
| 18 | ||
| 19 | echo " Ex tending sw ap volume. " | |
| 20 | swapoff /d ev/dm-1 | |
| 21 | vgextend V olGroup00 /dev/sdb1 | |
| 22 | lvextend / dev/VolGro up00/LogVo l01 -L+2G | |
| 23 | mkswap /de v/VolGroup 00/LogVol0 1 | |
| 24 | swapon -va | |
| 25 | free -h | |
| 26 | ||
| 27 | echo "Inst alling Des ktop" | |
| 28 | yum -y gro upinstall "Desktop" "Desktop P latform" " X Window S ystem" "Fo nts" | |
| 29 | yum -y ins tall xorg- x11-apps x term zip u nzip vim b c net-tool s | |
| 30 | ||
| 31 | echo "Addi ng oracle user." | |
| 32 | groupadd d ba | |
| 33 | useradd or acle -g db a | |
| 34 | mkdir -p / u01/app | |
| 35 | chown -R o racle:dba /u01/app | |
| 36 | ||
| 37 | echo "Addi ng vagrant to dba gr oup." | |
| 38 | usermod -a -G dba va grant | |
| 39 | ||
| 40 | echo "Down loading in stallers.. ." | |
| 41 | if [ ! -d /ehx/.vagr ant/Softwa re/ehx ]; then | |
| 42 | mkdir -p /ehx/.vag rant/Softw are/ehx | |
| 43 | curl htt ps://downl oads.vetse z.net/Down loads/jdk- 8u121-linu x-x64.tar. gz -o /ehx /.vagrant/ Software/e hx/jdk-8u1 21-linux-x 64.tar.gz | |
| 44 | curl htt ps://downl oads.vetse z.net/Down loads/fmw_ 12.2.1.2.0 _wls_Disk1 _1of1.zip -o /ehx/.v agrant/Sof tware/ehx/ fmw_12.2.1 .2.0_wls_D isk1_1of1. zip | |
| 45 | curl htt ps://downl oads.vetse z.net/Down loads/orac le-xe-11.2 .0-1.0.x86 _64.rpm.zi p -o /ehx/ .vagrant/S oftware/eh x/oracle-x e-11.2.0-1 .0.x86_64. rpm.zip | |
| 46 | fi | |
| 47 | ||
| 48 | echo "Inst alling JDK ." | |
| 49 | runuser -l oracle << STOP | |
| 50 | mkdir -p / u01/app/or acle/java | |
| 51 | tar -C /u0 1/app/orac le/java -x zf /ehx/.v agrant/Sof tware/ehx/ jdk-8u121- linux-x64. tar.gz | |
| 52 | pushd /u01 /app/oracl e/java | |
| 53 | ln -s jdk1 .8.0_121 l atest | |
| 54 | popd | |
| 55 | STOP | |
| 56 | ||
| 57 | echo "Inst aling webl ogic" | |
| 58 | runuser -l oracle << STOP | |
| 59 | echo " Cr eating ora Inst.loc." | |
| 60 | mkdir -p / u01/app/or acle/oraIn ventory | |
| 61 | cat << STO P2 >/u01/a pp/oracle/ oraInvento ry/oraInst .loc | |
| 62 | inventory_ loc=/u01/a pp/oracle/ oraInvento ry | |
| 63 | inst_group =dba | |
| 64 | STOP2 | |
| 65 | echo " Ru nning WebL ogic Insta ller." | |
| 66 | export JAV A_HOME=/u0 1/app/orac le/java/la test | |
| 67 | pushd /tmp | |
| 68 | unzip /ehx /.vagrant/ Software/e hx/fmw_12. 2.1.2.0_wl s_Disk1_1o f1.zip | |
| 69 | /u01/app/o racle/java /latest/bi n/java -Dj ava.securi ty.egd=fil e:/dev/./u random -ja r fmw_12.2 .1.2.0_wls .jar -sile nt -respon seFile /eh x/vagrant- scripts/wl s.rsp -inv PtrLoc /u0 1/app/orac le/oraInve ntory/oraI nst.loc | |
| 70 | popd | |
| 71 | echo " Co nfigure We bLogic to use /dev/u random." | |
| 72 | cat << STO P2 >>/u01/ app/oracle /weblogic/ oracle_com mon/common /bin/commB aseEnv.sh | |
| 73 | # use /dev /urandom t o generate random nu mbers to s peed up we blogic. | |
| 74 | # change m ade here s o that eve rything we use in WL installat ion | |
| 75 | # can bene fit. | |
| 76 | export JAV A_OPTIONS= "\\\$JAVA_ OPTIONS -D java.secur ity.egd=fi le:/dev/./ urandom" | |
| 77 | export CON FIG_JVM_AR GS="\\\$CO NFIG_JVM_A RGS -Djava .security. egd=file:/ dev/./uran dom" | |
| 78 | STOP2 | |
| 79 | STOP | |
| 80 | ||
| 81 | echo "Inst alling Ora cle XE" | |
| 82 | unzip /ehx /.vagrant/ Software/e hx/oracle- xe-11.2.0- 1.0.x86_64 .rpm.zip - d /tmp/XE | |
| 83 | pushd /tmp /XE/Disk1 | |
| 84 | rpm -ivh o racle-xe-1 1.2.0-1.0. x86_64.rpm >/tmp/XE/ install.lo g | |
| 85 | /etc/init. d/oracle-x e configur e response File=/ehx/ vagrant-sc ripts/xe.r sp >>/tmp/ XE/install .log | |
| 86 | popd | |
| 87 | ||
| 88 | echo "Add Java, Orac le and Web Logic to p aths." | |
| 89 | tee -a ~va grant/.bas h_profile ~oracle/.b ash_profil e << STOP | |
| 90 | alias mock s='cd /u01 /app/domai ns/ehx_dev l/ && ./st artDomainD ebugWithMo cks.sh' | |
| 91 | alias stop wl='cd /u0 1/app/doma ins/ehx_de vl/bin && ./stopWebL ogic.sh' | |
| 92 | alias logs ='cd /u01/ app/domain s/ehx_devl /servers/a dmin/logs && tail -f ehx_dev l.log -n 1 4' | |
| 93 | export JAV A_HOME=/u0 1/app/orac le/java/la test | |
| 94 | export WL_ HOME=/u01/ app/oracle /weblogic | |
| 95 | export PAT H=\$WL_HOM E/oracle_c ommon/comm on/bin:\$J AVA_HOME/b in:\$PATH | |
| 96 | . /u01/app /oracle/pr oduct/11.2 .0/xe/bin/ oracle_env .sh | |
| 97 | STOP | |
| 98 | ||
| 99 | echo "Give everyone in dba gro up write p rivs on /u 01/app." | |
| 100 | chmod -R g +w /u01/ap p | |
| 101 | ||
| 102 | #echo "Set correct p ermissions on author ized_keys. " | |
| 103 | #chmod 600 ~vagrant/ .ssh/autho rized_keys | |
| 104 | ||
| 105 | echo "Set up the ADA PTER schem a." | |
| 106 | runuser -l oracle << STOP | |
| 107 | pushd /ehx /DBScripts | |
| 108 | . ./BuildD B.sh | |
| 109 | popd | |
| 110 | STOP | |
| 111 | ||
| 112 | echo "Set up ehx_dev l weblogic domain." | |
| 113 | runuser -l vagrant < < STOP | |
| 114 | wlst.sh /e hx/vagrant -scripts/e hx_devl.py | |
| 115 | cp /ehx/va grant-scri pts/weblog ic/* /u01/ app/domain s/ehx_devl | |
| 116 | STOP | |
| 117 | ||
| 118 | echo "Add MOCK-HOST to /etc/ho sts." | |
| 119 | echo -e " IP \tMOCK-HOS T" >>/etc/ hosts | |
| 120 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.