Skip to content

Commit

Permalink
Download ubuntu package to /tmp not home directory (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Dec 19, 2022
1 parent 0289d9c commit 528bf05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/admin/install/vm-install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ Before you install, check the [VM system requirements](vm-requirements.md).
[Releases](https://github.com/JanssenProject/jans/releases)

```
wget https://github.com/JanssenProject/jans/releases/download/v1.0.4/jans_1.0.4.ubuntu20.04_amd64.deb -P ~/
wget https://github.com/JanssenProject/jans/releases/download/v1.0.4/jans_1.0.4.ubuntu20.04_amd64.deb -P /tmp
```

- Verify integrity of the downloaded package by verifying published `sha256sum`.

Download `sha256sum` file for the package

```shell
wget https://github.com/JanssenProject/jans/releases/download/v1.0.4/jans_1.0.4.ubuntu20.04_amd64.deb.sha256sum -P ~/
wget https://github.com/JanssenProject/jans/releases/download/v1.0.4/jans_1.0.4.ubuntu20.04_amd64.deb.sha256sum -P /tmp
```

Check the hash if it is matching.

```shell
sha256sum -c jans_1.0.4.ubuntu20.04_amd64.deb.sha256sum
sha256sum -c /tmp/jans_1.0.4.ubuntu20.04_amd64.deb.sha256sum
```

Output similar to below should confirm the integrity of the downloaded package.
Expand All @@ -45,7 +45,7 @@ wget https://github.com/JanssenProject/jans/releases/download/v1.0.4/jans_1.0.4.
- Install the package

```
apt install -y ~/jans_1.0.4.ubuntu20.04_amd64.deb
apt install -y /tmp/jans_1.0.4.ubuntu20.04_amd64.deb
```

## Run the setup script
Expand Down

0 comments on commit 528bf05

Please sign in to comment.