Skip to content

Update ubuntu.md for flex stable #1956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/install/vm-install/rhel.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sudo yum -y module enable mod_auth_openidc;
- Download the release package from the Github Flex
[Releases](https://github.com/gluufederation/flex/releases)
```shell
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable-el8.x86_64.rpm -P /tmp
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable.el8.x86_64.rpm -P /tmp
```
- GPG key is used to ensure the authenticity of the downloaded package during the installation process. If the key is
not found, the [installation step](#install-the-release-package) would fail. Use the commands below to download and
Expand All @@ -56,12 +56,12 @@ sudo rpm -import automation-flex-public-gpg.asc
```
- Verify the integrity of the downloaded package using published `sha256sum`. Download the `sha256sum` file for the package
```shell
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable-el8.x86_64.rpm.sha256sum -P /tmp
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable.el8.x86_64.rpm.sha256sum -P /tmp
```
Run the command below from the directory where the downloaded package and the `.sha256sum` files are located.
```shell
cd /tmp;
sha256sum -c flex-replace-flex-version-el8.x86_64.rpm.sha256sum;
sha256sum -c flex-replace-flex-version-stable.el8.x86_64.rpm.sha256sum;
```
Output similar to below should confirm the integrity of the downloaded package.
```text
Expand All @@ -70,7 +70,7 @@ flex-replace-flex-version-el8.x86_64.rpm : ok

### Install the Release Package
```shell
sudo yum install ./flex-replace-flex-version-el8.x86_64.rpm
sudo yum install ./flex-replace-flex-version-stable.el8.x86_64.rpm
```

## Run the setup script
Expand Down
8 changes: 4 additions & 4 deletions docs/install/vm-install/suse.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sudo SUSEConnect -p PackageHub/15.4/x86_64

- Download the release package from the GitHub FLEX [Releases](https://github.com/gluufederation/flex/releases)
```shell
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable-suse15.x86_64.rpm -P ~/
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable.suse15.x86_64.rpm -P ~/
```

- GPG key is used to ensure the authenticity of the downloaded package during the installation process. If the key is
Expand All @@ -58,12 +58,12 @@ sudo rpm -import automation-flex-public-gpg.asc

- Verify the integrity of the downloaded package using published `sha256sum`. Download the `sha256sum` file for the package
```
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable-suse15.x86_64.rpm.sha256sum -P ~/
wget https://github.com/GluuFederation/flex/releases/download/vreplace-flex-version/flex-replace-flex-version-stable.suse15.x86_64.rpm.sha256sum -P ~/
```

- Verify package integrity
```
sha256sum -c flex-replace-flex-version-suse15.x86_64.rpm.sha256sum
sha256sum -c flex-replace-flex-version-stable.suse15.x86_64.rpm.sha256sum
```
You should see:
```
Expand All @@ -74,7 +74,7 @@ flex-replace-flex-version-suse15.x86_64.rpm: ok

Use SUSE `zypper` to install
```shell
sudo zypper install ~/flex-replace-flex-version-suse15.x86_64.rpm
sudo zypper install ~/flex-replace-flex-version-stable.suse15.x86_64.rpm
```

### Run the setup script
Expand Down
10 changes: 5 additions & 5 deletions docs/install/vm-install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ Choose the correct command from below based on the OS version.
```shell
#Ubuntu 22.04
cd /tmp
sha256sum -c flex_replace-flex-version.ubuntu22.04_amd64.deb.sha256sum
sha256sum -c flex_replace-flex-version-stable.ubuntu22.04_amd64.deb.sha256sum
```
```shell
#Ubuntu 20.04
cd /tmp
sha256sum -c flex_replace-flex-version.ubuntu20.04_amd64.deb.sha256sum
sha256sum -c flex_replace-flex-version-stable.ubuntu20.04_amd64.deb.sha256sum
```
Output similar to below should confirm the integrity of the downloaded package.
```shell
flex_replace-flex-version.ubuntu<version>_amd64.deb: ok
flex_replace-flex-version-stable.ubuntu<version>_amd64.deb: ok
```

### Install the Release Package
Expand All @@ -85,11 +85,11 @@ Choose the correct command from below based on the OS version.

```shell
#Ubuntu 22.04
apt install -y /tmp/flex_replace-flex-version.ubuntu22.04_amd64.deb
apt install -y /tmp/flex_replace-flex-version-stable.ubuntu22.04_amd64.deb
```
```shell
#Ubuntu 20.04
apt install -y /tmp/flex_replace-flex-version.ubuntu20.04_amd64.deb
apt install -y /tmp/flex_replace-flex-version-stable.ubuntu20.04_amd64.deb
```

### Run the setup script
Expand Down
Loading