浏览代码

Format and syntax updates

Jeremy Cooper [AFS MBP] 3 年之前
父节点
当前提交
8abcb3a8df
共有 2 个文件被更改,包括 26 次插入26 次删除
  1. 24 24
      Jira Notes.md
  2. 2 2
      Reposerver Notes.md

+ 24 - 24
Jira Notes.md

@@ -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
 

+ 2 - 2
Reposerver Notes.md

@@ -27,8 +27,8 @@ rpm --import 'name of key'
 # list the gpg key in the RPM database
 rpm -qa 'name of key'*
 
-# visit site to view original hash of package via URL in this example for Sensu Go Agent 6.7; then download package
-wget --content-disposition https://packagecloud.io/sensu/stable/packages/el/7/sensu-go-agent-6.7.5-6587.x86_64.rpm/download.rpm
+# visit site to view original hash of package via URL in this example for Sensu Go Agent 6.8; then download package
+wget --content-disposition https://packagecloud.io/sensu/stable/packages/el/7/sensu-go-cli-6.8.0-6692.x86_64.rpm/download.rpm
 
 # validate package signature with name of the package downloaded
 rpm -K 'name of package'