Produced by Araxis Merge on 9/15/2018 10:47:17 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 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\portal-admin | tomcatLiferayInstall.sh | Thu Aug 23 21:39:14 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\portal-admin | tomcatLiferayInstall.sh | Sat Sep 15 20:19:43 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 86 |
| Changed | 3 | 8 |
| 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/bas h | |
| 2 | ||
| 3 | . /vagrant /shell/por tal-admin/ portal.dev .profile | |
| 4 | ||
| 5 | echo "Inst alling Lif eray Tomca t Bundle. Source: ${ LIFERAY_TO MCAT_BUNDL E}" | |
| 6 | echo "Inst all Locati on: ${BASE _DIRECTORY }" | |
| 7 | ||
| 8 | unzip -q $ {SOFTWARE_ DIRECTORY} /${LIFERAY _TOMCAT_BU NDLE} -d $ {BASE_DIRE CTORY} | |
| 9 | ||
| 10 | chown -R l iferay:lif eray ${LIF ERAY_HOME} | |
| 11 | ||
| 12 | echo "Upda ting Lifer ay Tomcat Context wi th Liferay Datasourc e jdbc/lif eray." | |
| 13 | sudo su - liferay -c "cp /vagr ant/shell/ portal-adm in/tomcat- context.xm l ${LIFERA Y_TOMCAT_H OME}/conf/ context.xm l" | |
| 14 | sudo su - liferay -c "sed -i.b ak 's/SID/ ${ORCACLE_ SID}/g' ${ LIFERAY_TO MCAT_HOME} /conf/cont ext.xml" | |
| 15 | ||
| 16 | echo "Upda ting the T omcat envi ronment." | |
| 17 | sudo su - liferay -c "cp /vagr ant/shell/ portal-adm in/tomcat- setenv.sh ${LIFERAY_ TOMCAT_HOM E}/bin/set env.sh" | |
| 18 | ||
| 19 | echo "Remo ving unece ssary Life ray plugin s from Tom cat deploy ments." | |
| 20 | rm -rf ${L IFERAY_TOM CAT_HOME}/ webapps/op ensocial-p ortlet | |
| 21 | ||
| 22 | echo "Inst all the Or acle JDBC Driver in the Lifera y Tomcat l ibrary ext ensions fo lder." | |
| 23 | sudo su - liferay -c "cp ${SOF TWARE_DIRE CTORY}/ojd bc6-11.1.0 .7.0.jar $ LIFERAY_TO MCAT_HOME/ lib/ext" | |
| 24 | ||
| 25 | echo "Inst alling lic ense file for Lifera y 6.2 EE." | |
| 26 | sudo su - liferay -c "ln -s /d eploy ${LI FERAY_HOME }/deploy" | |
| 27 | sudo su - liferay -c "cp ${SOF TWARE_DIRE CTORY}/lic ense-porta ldevelopme nt-develop er-6.2ee.x ml ${LIFER AY_HOME}/d eploy/" | |
| 28 | ||
| 29 | echo "Inst alling Lif eray Prope rties file ." | |
| 30 | sudo su - liferay -c "cp /vagr ant/shell/ portal-adm in/portal- ext.proper ties ${LIF ERAY_HOME} /" | |
| 31 | sudo su - liferay -c "cp /vagr ant/shell/ portal-adm in/portal- setup-wiza rd.propert ies ${LIFE RAY_HOME}/ " | |
| 32 | ||
| 33 | echo "sudo su - life ray -c \"s ed -i.bak 's/FOLDER/ ${LIFERAY_ FOLDER}/g' ${LIFERAY _HOME}/por tal-setup- wizard.pro perties\"" | |
| 34 | sudo su - liferay -c "sed -i.b ak 's/FOLD ER/${LIFER AY_FOLDER} /g' ${LIFE RAY_HOME}/ portal-set up-wizard. properties " | |
| 35 | ||
| 36 | #echo "Dow nloading t he latest MHV-R Admi n content. (Please b e patient. This is a large fil e and may take a whi le to comp lete depen ding on yo ur connect ion speed. )" | |
| 37 | #sudo su - liferay - c "curl -s So content .zip http: // DNS /tools/mhv /SYST-cont ent-latest .zip" | |
| 38 | #sudo su - liferay - c "unzip c ontent.zip -d ${LIFE RAY_HOME}/ data/" | |
| 39 | ||
| 40 | #echo "Ins talling co mmon local ly in ${TO MCAT_HOME} /lib." | |
| 41 | #sudo su - liferay - c "curl -s So ${LIFER AY_TOMACT_ HOME}/lib/ jsf-api-2. 2.12.jar h ttp:// DNS : PORT /nexus/ser vice/local /repositor ies/centra l/content/ com/sun/fa ces/jsf-ap i/2.2.12/j sf-api-2.2 .12.jar" | |
| 42 | #sudo su - liferay - c "curl -s So ${LIFER AY_TOMACT_ HOME}/lib/ jsf-impl-2 .2.12.jar http:// DNS : PORT /nexus/ser vice/local /repositor ies/centra l/content/ com/sun/fa ces/jsf-im pl/2.2.12/ jsf-impl-2 .2.12.jar" | |
| 43 | #sudo su - liferay - c "cp /ins talls/jsf- *-2.2*.jar ${LIFERAY _TOMCAT_HO ME}/lib && chmod 644 ${LIFERAY _TOMCAT_HO ME}/lib/js f-*-2.2*.j ar" | |
| 44 | ||
| 45 | #echo "Ins talling Au dience Tar geting Plu gin in Lif eray. Plug in will in stall afte r Tomcat / Liferay s tartup." | |
| 46 | #sudo su - liferay - c "curl -s So ${LIFER AY_HOME}/A udienceTar geting.lpk g http:// DNS /tools/lif eray/Audie nce%20Targ eting%20EE .lpkg" | |
| 47 | #sudo su - liferay - c "cp ${LI FERAY_HOME }/Audience Targeting. lpkg ${LIF ERAY_HOME} /deploy/" |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.