From 54deaaf4bf9f55cdd584aff95394402f6e598003 Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Wed, 11 Dec 2024 14:49:08 -0500 Subject: [PATCH] Correct download APIs Signed-off-by: Ian Maddaus --- .../workstation/install_workstation.md | 79 +++++++++---------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/docs-chef-io/content/workstation/install_workstation.md b/docs-chef-io/content/workstation/install_workstation.md index 50780f1fa..72ead9093 100644 --- a/docs-chef-io/content/workstation/install_workstation.md +++ b/docs-chef-io/content/workstation/install_workstation.md @@ -19,6 +19,8 @@ aliases = ["/install_workstation.html", "/install_dk.html", "/workstation_window For general information about downloading Chef products, see the [Chef download documentation](/download/). +For supported Chef Workstation versions, see the [Chef Workstation release notes](/release_notes_workstation/) or use the [Chef download APIs](/download). + ## Supported Platforms The following table lists the commercially supported platforms and versions for Chef Workstation: @@ -49,10 +51,8 @@ Additional Chef Workstation App Requirements: The Chef Workstation installer must run as a privileged user. -Chef Workstation installs to `/opt/chef-workstation/` on macOS / Linux -and `C:\opscode\chef-workstation\` on Windows. These file locations -help avoid interference between these components and other -applications that may be running on the target machine. +Chef Workstation installs to `/opt/chef-workstation/` on macOS and Linux, and `C:\opscode\chef-workstation\` on Windows. +These file locations help avoid interference between these components and other applications that may be running on the target machine. ### macOS Install @@ -93,60 +93,59 @@ msiexec /q /i MsiPath ADDLOCAL=ALL REMOVE=ChefWSApp ### Linux -1. Visit the [Chef Downloads page](https://www.chef.io/downloads) or download the appropriate package for your distribution: - - - Red Hat Enterprise Linux +You can use [Chef's download APIs](/download) or a package manager to install Chef Workstation on Linux. - ```bash - wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation//el//chef-workstation--1.el.x86_64.rpm - ``` +#### Download API - For example: +- To use the [Chef download APIs](/download) to download Chef Workstation: - ```sh - wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/24.4.1064/el/8/chef-workstation-24.4.1064-1.el8.x86_64.rpm - ``` + ```bash + wget https://chefdownload-commercial.chef.io/stable/chef-workstation/download?p=&pv=&m=&v=&license_id= + ``` + Replace: - - Debian/Ubuntu + - `` with the platform you want to run Chef Workstation on. For example, `ubuntu` or `el`. + - `` with the version of the platform you want to run Chef Workstation on. + - `` with the architecture that Chef Workstation on. For example, `x86_64`. + - `` with the version of Chef Workstation you want to download. + - `` with your [Chef license ID](/licensing). - ``` bash - wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation//ubuntu//chef-workstation_-1_amd64.deb - ``` + For example, run the following to download Chef Workstation 24.8.1068 on Red Hat Enterprise Linux 9 running on x86-64 architecture: - For example: + ```sh + wget https://chefdownload-commercial.chef.io/stable/chef-workstation/download?p=el&pv=9&m=x86_64&v=24.4.1068&license_id= + ``` - ```sh - wget https://chefdownload-commercial.chef.io/files/stable/chef-workstation/24.4.1064/ubuntu/20.04/chef-workstation_24.4.1064-1_amd64.deb - ``` +See the [Chef download API documentation](/download) and [Chef licensing documentation](/licensing) for more information. -1. Use your distribution's package manager to install Chef Workstation: +#### Package manager - - Red Hat Enterprise Linux: +You can use Yum or Dpkg package managers to install Chef Workstation. - ``` bash - yum localinstall chef-workstation--1.el.x86_64.rpm - ``` +- To download Chef Workstation using Yum on Red Hat Enterprise Linux: - For example: + ``` bash + yum localinstall chef-workstation--1.el.x86_64.rpm + ``` - ``` bash - yum localinstall chef-workstation-24.4.1064-1.el8.x86_64.rpm - ``` + For example: - - Debian/Ubuntu: + ``` bash + yum localinstall chef-workstation-24.4.1064-1.el8.x86_64.rpm + ``` - ``` bash - dpkg -i chef-workstation_-1_amd64.deb - ``` +- To download Chef Workstation using Dpkg on Ubuntu or Debian: - For example: + ``` bash + dpkg -i chef-workstation_-1_amd64.deb + ``` - ```sh - dpkg -i chef-workstation_24.4.1064-1_amd64.deb - ``` + For example: -See the [Chef Workstation release notes](/release_notes_workstation/) or the [Omnitruck API](https://omnitruck.chef.io/stable/chef-workstation/versions/all) for supported version numbers. + ```sh + dpkg -i chef-workstation_24.4.1064-1_amd64.deb + ``` ## Verify the Installation