Skip to content

Commit 30321df

Browse files
authored
Merge pull request #28035 from rwestMSFT/rw-0811-ubuntu-22.04
[SQL Server 2022] Update Ubuntu 22.04 command
2 parents c0663be + 25b6d5b commit 30321df

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/linux/quickstart-install-connect-ubuntu.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For more information on supported platforms, see [Release notes for [!INCLUDE [s
4343
> [!TIP]
4444
> This tutorial requires user input and an internet connection. If you are interested in the [unattended](sql-server-linux-setup.md#unattended) or [offline](sql-server-linux-setup.md#offline) installation procedures, see [Installation guidance for SQL Server on Linux](sql-server-linux-setup.md).
4545
46-
If you choose to have a pre-installed SQL Server VM on Ubuntu ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
46+
If you choose to have a preinstalled SQL Server VM on Ubuntu ready to run your production-based workload, then follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
4747

4848
<!--SQL Server 2019 on Linux-->
4949
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
@@ -248,16 +248,16 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
248248

249249
### [Ubuntu 22.04 (preview)](#tab/ubuntu2204)
250250

251-
1. Import the public repository GPG keys:
251+
1. Download the public key, convert from ASCII to GPG format, and write it to the required location:
252252

253253
```bash
254-
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
254+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
255255
```
256256

257-
1. Register the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Ubuntu repository:
257+
1. Manually download and register the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Ubuntu repository:
258258

259259
```bash
260-
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-preview.list)"
260+
curl -fsSL https://packages.microsoft.com/config/ubuntu/22.04/mssql-server-preview.list | sudo tee /etc/apt/sources.list.d/mssql-server-preview.list
261261
```
262262

263263
> [!TIP]
@@ -276,7 +276,7 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
276276
sudo /opt/mssql/bin/mssql-conf setup
277277
```
278278

279-
For this preview, only Evaluation edition is available, which is limited to 180 days starting Thursday, July 27th, 2023.
279+
For this preview, only Evaluation edition is available, which is limited to 180 days starting Thursday, July 27, 2023.
280280

281281
```output
282282
This is a preview version (free, no production use rights, 180-day limit starting Thu Jul 27 02:57:54 GMT 2023), continue? [Yes/No]:

0 commit comments

Comments
 (0)