Sei sulla pagina 1di 13

Altametrics Steps to follow deploy HLT application in Linux OS

Page 1

Altametrics
Steps to follow deploy HLT application in Linux OS

Version 1.0

Prepared By: Altametrics

August 02, 2019

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 2

Altametrics
3191 Red Hill Avenue
Costa Mesa, CA 92626 USA
Tel: (800) 676-1281

Last edited: 1/4/2016


Copyright © 2016 Altametrics. All rights reserved.
No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or
translated into any language, in any form or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without prior written permission from Altametrics.
All copyright, confidential information, patents, design rights and all other intellectual property rights of
whatsoever nature contained herein are and shall remain the sole and exclusive property of Altametrics.
The information furnished herein is believed to be accurate and reliable.
However, no responsibility is assumed by Altametrics for its use, or for any infringements of patents or
other rights of third parties resulting from its use.
The Altametrics name and Altametrics logo are trademarks or registered trademarks of Altametrics.
All other trademarks are the property of their respective owners.

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 3
Table of Contents
Document History .............................................................................................................................. 4
How you will login in Linux server and upload application ................................................................ 5-9
Folder structure of application ......................................................................................................... 10
How you will create application................................................................................................... 10-11
Process how to check log of application ....................................................................................... 11-12
Start and stop application through tomcat manger ...................................................................... 12-13

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 4

Document History
Paper copies are valid only on the day they are printed. Contact the author if you are in any doubt about
the accuracy of this document.

Revision History
Revision Number Revision Date Summary of Changes Author

Reference Documents
Please see the following documents for more information.
Reference Summary

Distribution List
This document has been distributed to the following.
Name Company Action

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 5
How you will login in Linux server and upload application Release

Step to follow how to deploy ERS applications but before we will look over how to connect Linux
machine through windows OS.
 Download the putty and connect ERS application server through putty.
 Enter IP address or hostname of server in putty
 Select connection on SSH and press on open.

 Enter user name and password to get authentication to server.

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 6

 Now next step is to upload release on server but for this you have use third party tool that’s
called winSCP. Same here also you have to enter IP address of server and user name and
password for authentication.

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 7

 After login you have to upload the file with zip form through drag and drop at location
(/app/ERS).

 Again go back to putty at location /app/ERS by enter command.


cd /app/ERS

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 8

 Now unzip the application by command.


sudo unzip appplicton_name.zip

 After success unzip done delete the zip folder by command.


rm –rf application_name.zip

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 9
 Copy your application in sub root directory:

Note: You have must to copy your application in sub root directory at / <root> /app/ERS/
sudo cp -rv Application_name /app/ERS/

After successful copying of your application files at the selected path of sub root directory then change
your directory with command ie. cd /app/ERS and hit “ENTER”.

 Verify you’re created Application Owner show on with your Application_Name.


ls –ltr

In the above-highlighted application owner shown on with ‘root’ owner then we have to change the
owner for our created application with “ers” instead of “root”.

 Now we have to change permission from psadmin1/psadmin2 to ERS by command.


sudo chown -R ers:ers ApplicationName
 After all these step done now time to come to make live application by command
sudo systemctl restart tomcat-prod.service
 Verify your tomcat current status
sudo systemctl status tomcat-prod.service
Note: App main entry process remain same and the port should be 8080 for Tomcat.

APP_Main_DBExpor
t.csv
Please find and refer the App_Main_DBExport.csv file for your reference:

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 10
Folder structure of application.

How you will create application.


 Copy Release from Y Drive and unzip release.
 Change Release folder name to application name {APP_NAME}.
 Go inside release directory and open WEB-INF folder present inside release folder.
 Change Empsoft.woa to {APP_NAME}.woa
 Open web.xml file present inside WEB-INF folder and change context parameter.

Parameter Name – ApplicationName


Parameter Value - {APP_NAME}
Before Update -
<context-param>
<param-name>ApplicationName</param-name>
<param-value>Empsoft</param-value>
</context-param>
After Update –
<context-param>

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 11
<param-name>ApplicationName</param-name>
<param-value>{APP_NAME}</param-value>
</context-param>

 Go inside folder setting directory present in WEB-INF folder.

Delete Empsoft directory and enter Application Directory which contain condict.txt.

Process how to check log of application.


 Login to server through winSCP
 Go to path /app/ERS/application_name/WEB-INF/setting/ application_name
/outputLog and click on the file which you required to view.

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 12

How to start and stop application through tomcat manger.

Hit on IP address of tomcat with port number at browser.


http://192.168.2.223:8080

Now click on Manger App tab and it will ask you use name and password of tomcat.

© 2019 Altametrics. All rights reserved.


Altametrics Steps to follow deploy HLT application in Linux OS
Page 13

In Manger page you can start, stop and reload the application.

© 2019 Altametrics. All rights reserved.

Potrebbero piacerti anche