Deployment of Applications Manually(In Unix Boxes):
Steps involved in doing manual deployment:
Step 1 : Navigate to the application deployment directory.
Step 2 : Take backup of the application before doing the new deployment
Step 3 : Download the bundled tar file from the given link using wget[Non-interactive network downloader].
Step 4 : Cache and temporary file Clearance.
Step 1: Navigate to the application deployment directory
Application deployment directory location: /opt/google/application/IndustryVertical
So navigate into your application deployment directory.
cd /opt/google/application/IndustryVertical
Step 2 : Take backup of the application before doing the new deployment
Take the backup of the application directory,before starting to do the new deployment.That will help us to revert back, when something goes wrong with the new application code.
mv <<ApplicationDirectory>> <<BackupDirectory>>-<<Today'sdate>>
mv IndustryVertical IndustryVertical-28June
Create new Application directory and Navigate to the new application directory:
mkdir IndustryVertical
cd IndustryVertical
wget http://industryvertical.co.in/deployment/Industryvertical.tar.zip
mv Industryvertical.tar.zip Industryvertical.tar
tar -xvf Industryvertical.tar
Step 4 : Cache and Temp Clearance
After deployment,before starting servers do the cache and temporary file clearances inorder to avoid the version match of the application.
rm /opt/google/Oracle/Middleware/userprojects/domains/IndustryVertical/servers/server1/tmp/*
rm /opt/google/Oracle/Middleware/userprojects/domains/IndustryVertical/servers/server1/cache/*
No comments:
Post a Comment