|
@@ -436,33 +436,33 @@ To update:
|
|
|
a. Do *NOT* download from oracle.com, as that requires a commercial license.
|
|
|
b. Select "Temurin 11 (LTS)", "Linux", "x64", and download the JRE, not the JDK
|
|
|
2. Copy the file to the server. E.g.:
|
|
|
-```
|
|
|
-tshp scp OpenJDK11U-jre_x64_linux_hotspot_11.0.16.1_1.tar.gz jira-server.pvt.xdr.accenturefederalcyber.com:
|
|
|
-```
|
|
|
+ ```
|
|
|
+ tshp scp OpenJDK11U-jre_x64_linux_hotspot_11.0.16.1_1.tar.gz jira-server.pvt.xdr.accenturefederalcyber.com:
|
|
|
+ ```
|
|
|
3. Extract and copy the JRE into a temporary location
|
|
|
-```
|
|
|
-tshp jira-server
|
|
|
-tar xvzf OpenJDK11U-jre_x64_linux_hotspot_11.0.11_9.tar.gz
|
|
|
-sudo mv jdk-11.0.11+9-jre/ /opt/atlassian/jre-11.0.1+9
|
|
|
-sudo chown -R jira:jira /opt/atlassian/jre-11.0.1+9
|
|
|
-sudo find /opt/atlassian/jre-11.0.1+9 -type d -exec chmod o+rx {} \;
|
|
|
-sudo find /opt/atlassian/jre-11.0.1+9 -type f -exec chmod o+r {} \;
|
|
|
-sudo find /opt/atlassian/jre-11.0.1+9/bin -type f -exec chmod o+rx {} \;
|
|
|
-/opt/atlassian/jre-11.0.1+9/bin/java -version
|
|
|
-```
|
|
|
+ ```
|
|
|
+ tshp jira-server
|
|
|
+ tar xvzf OpenJDK11U-jre_x64_linux_hotspot_11.0.16.1_1.tar.gz
|
|
|
+ sudo mv jdk-11.0.16.1+1-jre/ /opt/atlassian/jre-11.0.16.1+1
|
|
|
+ sudo chown -R jira:jira /opt/atlassian/jre-11.0.16.1+1
|
|
|
+ sudo find /opt/atlassian/jre-11.0.16.1+1 -type d -exec chmod o+rx {} \;
|
|
|
+ sudo find /opt/atlassian/jre-11.0.16.1+1 -type f -exec chmod o+r {} \;
|
|
|
+ sudo find /opt/atlassian/jre-11.0.16.1+1/bin -type f -exec chmod o+rx {} \;
|
|
|
+ /opt/atlassian/jre-11.0.16.1+1/bin/java -version
|
|
|
+ ```
|
|
|
4. Back up the old jre:
|
|
|
-```
|
|
|
-cd /opt/atlassian
|
|
|
-sudo cp -a jre jre.20210629
|
|
|
-```
|
|
|
+ ```
|
|
|
+ cd /opt/atlassian
|
|
|
+ sudo cp -a jre jre.20220830
|
|
|
+ ```
|
|
|
5. Install the updated JRE
|
|
|
-```
|
|
|
-cd /opt/atlassian
|
|
|
-sudo /etc/rc.d/init.d/jira stop
|
|
|
-sudo mv jre jre.old
|
|
|
-sudo mv jre-11.0.1+9 jre
|
|
|
-sudo /etc/rc.d/init.d/jira start
|
|
|
-```
|
|
|
+ ```
|
|
|
+ cd /opt/atlassian
|
|
|
+ sudo /etc/rc.d/init.d/jira stop
|
|
|
+ sudo mv jre jre.old
|
|
|
+ sudo mv jre-11.0.16.1+1 jre
|
|
|
+ sudo /etc/rc.d/init.d/jira start
|
|
|
+ ```
|
|
|
|
|
|
# Upgrading
|
|
|
|